diff --git a/dlls/winhttp/request.c b/dlls/winhttp/request.c index 62e9c75a77a..75a229d5764 100644 --- a/dlls/winhttp/request.c +++ b/dlls/winhttp/request.c @@ -2148,6 +2148,7 @@ static void drain_content( request_t *request ) DWORD bytes_read; char buffer[2048]; + refill_buffer( request, FALSE ); for (;;) { if (!read_data( request, buffer, sizeof(buffer), &bytes_read, FALSE ) || !bytes_read) return;