Commit Graph

189 Commits

Author SHA1 Message Date
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
Hans Leidekker 4df4339f8e winhttp/tests: Trace certificate errors. 2013-06-10 19:30:47 +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
Hans Leidekker 02f2ab9437 winhttp: Implement WINHTTP_OPTION_CONNECTION_INFO. 2013-03-15 11:45: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
Hans Leidekker ec1ae3b6e6 winhttp/tests: Make sure proxy settings are restored. 2012-12-21 14:15:36 +01:00
Francois Gouget 3951cb660f winhttp/tests: Make some traces more explicit. 2012-12-14 17:37:42 +01:00
Hans Leidekker 8ca3e80ddd winhttp: Fix the error returned from WinHttpGetProxyForUrl when autodetection fails. 2012-11-01 15:42:39 +01: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
Hans Leidekker 3a204f50ae winhttp/tests: Avoid crashes on some win2k systems. 2011-12-19 20:15:50 +01:00
Hans Leidekker 768300c8aa winhttp: Implement WinHttpGetProxyForUrl. 2011-11-18 15:37:05 +01:00
Hans Leidekker f6c46dd074 winhttp: Implement WinHttpGetIEProxyConfigForCurrentUser. 2011-11-16 16:59:37 +01:00
Hans Leidekker 96f2e7139c winhttp: Implement WinHttpDetectAutoProxyConfigUrl. 2011-11-15 19:37:30 +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
Marcus Meissner 8648c13140 winhttp: Fixed sizeof calls (Coverity). 2011-10-17 17:45:02 +02:00
Hans Leidekker 3762de9d8c winhttp/tests: Initialize a variant with a known value. 2011-09-05 17:17:11 +02:00
Hans Leidekker 40bf74107f winhttp: Implement IWinHttpRequest::SetAutoLogonPolicy. 2011-08-02 11:51:05 +02:00
Hans Leidekker c54772c114 winhttp: Fix some valgrind warnings. 2011-07-29 13:32:41 +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 9237479d22 winhttp: Implement IWinHttpRequest::SetProxy. 2011-07-26 10:23:20 +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 116160f4ef winhttp: Add tests for IWinHttpRequest. 2011-07-21 15:36:39 +02:00
Austin English 3455c78042 winhttp/tests: Make sure a return value is used (LLVM/Clang). 2011-02-09 09:29:30 -06:00
Greg Geldorp 4745c567f5 winhttp/tests: Fix tests when connecting via proxy. 2011-01-17 17:33:23 +01: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
Juan Lang f3968fdf80 winhttp/tests: Skip tests when a connection fails. 2010-06-08 12:59:09 +02:00
Paul Vriens f8470fe408 winhttp/tests: Show the correct error. 2010-05-08 13:12:58 +02:00
Hans Leidekker 15daa84b28 winhttp/tests: Avoid test failures caused by broken DNS server configurations.
Reported by Stefan Dösinger.
2010-04-22 18:11:42 +02:00
Hans Leidekker 6842c7d8a8 winhttp/tests: Use the right handle type. 2010-04-22 18:11:42 +02:00
Hans Leidekker cd79874cee winhttp: Add tests for basic authentication. 2010-04-22 18:11:42 +02:00
Hans Leidekker 24e1fcc7a0 winhttp: Support setting and querying credentials on request handles. 2010-04-22 18:11:42 +02:00
Hans Leidekker b467efb5c8 winhttp: Add support for resolve timeouts. 2010-02-22 13:15:56 +01:00
Matijn Woudt 3ed5df1e3c winhttp: Implement WINHTTP_OPTION_{CONNECT, SEND, RECEIVE}_TIMEOUT. 2010-01-29 17:28:18 +01:00
Matijn Woudt d0983e9ec2 winhttp: Add timeout for session handles and implement for WinHttpSetTimeouts. 2010-01-29 17:28:03 +01:00
Matijn Woudt a09e659a37 winhttp/tests: Add timeout tests for WinHttp{Set, Query}Option. 2010-01-29 17:27:30 +01:00
Matijn Woudt 5a712037af winhttp/tests: Add tests for WinHttpSetTimeouts. 2010-01-28 12:13:27 +01:00
Marcus Meissner a01d392153 winhttp: On NULL request, skip the other tests (Coverity). 2010-01-28 11:09:10 +01:00
Hans Leidekker e4471d5f80 winhttp: Store the context passed to WinHttpSendRequest. 2010-01-25 14:05:11 +01:00
Juan Lang c02ee18869 winhttp/tests: Skip secure connection tests if the request fails. 2009-12-14 12:04:03 +01:00
Juan Lang b0f5b96efe winhttp/tests: Only free a certificate context if retrieving it succeeded. 2009-12-09 13:13:49 +01:00
Juan Lang 1becda464d winhttp: Fix test error when run as non-administrator. 2009-12-09 12:02:39 +01:00
Hans Leidekker 846cc2b157 winhttp: Implement WinHttpQueryHeaders(WINHTTP_QUERY_VERSION). 2009-10-29 13:51:20 +01:00
Hans Leidekker 39b1dbed7a winhttp: Accept empty headers parameter in WinHttpSendRequest. 2009-10-29 13:51:14 +01:00
Hans Leidekker 45b6cf8355 winhttp/tests: Free the certificate context after use.
Found by valgrind.
2009-10-21 17:05:26 +02:00
Ge van Geldorp 40446600dc winhttp/tests: Fix tests on Win7. 2009-09-11 12:08:50 +02:00
Paul Vriens 47535030cc winhttp/tests: Fix a test failure on some W2K/XP systems. 2009-07-22 14:42:49 +02:00
Juan Lang e5f4c802dc winhttp: If the default proxy settings are not found, delete the bogus ones after test. 2009-07-22 11:08:05 +02:00
Paul Vriens 4e370f74f7 winhttp: Fix a crash on Vista and higher. 2009-07-16 16:06:57 +02:00
Juan Lang 5c24a1c824 winhttp: Allow full path in addition to relative path in headers to accomodate proxy servers. 2009-07-15 14:10:43 +02:00
Juan Lang 3469a021be winhttp: Implement WinHttpSetDefaultProxyConfiguration. 2009-07-15 14:06:40 +02:00
Juan Lang 461b124015 winhttp: Add tests for WinHttpSetDefaultProxyConfiguration. 2009-07-15 14:06:32 +02:00
Alexandre Julliard 97f4bfa7ed winhttp/tests: Use ~0u instead of ~0ul for DWORD values. 2009-01-03 20:15:00 +01:00
Dmitry Timoshkov 11da0ac8a7 winhttp: Add some tests for set/query option, make them pass under Wine. 2008-09-16 13:36:06 +02:00
Hans Leidekker 6e6ffab63f winhttp: Option WINHTTP_OPTION_SERVER_CERT_CONTEXT must return a pointer. 2008-09-09 11:01:53 +02:00
Hans Leidekker 6fe2edb5de winhttp: Implement WinHttpQueryHeaders(WINHTTP_QUERY_RAW_HEADERS). 2008-09-05 16:00:46 +02:00
Hans Leidekker e078f618eb winhttp: Implement some more options. 2008-09-04 11:14:32 +02:00
Hans Leidekker 41a763629f winhttp: Handle redirects. 2008-09-03 14:21:44 +02:00
Francois Gouget ffcb02696c winhttp/tests: Add a trailing '\n' to an ok() call. 2008-09-02 13:58:37 +02:00
Francois Gouget 4823b2c7bf Assorted spelling fixes. 2008-09-02 13:58:21 +02:00
Hans Leidekker 13ba609b04 winhttp: Use default values when empty strings are passed for verb, object and version parameters. 2008-08-29 12:22:36 +02:00
Hans Leidekker f732065c4c winhttp: Test secure connections. Fix a crash when no response is returned. 2008-08-29 12:22:30 +02:00
Hans Leidekker 6619e54d1e winhttp: Implement WinHttpWriteData. 2008-08-26 12:07:43 +02:00
Hans Leidekker 728bf77c83 winhttp: Implement WinHttpReadData. 2008-08-26 12:07:43 +02:00
Hans Leidekker b170ac20dd winhttp: Implement WinHttpReceiveResponse. 2008-08-26 12:07:43 +02:00
Hans Leidekker f07f2304b0 winhttp: Implement WinHttpSendRequest. 2008-08-26 12:07:43 +02:00
Alexandre Julliard 5d900bb0f6 Avoid some size_t printf format warnings. 2008-08-21 16:05:15 +02:00
Hans Leidekker 6603ad725a winhttp: Add some tests for WinHttpAddRequestHeaders. 2008-08-20 12:53:00 +02:00
Hans Leidekker 70fb4ef523 winhttp: Use default values for verb, object and version parameters in WinHttpOpenRequest. 2008-08-20 12:52:56 +02:00
Hans Leidekker f14b6afb9c winhttp: Implement WinHttpQueryHeaders. 2008-08-20 12:52:24 +02:00
Hans Leidekker 8f1d818bf3 winhttp: Implement WinHttpAddRequestHeaders. 2008-08-20 12:52:20 +02:00
Hans Leidekker 250cac32ca winhttp: Implement WinHttpTimeFromSystemTime and WinHttpTimeToSystemTime. 2008-08-19 15:05:01 +02:00
Hans Leidekker ce00aa019f winhttp: Implement WinHttpOpenRequest. 2008-08-19 15:03:29 +02:00
Hans Leidekker 770ee20461 winhttp: Implement WinHttpConnect. 2008-08-19 15:03:19 +02:00
Hans Leidekker 405e8cda41 winhttp: Implement WinHttpOpen and WinHttpCloseHandle. 2008-08-19 15:02:53 +02:00
Zac Brown dfd9681fab winhttp: Add test for adding/querying headers. 2008-08-19 14:57:39 +02:00
Zac Brown 525037d758 winhttp: Add test for WinHttpTimeToSystemTime. 2008-08-19 14:57:01 +02:00
Zac Brown 5706b84513 winhttp: Add test for WinHttpTimeFromSystemTime. 2008-08-19 14:56:37 +02:00
Zac Brown 8ead556648 winhttp/tests: Add test for sending request. 2008-08-01 12:22:06 +02:00
Zac Brown b2be840e47 winhttp/tests: Add test for opening request. 2008-07-18 12:48:47 +02:00