[TEST] Re: [BUG][FIX] SocketStream|next:

Luciano Notarfrancesco lnotarfrancesco at yahoo.com
Mon Jul 21 15:16:42 UTC 2003


Hi Stephane,
Here is a test case that reproduces the bug.

Luciano


Stephane Ducasse wrote:

> Hi luciano
>
> could you write a couple of tests that would cover your bug and 
> related. This is really important for the future.
>
> Stef
>
>
> On Saturday, July 19, 2003, at 11:59 PM, Luciano Notarfrancesco wrote:
>
>> Hi,
>>
>> In some cases SocketStream|next: answers fewer than the requested 
>> number of bytes. This was driving me crazy untl I found it. I agree 
>> that there should be a method like Flow's nextAvailable: (which 
>> answers at most the requested number of bytes), but I believe next: 
>> should block until the requested data has arrived or raise an exception.
>>
>> Luciano
>> <SocketStream-nextFix.cs.gz>
>
>
>


-- 
http://community.corest.com/~luciano
CCB0 B2B0 BCCB 8178 CA8B  4C08 AE9B D2F2 E9CC E897

-------------- next part --------------
A non-text attachment was scrubbed...
Name: SocketStreamTest.cs.gz
Type: application/x-tar
Size: 534 bytes
Desc: not available
Url : http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20030721/84b2bbd1/SocketStreamTest.cs.tar


More information about the Squeak-dev mailing list