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

Hans Leidekker hans at codeweavers.com
Mon Jan 12 12:48:02 CST 2009


On Monday 12 January 2009 18:19:54 Jacek Caban wrote:

> +static void HTTP_ReceiveRequest(WININETHTTPREQW *req)
> +{
> +    INTERNET_ASYNC_RESULT iar;
> +    BYTE buffer[4048];

I think HTTP_ReceiveRequestData would be a better name for this function. 
And I guess this is also a good opportunity to round that buffer size up
to the nearest power of two.

 -Hans



More information about the wine-devel mailing list