[PATCH 1/6] wininet: Make sure that we have data buffered before sending INTERNET_STATUS_REQUEST_COMPLETE notification.

Jacek Caban jacek at codeweavers.com
Mon Jan 12 17:19:56 CST 2009

Hans Leidekker wrote:
> On Monday 12 January 2009 18:19:54 Jacek Caban wrote:
>> +static void HTTP_ReceiveRequest(WININETHTTPREQW *req)
>> +{
>> +    BYTE buffer[4048];
> I think HTTP_ReceiveRequestData would be a better name for this function.
Right, I've resent a new patch.

> And I guess this is also a good opportunity to round that buffer size up
> to the nearest power of two.

It won't change much, we don't wait for whole data, so, in my tests, 
recv returns after reading 1448 bytes. It's similar to Windows, where I 
get 1460 bytes.


More information about the wine-devel mailing list