Commit Graph

671 Commits

Author SHA1 Message Date
Hans Leidekker 1def0982f1 winhttp: Always clear last error on success. 2015-08-03 20:50:33 +02:00
Huw Davies 1709635f29 winhttp: Implement WINHTTP_OPTION_UNLOAD_NOTIFY_EVENT. 2015-07-22 10:33:39 +02:00
Huw Davies 50d9d187c5 winhttp: Don't wait for the task thread to exit.
Instead, have the task thread call the destructor before it exits.
Previously, if the task thread held the final reference, it would call
request_destroy which would then wait for itself to finish.
2015-07-21 17:38:13 +02:00
Huw Davies 65319e811b winhttp: Fix a reference leak. 2015-07-21 16:37:58 +02:00
Hans Leidekker b9557e9227 winhttp: Store cookies in reverse order.
This matches more recent versions of Windows.
2015-06-24 22:56:46 +09:00
Hans Leidekker 3c5cb7f8dc winhttp: Perform a case sensitive match on cookie names. 2015-06-24 22:56:34 +09:00
Hans Leidekker 7e121e4871 winhttp: Coalesce cookie headers. 2015-06-24 22:56:32 +09:00
Hans Leidekker 2516fb7807 winhttp: Fix a couple of corner cases in header processing. 2015-06-24 22:56:29 +09:00
Hans Leidekker 9e96beefae winhttp: Fix handling of the headers length parameter in WinHttpAddRequestHeaders and WinHttpSendRequest. 2015-06-17 22:37:06 +09:00
Hans Leidekker d9d8e6f031 winhttp/tests: Fix a test failure on win2k. 2015-06-17 22:37:04 +09:00
Hans Leidekker b22ace7f7b winhttp: Keep the session open in the request object.
Cookies have session scope in winhttp and they are not saved, so we
need to keep the session open to ensure that cookies are passed along
with subsequent requests.
2015-06-16 16:48:35 +09:00
Hans Leidekker 9736644ed5 winhttp: Correctly handle relative redirect paths. 2015-06-16 16:48:33 +09:00
Hans Leidekker 41cf9a8372 winhttp: Improve parsing of cookie values. 2015-06-16 16:48:30 +09:00
Hans Leidekker 3b8a8d31dc winhttp: Store credentials set with WinHttpSetCredentials separately from username and password set through options. 2015-06-15 14:45:51 +09:00
Hans Leidekker 1c5e704af6 winhttp: Fix a memory leak (valgrind). 2015-04-21 22:21:43 +09:00
Hans Leidekker d36f8d52cf winhttp: Initialize some variables (valgrind). 2015-04-21 22:21:40 +09:00
Michael Stefaniuc df97a0e85d winhttp/tests: Test the correct return code. 2015-03-30 19:10:30 +09:00
Hans Leidekker e27a9bc6bc winhttp: Don't try to read more data than available in the current chunk in refill_buffer. 2015-03-17 00:19:53 +09:00
Alexandre Julliard 0d7613fc98 winhttp: Remove const to fix a warning with the Microsoft headers. 2015-03-17 00:19:37 +09:00
Hans Leidekker 5505413a81 winhttp: Implement IWinHttpRequest::get_ResponseStream. 2015-02-16 23:28:34 +09:00
Hans Leidekker 6f046e0f51 winhttp: Return an error from winhttp_request_get_ResponseBody if the request is not sent. 2015-02-16 23:28:27 +09:00
Hans Leidekker d6c9c984e5 winhttp: Implement a task queue for asynchronous requests.
This ensures that asynchronous calls are completed in the right order.
2015-02-16 23:28:22 +09:00
Hans Leidekker 27ba8c8343 winhttp: Don't try to read data after a HEAD request. 2015-01-21 18:08:07 +01:00
Hans Leidekker 142ac82490 winhttp/tests: Keep the connection alive in a couple of tests. 2015-01-21 15:31:21 +01:00
Nikolay Sivov e606551c21 winhttp: Release typeinfos and typelib on dll unload. 2015-01-14 13:18:59 +01:00
Nikolay Sivov 3816e44da1 winhttp: Fix typeinfo refcount in GetTypeInfo(). 2015-01-14 13:18:54 +01:00
Hans Leidekker 823c037c9f winhttp/tests: Use a wait event instead of an unconditional sleep in the server thread. 2015-01-05 20:15:05 +01:00
Hans Leidekker bb89483397 winhttp/tests: Close the connection immediately after authentication. 2014-12-09 13:17:08 +01:00
Hans Leidekker 2087a9fbe9 winhttp: Don't try to read data when the server response is HTTP_STATUS_NO_CONTENT or HTTP_STATUS_NOT_MODIFIED.
Tests based on a patch by Bruno Jesus.
2014-12-09 13:17:03 +01:00
Hans Leidekker 97cd0291b0 winhttp: Check the return value of send_request. 2014-12-09 13:16:55 +01:00
Hans Leidekker cd7806b223 winhttp: Double the size of the internal read buffer. 2014-12-09 13:16:52 +01:00
Hans Leidekker 2b6dacfdbe winhttp: Don't report data pending in the socket.
Some installers make assumptions about the size of the internal buffer. We could
exceed that size when there's enough data pending in the socket.
2014-12-09 13:16:43 +01:00
Hans Leidekker 647abcafb6 winhttp: Convert the async parameter to VT_BOOL if necessary in IWinHttpRequest::Open. 2014-12-09 13:16:36 +01:00
Hans Leidekker 4ac817b6c0 winhttp: Fill the read buffer first in drain_content. 2014-12-09 13:16:32 +01:00
Hans Leidekker 1eb86e1fca winhttp: Enable automatic authentication by default in the request object. 2014-12-09 13:16:28 +01:00
Hans Leidekker 0d50168570 winhttp/tests: Handle more potential connection failures. 2014-12-09 13:16:24 +01:00
André Hentschel 20cec93919 winhttp/tests: Remove unused string (Clang). 2014-12-05 20:48:09 +01:00
André Hentschel 19fe621dfd winhttp/tests: Fix typo. 2014-10-15 11:36:34 +09:00
André Hentschel 6e4d52a752 winhttp/tests: Fix potential crash on BSD. 2014-10-07 20:22:14 +02:00
Hans Leidekker 0b366dca3c winhttp: Verify the async parameter type in IWinHttpRequest::Open. 2014-09-15 16:41:10 +02:00
Hans Leidekker e52bbd581d winhttp/tests: Avoid test failures caused by connection errors. 2014-09-01 21:10:13 +02:00
Nikolay Sivov 8fb0fd77e5 winhttp: Fix return code check (PVS-Studio). 2014-08-18 12:46:19 +02:00
Bruno Jesus 1697eb6ee2 winhttp/tests: Add a no-content header test. 2014-07-30 11:50:05 -05:00
Gerald Pfeifer 25bf35243e winhttp: Remove unused constant proxymsg. 2014-07-28 17:22:05 -05:00
Alexandre Julliard 97d8ae9e7e winhttp/tests: Include winsock2.h before other headers. 2014-07-24 20:10:33 +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
Bruno Jesus 53f8d78e57 winhttp: Use a helper to receive data and take care of EINTR. 2014-06-17 10:36:39 +02:00
Bruno Jesus 6db935a6f4 winhttp: Use a helper to send data and take care of EINTR. 2014-06-17 10:36:03 +02:00
Hans Leidekker 069df69900 winhttp: Only set the scheme if we have a valid URL. 2014-05-24 11:00:39 +09:00
Hans Leidekker 465f85e89d winhttp: Ignore URL components if the buffer length is zero. 2014-05-24 11:00:28 +09:00
Hans Leidekker fafbb34f1f winhttp/tests: Mark some test results on Windows 8 as broken. 2014-05-24 11:00:16 +09:00
Hans Leidekker 9a25a59dc2 winhttp: Fix build on Mac OS X 10.5.8. 2014-05-19 11:33:26 +02:00
Hans Leidekker 50c710bd91 winhttp: Add support for retrieving the proxy automatic configuration URL on Mac OS X. 2014-05-15 19:04:45 +02:00
Hans Leidekker 5522256328 winhttp: Reimplement WinHttpGetProxyForUrl on top of jsproxy. 2014-05-15 19:04:44 +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
Nikolay Sivov 2c880e5271 winhttp: Use proper deallocator (Coverity). 2014-04-14 20:19:02 +02:00
Nikolay Sivov e3a94656f2 winhttp: Move allocation after input validation to fix leaks (Coverity). 2014-03-25 10:56:50 +01:00
Austin English 9665d5a409 winhttp: Skip tests on broken ISPs. 2014-03-24 11:40:51 +01:00
Hans Leidekker 25eb10058c winhttp/tests: Improve tracing. 2014-02-11 19:19:13 +01:00
Hans Leidekker 50feb7b708 winhttp/tests: Fix a couple of test failures. 2014-02-11 19:19:13 +01:00
Hans Leidekker 97505a7475 winhttp/tests: Move the remaining tests to test.winehq.org. 2014-02-05 15:53:58 +01:00
Hans Leidekker 5b409fb0d4 winhttp/tests: Move the status notification tests to test.winehq.org. 2014-02-05 15:53:56 +01:00
Alexandre Julliard cf0e96c6d0 configure: Rename substituted variables to a standard _CFLAGS and _LIBS format. 2014-01-30 14:51:33 +01:00
Hans Leidekker 21ff413413 winhttp/tests: Only advance to the next notification test if the function is ok. 2014-01-29 14:50:49 +01:00
Hans Leidekker 513372f044 winhttp/tests: Ignore some missing notifications. 2014-01-29 14:50:48 +01:00
Hans Leidekker 0e9f46d074 winhttp/tests: Fix a test that fails on Windows. 2014-01-28 19:38:40 +01:00
Dmitry Timoshkov f8d79c83b4 winhttp: Remove unused IUnknown *outer parameter from object constructor. 2014-01-07 15:22:24 +01:00
Alexandre Julliard 99ef0d6ff0 makefiles: Get rid of the MAKE_TEST_RULES variable. 2014-01-02 12:13:16 +01:00
Alexandre Julliard 5e7416e5c8 makefiles: Get rid of the MAKE_DLL_RULES variable. 2014-01-02 12:08:18 +01:00
Alexandre Julliard d08ff3ff19 makefiles: Use a single variable for all types of idl files. 2013-12-31 18:15:17 +01:00
Frédéric Delanoy e7f8e9e81d winhttp/tests: Constify a character string. 2013-12-31 12:25:01 +01:00
Alexandre Julliard 566d3418af makedep: Add a separate pragma flag for typelibs that need registration. 2013-12-26 13:32:49 +01:00
Frédéric Delanoy 4bb0d0eac9 winhttp/tests: Use BOOL type where appropriate. 2013-11-27 10:54:17 +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
Alexandre Julliard f8421142e7 makefiles: Add makedep pragmas for typelib idl files. 2013-11-05 20:38:18 +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
Francois Gouget cd5d1e54e7 winhttp/tests: Fix the test failure messages.
Don't claim the API failed when it succeeded, and show the unexpected data.
2013-11-01 10:57:15 +01:00
Andrew Eikum 04f0426fe6 winhttp: Attempt to refill empty buffer before answering QueryDataAvailable. 2013-10-17 20:29:40 +02:00
Hans Leidekker ceeff119a2 winhttp/tests: Compile with -D__WINESRC__. 2013-10-14 17:26:15 +02:00
Hans Leidekker 8946346f51 winhttp: Fix a test failure on Windows 8 and conform to the more recent behavior. 2013-10-14 17:26:15 +02:00
Michael Stefaniuc 0e681027a2 tests: Compile the tests by default with -D__WINESRC__. 2013-10-02 11:04:02 +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 bee390e1ef winhttp/tests: Remove explicit zero-intialization of static data. 2013-09-23 11:56:29 +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
Hans Leidekker d285629cf4 winhttp/tests: Add some tests for WinHttpDetectAutoProxyConfigUrl. 2013-06-25 18:12:11 +02:00
Hans Leidekker 50febc4888 winhttp/tests: Test query schemes. 2013-06-12 15:52:53 +02:00
Marcus Meissner 85f3fe735d winhttp: Initialize schemes (Coverity). 2013-06-12 15:52:36 +02:00
Hans Leidekker 4df4339f8e winhttp/tests: Trace certificate errors. 2013-06-10 19:30:47 +02:00
Alexandre Julliard 7ad43e4e88 winhttp: Don't bother to clean up at process exit. 2013-05-17 12:29:08 +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
Jacek Caban 816f7ef595 winhttp: Improved error handling in netconn_secure_connect. 2013-04-02 12:47:27 +02:00
Francois Gouget fbe7ab5c5a winhttp: netconn_get_next_line() is not used anymore so remove it. 2013-03-26 17:41:46 +01:00
Hans Leidekker a55e3d4f57 winhttp: Remove support for MSG_PEEK. 2013-03-25 16:27:38 +01: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
Hans Leidekker 02f2ab9437 winhttp: Implement WINHTTP_OPTION_CONNECTION_INFO. 2013-03-15 11:45:09 +01:00
Hans Leidekker 9e019c9b4b winhttp: Make the first parameter of resolve_hostname const. 2013-03-07 14:56:38 +01:00
Alexandre Julliard 847a29375c winhttp: Always pass a ULONG variable to ioctlsocket. 2013-03-06 14:09:57 +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
Jacek Caban 3fd046b460 winhttp: Get cert store directly from cert in netconn_verify_cert. 2013-02-20 13:17:31 +01:00
Jacek Caban 5b38dac7ac winhttp: Use schannel for HTTPS connection by defaul and get rid of OpenSSL dependency. 2013-01-23 23:41:27 +01:00
Jacek Caban 90124e084f winhttp: Added schannel-based netconn_get_cipher_strength implementation. 2013-01-23 23:41:24 +01:00
Jacek Caban d15265db28 winhttp: Added schannel-based netconn_get_certificate implementation. 2013-01-23 23:41:21 +01:00
Jacek Caban a3e15549d6 winhttp: Added schannel-based netconn_send implementation. 2013-01-23 23:41:18 +01:00
Jacek Caban db22753a05 winhttp: Added schannel-based netconn_recv implementation. 2013-01-23 23:41:15 +01:00
Jacek Caban de0d75312b winhttp: Use schannel in netconn_secure_connect if OpenSSL is not available. 2013-01-23 23:41:12 +01:00
Jacek Caban 25de5d7a55 winhttp: Enable more OpenSSL-independent code when OpenSSL is not available. 2013-01-23 23:41:09 +01:00
Jacek Caban 0ebbd991c1 winhttp: Test that the data is really read in test_secure_connection. 2013-01-23 20:47:29 +01:00
Hans Leidekker 8d0551b98d winhttp/tests: Accept another error from WinHttpGetProxyForUrl. 2013-01-02 13:15:18 +01:00
Marcus Meissner ab6369231f winhttp: Do not free name too early (Coverity). 2012-12-28 11:25:58 +01:00
Hans Leidekker ec1ae3b6e6 winhttp/tests: Make sure proxy settings are restored. 2012-12-21 14:15:36 +01:00
Hans Leidekker 10cb483cf1 winhttp: Add a missing goto in winhttp_request_get_Status. 2012-12-19 14:38:58 +01:00
Hans Leidekker 4788c214e2 winhttp/tests: Fix test failures on Windows 8. 2012-12-19 14:38:58 +01:00
Hans Leidekker 1611123267 winhttp: Use the hostname instead of the IPv4 address in the URL returned from WinHttpDetectAutoProxyConfigUrl. 2012-12-18 12:37:34 +01:00
Hans Leidekker e6ab87ccfa winhttp: Check the server response when downloading a PAC script. 2012-12-18 12:37:28 +01:00
Francois Gouget 3951cb660f winhttp/tests: Make some traces more explicit. 2012-12-14 17:37:42 +01:00
Andrew Talbot 4be1fce0d1 winhttp: Remove unused variables. 2012-11-23 14:41:07 +01:00
Detlef Riekenberg 8a3211af4c winhttp: Accept WINHTTP_OPTION_CONFIGURE_PASSPORT_AUTH as session option. 2012-11-05 11:36:38 +01:00
Hans Leidekker 8ca3e80ddd winhttp: Fix the error returned from WinHttpGetProxyForUrl when autodetection fails. 2012-11-01 15:42:39 +01:00
Hans Leidekker d488081214 winhttp: Respect the redirect policy setting. 2012-10-22 11:44:37 +02:00
Hans Leidekker b59efd66e8 winhttp: Pass the redirect policy setting down to request objects. 2012-10-22 11:44:34 +02:00
Jacek Caban e679471885 Always define WIDL_C_INLINE_WRAPPERS. 2012-08-28 14:41:13 +02:00
Hans Leidekker 8f108a0f4d winhttp: Use platform-specific versions of IActiveScriptParse methods. 2012-07-27 17:05:34 +02:00
Heiko Hund 1ba968821a winhttp: Make strings in WINHTTP_PROXY_INFO non-const. 2012-07-19 16:01:18 +02:00
Jaime Rave 37431c5b88 winhttp: Show discovery via DHCP not supported just one time. 2012-07-02 10:55:07 +02:00
Michael Stefaniuc 6542c708ed winhttp/tests: Remove wrong check for 'len'. 2012-05-21 11:34:39 +02:00
Francois Gouget fac36c55e9 Assorted typo, spelling, wording and case fixes. 2012-05-15 16:26:43 +02:00
Jacek Caban f69445adeb winhttp: Trace accept types in WinHttpOpenRequest. 2012-04-23 17:53:27 +02:00
Jacek Caban 8b64a2f13c winhttp: Use SSL_pending in netconn_query_data_available. 2012-04-19 13:57:35 +02:00
Jacek Caban 9a82f6a812 winhttp: Fixed netconn_recv when read uses both SSL_recv and buffered data. 2012-04-19 13:57:33 +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 f37b94e69a winhttp: Download PAC scripts in a separate session. 2012-01-20 13:32:27 +01:00
Hans Leidekker 3a204f50ae winhttp/tests: Avoid crashes on some win2k systems. 2011-12-19 20:15:50 +01:00
Hans Leidekker 053d1731fe winhttp: Remove some dead assignments (clang). 2011-12-09 21:15:27 +01:00
Hans Leidekker e950e89867 winhttp: Avoid a null pointer dereference (clang). 2011-12-09 21:15:26 +01:00
Hans Leidekker 5683433f9c winhttp: Double the handle table size on reallocation. 2011-12-01 14:18:02 +01:00
Hans Leidekker 9a5ad30225 winhttp: Support ICU_ESCAPE in WinHttpCrackUrl. 2011-12-01 14:17:58 +01:00
Hans Leidekker 9a2f3cb98a winhttp: Consistently use the allocation macros. 2011-12-01 14:17:51 +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 ad5340f63a winhttp: Check return value of CLSIDFromProgID (Coverity). 2011-11-24 17:17:23 +01:00
Marcus Meissner e410f3fc66 winhttp: Added missing LeaveCriticalSection (Coverity). 2011-11-24 17:17:11 +01:00
Hans Leidekker 9990f6c4a5 winhttp: Make the standard utilities available to PAC scripts. 2011-11-21 13:44:39 +01:00
Hans Leidekker b81b3d1af5 winhttp: Fix a memory leak in run_script. 2011-11-21 13:43:05 +01:00
Hans Leidekker 654b0eeaea winhttp: Reverse the order of arguments passed to Invoke. 2011-11-21 13:42:59 +01:00
Hans Leidekker 768300c8aa winhttp: Implement WinHttpGetProxyForUrl. 2011-11-18 15:37:05 +01:00
Francois Gouget 57c123365a winhttp: Delete the static critical sections when unloading the dll. 2011-11-17 11:38:25 +01:00
Hans Leidekker f6c46dd074 winhttp: Implement WinHttpGetIEProxyConfigForCurrentUser. 2011-11-16 16:59:37 +01:00
Hans Leidekker 2621e98d04 winhttp: Clean up properly in request_send. 2011-11-16 16:59:27 +01:00
Hans Leidekker dcf1a81d8c winhttp: Accept a missing buffer when parsing a decoded URL. 2011-11-15 19:37:30 +01:00
Hans Leidekker 96f2e7139c winhttp: Implement WinHttpDetectAutoProxyConfigUrl. 2011-11-15 19:37:30 +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
Marcus Meissner 8648c13140 winhttp: Fixed sizeof calls (Coverity). 2011-10-17 17:45:02 +02:00
Hans Leidekker d5a98e5d85 winhttp: Fix some memory leaks. 2011-09-05 17:17:20 +02:00
Hans Leidekker 3762de9d8c winhttp/tests: Initialize a variant with a known value. 2011-09-05 17:17:11 +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 9432b8e796 winhttp: Don't depend on shlwapi for decoding a URL. 2011-08-05 15:26:12 +02:00
Alexandre Julliard b56dc9a6f7 winecrt0: Remove the clsid parameter in __wine_(un)register_resources. 2011-08-02 20:47:49 +02:00
Alexandre Julliard c091a3fc83 makefiles: Remove some redundant registration scripts. 2011-08-02 20:47:48 +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
Hans Leidekker 916e3c1cc4 winhttp: Protect access to the request object with a critical section. 2011-08-02 11:41:52 +02:00
Alexandre Julliard 729afa6adc makefiles: Generate resource files for typelibs. 2011-08-02 10:11:10 +02:00
Hans Leidekker 87487c14c7 winhttp: Store a copy of the proxy server name and bypass list. 2011-07-29 13:32:53 +02:00
Hans Leidekker 36014639ea winhttp: Factor out request initialization. 2011-07-29 13:32:49 +02:00
Hans Leidekker fb7fc894f0 winhttp: Set an appropriate error when the request is cancelled. 2011-07-29 13:32:45 +02:00
Hans Leidekker c54772c114 winhttp: Fix some valgrind warnings. 2011-07-29 13:32:41 +02:00
Hans Leidekker 7939090fde winhttp: Disable automatic authentication. 2011-07-28 11:31:34 +02:00
Hans Leidekker ae05ce459f winhttp: Don't send any data if the verb is GET. 2011-07-27 11:54:53 +02:00
Hans Leidekker 2295c63796 winhttp: Include the extra info part of the URL in the request. 2011-07-27 11:54:45 +02:00
Hans Leidekker 6191469bc2 winhttp: Add support for sending data with a request. 2011-07-26 10:24:14 +02:00
Hans Leidekker 114bc2b856 winhttp: Implement IWinHttpRequest::SetRequestHeader. 2011-07-26 10:24:10 +02:00
Hans Leidekker 2c8765e7fb winhttp: Implement IWinHttpRequest::GetResponseHeader. 2011-07-26 10:24:05 +02:00
Hans Leidekker 3638908039 winhttp: Add some parameter checks. 2011-07-26 10:23:59 +02:00
Hans Leidekker ca9ab005fc winhttp: Implement IWinHttpRequest::GetAllResponseHeaders. 2011-07-26 10:23:41 +02:00
Hans Leidekker 80d17a79ff winhttp: Set WINHTTP_FLAG_SECURE if the scheme is https. 2011-07-26 10:23:35 +02:00
Hans Leidekker 7227c29a09 winhttp: Add a default user agent header. 2011-07-26 10:23:31 +02:00
Hans Leidekker 050058c5bf winhttp: Add accept types to the request headers. 2011-07-26 10:23:26 +02:00
Hans Leidekker 9237479d22 winhttp: Implement IWinHttpRequest::SetProxy. 2011-07-26 10:23:20 +02:00
Hans Leidekker 4184590579 winhttp: Propagate errors from asynchronous requests. 2011-07-24 12:34:05 +02:00
Hans Leidekker 694d43a910 winhttp: Set last error if the server didn't return a valid response. 2011-07-24 12:33:59 +02:00
Hans Leidekker b218ed1a69 winhttp: Implement IWinHttpRequest::SetCredentials. 2011-07-24 12:33:54 +02:00
Hans Leidekker a25c865cb8 winhttp: Implement IWinHttpRequest::get_ResponseBody. 2011-07-24 12:33:49 +02:00
Hans Leidekker 73646d3529 winhttp: Use an offset instead of a pointer for the write position. 2011-07-24 12:33:39 +02:00
Hans Leidekker 116160f4ef winhttp: Add tests for IWinHttpRequest. 2011-07-21 15:36:39 +02:00
Hans Leidekker f4c2317adc winhttp: Implement IWinHttpRequest::Abort. 2011-07-21 15:36:39 +02:00
Hans Leidekker 52d134b364 winhttp: Implement IWinHttpRequest::get_ResponseText. 2011-07-21 15:36:39 +02:00
Hans Leidekker 39468db2d6 winhttp: Implement IWinHttpRequest::get_StatusText. 2011-07-21 15:36:39 +02:00
Hans Leidekker e11828d2d0 winhttp: Implement IWinHttpRequest::get_Status. 2011-07-21 15:36:39 +02:00
Hans Leidekker 5c79f82ae5 winhttp: Implement IWinHttpRequest::WaitForResponse. 2011-07-21 15:36:39 +02:00
Hans Leidekker d66a0b748b winhttp: Implement IWinHttpRequest::SetTimeouts. 2011-07-21 15:36:39 +02:00
Hans Leidekker 2e33485c6f winhttp: Implement IWinHttpRequest::Send. 2011-07-21 15:36:39 +02:00
Hans Leidekker 4aeec1b88d winhttp: Implement IWinHttpRequest::Open. 2011-07-21 15:36:38 +02:00
Hans Leidekker 0daac59a35 winhttp: Implement IDispatch for WinHttpRequest. 2011-07-19 14:04:58 +02:00
Hans Leidekker e688167c73 winhttp: Register interfaces and add a typelib resource. 2011-07-08 17:34:48 +02:00
Hans Leidekker d25abc358a winhttp: Add a class factory implementation. 2011-07-08 17:34:48 +02:00
Hans Leidekker fd7538d38c winhttp: Add a stub implementation of IWinHttpRequest. 2011-07-08 17:34:48 +02:00
Frédéric Delanoy 007d14972c winhttp: Remove dead assignment (Clang). 2011-07-06 11:27:22 +02:00
Jerome Leclanche 66b075a0c9 winhttp: Fix a warning when compiling --without-openssl. 2011-06-20 19:32:02 +02:00
Hans Leidekker b7df063fde winhttp: Don't change the verb if the server response is HTTP_STATUS_REDIRECT_KEEP_VERB. 2011-06-01 15:16:44 +02:00
Karsten Elfenbein 5f12a6423c winhttp: Follow 307 temporary redirect. 2011-05-09 11:44:30 +02:00
Marcus Meissner 974326bfac winhttp: Mark internal symbols as hidden. 2011-04-29 14:21:41 +02:00
Alexandre Julliard 84f2960e5b winhttp: Use an accessor function instead of directly accessing the X509_STORE_CTX structure. 2011-04-20 16:28:31 +02:00
André Hentschel 1c7d45c093 winhttp: Port numbers are unsigned (more). 2011-03-29 12:34:26 +02:00
André Hentschel 1bf001cf0b winhttp: Port numbers are unsigned. 2011-03-28 17:26:12 +02:00
Austin English 3455c78042 winhttp/tests: Make sure a return value is used (LLVM/Clang). 2011-02-09 09:29:30 -06:00
Hans Leidekker 1549088da0 winhttp/tests: Test a return value (clang). 2011-01-27 16:31:49 +01:00
Greg Geldorp f213cdbc4e winhttp/tests: No reconnect on redirect when using proxy. 2011-01-20 14:21:28 +01:00
Greg Geldorp 4745c567f5 winhttp/tests: Fix tests when connecting via proxy. 2011-01-17 17:33:23 +01:00
Juan Lang 55aae25d35 winhttp: Verify revocation status of certificate chain. 2010-11-16 11:44:08 +01:00
Andrew Nguyen ccc2f5abae winhttp: Fix misleading OpenSSL version number check. 2010-10-25 14:33:20 +02:00
Andrew Nguyen 0c7bd62df2 winhttp: Fix const qualifier warning for OpenSSL 1.0.0. 2010-10-25 14:33:10 +02:00
Juan Lang 938767cae3 winhttp: Let CertVerifyCertificateChainPolicy handle certain security flags. 2010-10-04 11:04:04 +02:00
Juan Lang daa9d700de winhttp: Set cipher strength bits when querying WINHTTP_OPTION_SECURITY_FLAGS. 2010-10-01 13:43:08 +02:00
Juan Lang 4127062a3e winhttp: Support querying the cipher strength of an SSL connection. 2010-10-01 13:43:04 +02:00
Juan Lang 302dd345fe winhttp: Return signature algorithm name in WINHTTP_CERTIFICATE_INFO. 2010-10-01 13:42:58 +02:00
Juan Lang b4851a8e4a winhttp: More completely implement querying WINHTTP_OPTION_SECURITY_FLAGS. 2010-10-01 13:42:53 +02:00
Juan Lang ee2e9cc339 winhttp: Verify SSL policy of chains whose errors were ignored. 2010-10-01 13:42:49 +02:00
Juan Lang 756c171659 winhttp: Honor more SECURITY_FLAG_IGNORE flags. 2010-10-01 13:42:45 +02:00
Juan Lang 5566d424f1 winhttp: Don't make use of OpenSSL's security checks, as crypt32 also verifies certificate chain. 2010-10-01 13:42:40 +02:00
Juan Lang 10ef345307 winhttp: Remove unused function pointer. 2010-10-01 13:42:34 +02:00
Alexandre Julliard 81b8ee863e makefiles: Add a standard header for all makefiles to replace the common variable initializations. 2010-09-19 12:36:48 +02:00
Alexandre Julliard 93208196c8 winhttp: Make WinHttpQueryHeaders behave the same way for all query types.
Based on a patch by Mikko Rasa.
2010-08-20 16:08:58 +02:00
Uwe Bonnes 53391a3445 wininet: Add const qualifier after openssl version check. 2010-08-02 17:39:20 +02:00
Hans Leidekker 5fc17a2800 winhttp: Handle errors from SSL_read. 2010-07-22 12:52:39 +02:00
Hans Leidekker be37038090 winhttp: Add a partial implementation of WINHTTP_OPTION_SECURITY_CERTIFICATE_STRUCT. 2010-07-22 12:52:36 +02:00
Alexandre Julliard b86d515ed6 dlls: Remove explicit imports of kernel32 and ntdll. 2010-07-21 17:38:36 +02:00
Juan Lang f3968fdf80 winhttp/tests: Skip tests when a connection fails. 2010-06-08 12:59:09 +02:00
Juan Lang b659dee999 winhttp: Honor security flags when verifying a certificate. 2010-05-18 08:48:35 +02:00
Juan Lang 2a569a9e89 winhttp: Store a pointer to the netconn_t in the SSL context. 2010-05-18 08:48:29 +02:00