Commit Graph

148 Commits

Author SHA1 Message Date
Hans Leidekker 0b366dca3c winhttp: Verify the async parameter type in IWinHttpRequest::Open. 2014-09-15 16:41:10 +02:00
Nikolay Sivov 8fb0fd77e5 winhttp: Fix return code check (PVS-Studio). 2014-08-18 12:46:19 +02:00
Jacek Caban d2886a05f9 wine/debug.h: Added debugstr_variant and debugstr_vt aliases and removed all duplicated implementations. 2014-07-24 17:05:55 +02:00
Hans Leidekker 6494c50ad7 winhttp: Fix a couple of memory leaks (valgrind). 2014-05-13 13:47:11 +02:00
Marcus Meissner 0fe44e1be6 winhttp: Avoid leaking authinfo on error (Coverity). 2014-04-17 10:45:11 +02:00
Dmitry Timoshkov f8d79c83b4 winhttp: Remove unused IUnknown *outer parameter from object constructor. 2014-01-07 15:22:24 +01:00
Frédéric Delanoy 57d7f74d34 Assorted spelling fixes. 2013-11-21 19:44:46 +01:00
Jacek Caban e894c897d5 winhttp: Moved netconn_query_data_available calls to query_data_available. 2013-11-15 19:23:24 +01:00
Jacek Caban 92426b5136 winhttp: Use netconn_query_data_available in get_available_data when possible. 2013-11-01 11:03:29 +01:00
Andrew Eikum 04f0426fe6 winhttp: Attempt to refill empty buffer before answering QueryDataAvailable. 2013-10-17 20:29:40 +02:00
Hans Leidekker 59b0374710 winhttp: Don't assume that end of chunk means end of stream. 2013-09-23 11:56:38 +02:00
Hans Leidekker 050a46f30f winhttp: Fix the base64 decoder. 2013-09-04 21:36:55 +02:00
Hans Leidekker fe678927dd winhttp: Fix invalid parameter handling in WinHttpQueryAuthSchemes. 2013-08-19 19:04:23 +02:00
Hans Leidekker 78fc21cdb5 winhttp: Allow setting NULL username and password for NTLM, Passport and Negotiate. 2013-08-19 19:04:17 +02:00
Marcus Meissner 85f3fe735d winhttp: Initialize schemes (Coverity). 2013-06-12 15:52:36 +02:00
Hans Leidekker 93637828b4 winhttp: Fix a memory leak.
Reported by Marcus Meissner.
2013-05-13 16:48:49 +02:00
Hans Leidekker 52ef52e085 winhttp: Get rid of the flags parameter to netconn_send. 2013-05-01 16:01:02 +02:00
Hans Leidekker a506d0aa3b winhttp: Add support for NTLM and Negotiate authentication. 2013-04-30 11:50:40 +02:00
Hans Leidekker d63ef4d855 winhttp: Resend any request data when handling an authentication or redirect response. 2013-04-30 11:50:31 +02:00
Hans Leidekker 7a69d4dbfe winhttp: Reset the content read counter. 2013-04-30 11:50:28 +02:00
Hans Leidekker bb3097f01e winhttp: Add a read-ahead buffer to allow WinHttpQueryDataAvailable to return the right values in chunked mode.
This is a port of wininet commit 3d02c42b39.
2013-03-25 16:27:34 +01:00
Andrew Talbot a9983e6cd2 winhttp: Avoid signed-unsigned integer comparisons. 2013-03-06 11:42:56 +01:00
Hans Leidekker 71874a38aa winhttp: Make sure to clear response headers from a previous request. 2013-03-05 12:45:05 +01:00
Hans Leidekker 418d2ce523 winhttp: Implement WINHTTP_OPTION_REDIRECT_POLICY_DISALLOW_HTTPS_TO_HTTP. 2013-03-05 12:45:00 +01:00
Hans Leidekker e56cb72cd3 winhttp: Add a helper to retrieve the redirect URL. 2013-03-05 12:44:54 +01:00
Hans Leidekker 58e7d39c7f winhttp: Use symbolic constants for HTTP status codes. 2013-03-05 12:44:51 +01:00
Jacek Caban 42750e340e winhttp: Removed no longer used netconn_init argument. 2013-02-21 19:16:32 +01:00
Hans Leidekker 10cb483cf1 winhttp: Add a missing goto in winhttp_request_get_Status. 2012-12-19 14:38:58 +01:00
Andrew Talbot 4be1fce0d1 winhttp: Remove unused variables. 2012-11-23 14:41:07 +01:00
Hans Leidekker d488081214 winhttp: Respect the redirect policy setting. 2012-10-22 11:44:37 +02:00
Heiko Hund 1ba968821a winhttp: Make strings in WINHTTP_PROXY_INFO non-const. 2012-07-19 16:01:18 +02:00
Hans Leidekker 189c1ca5d9 winhttp: Fix up headers with wrong termination. 2012-03-12 16:37:21 +01:00
Jan-Peter Nilsson 3de7348f72 winhttp: Set the context on the request handle earlier. 2012-02-20 11:49:02 +01:00
Hans Leidekker ebc4fd1462 winhttp: Don't attempt to read data after receiving a response to a HEAD request. 2012-01-27 18:05:48 +01:00
Hans Leidekker 07ed66f8ec winhttp: Also close the connection when there's nothing to read. 2012-01-27 18:05:47 +01:00
Hans Leidekker afd3685779 winhttp: Only turn POST requests into GET requests when redirecting. 2012-01-27 18:05:47 +01:00
Hans Leidekker 053d1731fe winhttp: Remove some dead assignments (clang). 2011-12-09 21:15:27 +01:00
Hans Leidekker 7d8730f8c5 winhttp: Resolve the server name only on the first request. 2011-11-25 16:22:02 +01:00
Marcus Meissner e410f3fc66 winhttp: Added missing LeaveCriticalSection (Coverity). 2011-11-24 17:17:11 +01:00
Hans Leidekker 2621e98d04 winhttp: Clean up properly in request_send. 2011-11-16 16:59:27 +01:00
Francois Gouget ea93b27c34 winhttp: Give a name to the critical sections. 2011-11-14 20:15:22 +01:00
Hans Leidekker 3c9d356bc4 winhttp: Convert string data to UTF-8 and add a corresponding content type header. 2011-11-14 13:10:18 +01:00
Hans Leidekker 5d64254986 winhttp: Use a separate function to set request parameters. 2011-11-09 15:57:27 +01:00
Hans Leidekker 82965248d1 winhttp: Fix sending data with synchronous requests. 2011-11-09 15:57:24 +01:00
Hans Leidekker d5a98e5d85 winhttp: Fix some memory leaks. 2011-09-05 17:17:20 +02:00
Hans Leidekker 82f7651005 winhttp: Properly test a boolean variant. 2011-09-05 17:17:07 +02:00
Hans Leidekker 1d0397d151 winhttp: Support setting the WinHttpRequestOption_EnableRedirects option. 2011-08-24 12:14:47 +02:00
Hans Leidekker cfe4c56624 winhttp: Verify parameter types in IWinHttpRequest::SetProxy. 2011-08-02 11:51:05 +02:00
Hans Leidekker 40bf74107f winhttp: Implement IWinHttpRequest::SetAutoLogonPolicy. 2011-08-02 11:51:05 +02:00
Hans Leidekker e5b8c497ef winhttp: Execute asynchronous requests in a separate thread. 2011-08-02 11:51:01 +02:00