wininet: Reset buffer size before each call to HTTP_HttpQueryInfoW.
Otherwise when headers contain multiple entries like
WWW-Authenticate: Negotiate
WWW-Authenticate: Basic realm="SAMPLE.COM"
then 2nd query fails because buffer size is shorter than the header value.
Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
Showing
Please
register
or
sign in
to comment