Commit Graph

89 Commits

Author SHA1 Message Date
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
Hans Leidekker 3f85f4552b winhttp: Implement WinHttpQueryAuthSchemes. 2008-08-27 13:21:20 +02:00
Alexandre Julliard 220bc61c21 Include sys/filio.h to get the FIONREAD definition on Solaris. 2008-08-26 20:40:57 +02:00
Hans Leidekker 18677beb57 winhttp: Remove some unneeded includes. 2008-08-26 12:07:44 +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 d7f5467652 winhttp: Implement WinHttpQueryDataAvailable. 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
Hans Leidekker 266c4b2c04 winhttp: Add networking infrastructure. 2008-08-26 12:07:43 +02:00
Hans Leidekker ac95d77e1f winhttp: Add support for querying most of the standard header attributes. 2008-08-26 12:07:43 +02:00
Alexandre Julliard fb17ae0b83 winhttp: Add support for building on Windows. 2008-08-25 15:56:50 +02:00
Alexandre Julliard 911ce51daf winhttp: Fix WinHttpSetDefaultProxyConfiguration spec entry. 2008-08-25 15:56:41 +02:00
Alexandre Julliard 5d900bb0f6 Avoid some size_t printf format warnings. 2008-08-21 16:05:15 +02:00
Gerald Pfeifer 4169fad358 winhttp: #include <netinet/in.h> for sockaddr_in. 2008-08-21 11:43:32 +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