Commit Graph

106 Commits

Author SHA1 Message Date
Rob Shearman
a14d34b2f6 winhttp: Fix compilation with MinGW/MSVC. 2008-10-01 11:43:19 -05:00
Hans Leidekker
ee1a4650fd winhttp: Skip notifications that may arrive out of order. 2008-09-29 17:25:47 -05:00
Hans Leidekker
5d687f40ec winhttp: Add tests for WinHttpCreateUrl. 2008-09-23 14:03:19 +02:00
Hans Leidekker
bba66c99b6 winhttp: Implement WinHttpCreateUrl. 2008-09-23 14:03:19 +02:00
Dmitry Timoshkov
24e426517e winhttp: Move common code to the upper level, avoid accessing the buffer before the buffer size check, make the code conform to existing rules. 2008-09-17 10:54:52 +02:00
Hans Leidekker
70f2f5d6a8 winhttp: Close the network connection if necessary. 2008-09-16 22:35:08 +02:00
Hans Leidekker
d943ffa6f7 winhttp: Fix logic inversion bug in setting disable flags.
Spotted by Jeremy White.
2008-09-16 13:36:42 +02:00
Hans Leidekker
4a706aae70 winhttp: Manage a session global cookie cache. 2008-09-16 13:36:38 +02:00
Hans Leidekker
4ae5741c4e winhttp: Move handling of default request parameters back to WinHttpOpenRequest.
Avoids special casing all over the place.
2008-09-16 13:36:25 +02:00
Hans Leidekker
8df906f28e winhttp: Reset content length when all data has been read. 2008-09-16 13:36:09 +02: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
10090eb252 winhttp: Strip content-type/length headers from request on a redirect. 2008-09-11 14:37:59 +02:00
Hans Leidekker
bddcb1b8bb winhttp: Preserve cookies on redirects. 2008-09-11 14:37:55 +02:00
Hans Leidekker
0451643e02 winhttp: Redirects are always GET requests. 2008-09-11 13:28:45 +02:00
Hans Leidekker
28ae1d4f0d winhttp: Handle relative redirects.
Spotted by Jeremy White.
2008-09-11 13:28:41 +02:00
Rob Shearman
cd999b20de winhttp: Add version resource. 2008-09-10 12:08:55 +02:00
Juan Lang
12c1e067c6 winhttp: Don't reference past the attribute array. Fixes Coverity item 710. 2008-09-10 11:06:57 +02:00
Hans Leidekker
3cfa9c626f winhttp: Better diagnostics in the notification test. 2008-09-10 10:40:05 +02:00
Hans Leidekker
ddbe713e6b winhttp: Increase sleep between two tests that connect to the same host. 2008-09-10 10:40:01 +02:00
Hans Leidekker
f8f9c4cb9c winhttp: Don't loop on response codes other than 301 and 302. 2008-09-10 10:39:35 +02:00
Hans Leidekker
7f28c5f87e winhttp: Make sure not to read more data than expected on a redirect.
Fixes a bug in automatic redirects with content.
2008-09-09 11:02:17 +02:00
Hans Leidekker
01e7d12848 winhttp: WinHttpQueryDataAvailable should do a blocking read if more data is expected.
Spotted by Henri Verbeet.
2008-09-09 11:02:04 +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
f3346a789e winhttp: Support asynchronous requests. 2008-09-08 12:47:21 +02:00
Hans Leidekker
a4d0abb234 winhttp: Add the remaining completion notifications. 2008-09-08 12:47:21 +02:00
Hans Leidekker
2fb746783f winhttp: Use a process global SSL context instead of per connection. 2008-09-08 12:47:21 +02:00
Hans Leidekker
520b6e8153 winhttp: The last parameter of WinHttpWriteData is optional. 2008-09-08 12:47:21 +02:00
Hans Leidekker
64a7d23565 winhttp: Implement WINHTTP_OPTION_SERVER_CERT_CONTEXT. 2008-09-08 12:47:21 +02:00
Hans Leidekker
3d8a9564cd winhttp: Start sending async completion notifications. Add corresponding tests. 2008-09-08 12:47:21 +02:00
Hans Leidekker
6ecd01b8d1 winhttp: The last parameter of WinHttpQueryDataAvailable and WinHttpReadData is optional. 2008-09-05 16:00:53 +02:00
Hans Leidekker
6fe2edb5de winhttp: Implement WinHttpQueryHeaders(WINHTTP_QUERY_RAW_HEADERS). 2008-09-05 16:00:46 +02:00
Hans Leidekker
b34e816f4a winhttp: Implement WinHttpQueryOption(WINHTTP_OPTION_SECURITY_FLAGS). 2008-09-05 16:00:40 +02:00
Hans Leidekker
e078f618eb winhttp: Implement some more options. 2008-09-04 11:14:32 +02:00
Hans Leidekker
6bb3090732 winhttp: A non-standard port must be included in the host header. 2008-09-03 14:21:44 +02:00
Hans Leidekker
04a11bb117 winhttp: Add zero value content length header to POST requests without additional data. 2008-09-03 14:21:44 +02:00
Hans Leidekker
96bf72f27e winhttp: Add status notification tests. Make them pass. 2008-09-03 14:21:44 +02:00
Hans Leidekker
a74b52cf38 winhttp: Add an initial implementation of WinHttpQueryOption and WinHttpSetOption. 2008-09-03 14:21:44 +02:00
Hans Leidekker
41a763629f winhttp: Handle redirects. 2008-09-03 14:21:44 +02:00
Hans Leidekker
8063f5cbd4 winhttp: Move handling of default request parameters into build_request_string(). 2008-09-03 14:21:44 +02:00
Hans Leidekker
9f8d4fe082 winhttp: WinHttpCrackUrl and InternetCrackUrlW use different scheme constants. 2008-09-03 14:21:44 +02:00
Hans Leidekker
20d06b2a4c winhttp: Allow reusing a secure connection. 2008-09-03 14:21:44 +02:00
Hans Leidekker
567e21e132 winhttp: Avoid testing errno when it isn't set. 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
Michael Stefaniuc
7c0d28b0da winhttp: Move the wine includes after the system includes. 2008-08-29 20:20:20 +02:00
Gerald Pfeifer
c3818f5cd9 winhttp: Include <sys/socket.h>. 2008-08-29 13:44:49 +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
0b19e8559f winhttp: Add support for secure connections. 2008-08-29 12:22:23 +02:00
Hans Leidekker
70c6a8ac62 winhttp: Implement WinHttpSetCredentials.
Only supports the basic authentication scheme.
2008-08-27 13:21:20 +02:00