Commit Graph

165 Commits

Author SHA1 Message Date
Michael Müller d2890778f9 winhttp: Raw request headers need to be terminated with double \r\n. 2015-08-18 17:30:48 +09:00
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
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 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 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 5505413a81 winhttp: Implement IWinHttpRequest::get_ResponseStream. 2015-02-16 23:28:34 +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
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 647abcafb6 winhttp: Convert the async parameter to VT_BOOL if necessary in IWinHttpRequest::Open. 2014-12-09 13:16:36 +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
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
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
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
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
Alexandre Julliard 99ef0d6ff0 makefiles: Get rid of the MAKE_TEST_RULES variable. 2014-01-02 12:13:16 +01:00
Frédéric Delanoy e7f8e9e81d winhttp/tests: Constify a character string. 2013-12-31 12:25:01 +01:00
Frédéric Delanoy 4bb0d0eac9 winhttp/tests: Use BOOL type where appropriate. 2013-11-27 10:54:17 +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 bee390e1ef winhttp/tests: Remove explicit zero-intialization of static data. 2013-09-23 11:56:29 +02:00
Hans Leidekker fe678927dd winhttp: Fix invalid parameter handling in WinHttpQueryAuthSchemes. 2013-08-19 19:04:23 +02:00