Commit Graph

243 Commits

Author SHA1 Message Date
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
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
Hans Leidekker 8f1d818bf3 winhttp: Implement WinHttpAddRequestHeaders. 2008-08-20 12:52:20 +02:00
Hans Leidekker fcb0e3a9d1 winhttp: Add a stub implementation for WinHttpSetTimeouts. 2008-08-20 12:52:16 +02:00
Hans Leidekker 6b9f60da79 winhttp: Deliver status notifications to the application. 2008-08-20 12:52:11 +02:00
Hans Leidekker 250cac32ca winhttp: Implement WinHttpTimeFromSystemTime and WinHttpTimeToSystemTime. 2008-08-19 15:05:01 +02:00
Hans Leidekker 877d6c95c6 winhttp: Forward WinHttpCrackUrl and WinHttpCreateUrl to wininet for the time being. 2008-08-19 15:04:53 +02:00
Hans Leidekker 587162c3b6 winhttp: Add stub implementations for WinHttpGetDefaultProxyConfiguration, WinHttpGetProxyForUrl and WinHttpSetDefaultProxyConfiguration. 2008-08-19 15:03:45 +02:00
Hans Leidekker a3d9df7d4d winhttp: Implement WinHttpSetStatusCallback. Start sending notifications. 2008-08-19 15:03:37 +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
Hans Leidekker d5c0ccf93a winhttp: Add a handle management implementation. 2008-08-19 15:02:29 +02:00
Zac Brown dfd9681fab winhttp: Add test for adding/querying headers. 2008-08-19 14:57:39 +02:00
Zac Brown db0b7beffa winhttp: Add stub implementation for WinHttpAddRequestHeaders. 2008-08-19 14:57:23 +02:00
Zac Brown 9dd04bfc32 winhttp: Add stub implementation for WinHttpQueryHeaders. 2008-08-19 14:57:11 +02:00
Zac Brown 525037d758 winhttp: Add test for WinHttpTimeToSystemTime. 2008-08-19 14:57:01 +02:00
Zac Brown 59397fab02 winhttp: Add stub implementation for WinHttpTimeToSystemTime. 2008-08-19 14:56:52 +02:00
Zac Brown 5706b84513 winhttp: Add test for WinHttpTimeFromSystemTime. 2008-08-19 14:56:37 +02:00
Zac Brown 6858aa4a0f winhttp: Add stub implementation for WinHttpTimeFromSystemTime. 2008-08-19 14:56:20 +02:00
Zac Brown 8ead556648 winhttp/tests: Add test for sending request. 2008-08-01 12:22:06 +02:00
Zac Brown deb49f6f83 winhttp: Add stub implementation for WinHttpWriteData. 2008-07-29 13:54:40 +02:00
Zac Brown b2be840e47 winhttp/tests: Add test for opening request. 2008-07-18 12:48:47 +02:00
Zac Brown 9575564af8 winhttp: Add stub implementation for WinHttpCloseHandle. 2008-07-08 12:29:37 +02:00
Zac Brown 058c23f77d winhttp: Add stub implementation for WinHttpReadData. 2008-07-08 12:29:30 +02:00
Zac Brown cb5908fcb7 winhttp: Add stub implementation for WinHttpSetOption. 2008-07-08 12:29:24 +02:00
Zac Brown 000fe7058d winhttp: Add stub implementation for WinHttpReceiveResponse. 2008-07-08 12:28:55 +02:00
Zac Brown 2d8698918f winhttp: Add stub implementation for WinHttpQueryDataAvailable. 2008-07-08 12:28:42 +02:00
Zac Brown 7a39e23db6 winhttp: Add stub implementation for WinHttpQueryOption. 2008-07-08 12:28:33 +02:00
Zac Brown f094b4332d winhttp: Add stub implementation for WinHttpSendRequest. 2008-07-04 19:42:42 +02:00
Zac Brown ae1e79d43e winhttp: Add stub implementation for WinHttpOpenRequest and fix function declaration. 2008-07-04 19:38:15 +02:00
Zac Brown ca627f5b7d winhttp: Add stub implementation for WinHttpConnect. 2008-07-04 19:37:52 +02:00
Zachary Brown 927335ef15 winhttp: Build an import library. 2008-06-30 14:59:59 +02:00
Hans Leidekker 3e3ce1fa5e winhttp: Add a stub implementation of WinHttpDetectAutoProxyConfigUrl. 2008-03-06 12:45:00 +01:00
Rob Shearman 1ff2bdbd65 winhttp: Add a stub for WinHttpOpen. 2008-01-14 15:31:37 +01:00
Alexandre Julliard 97675b1365 Include objbase.h where need to get the DllRegisterServer prototype. 2007-11-06 14:39:16 +01:00
Peter Oberndorfer 715edc1633 winhttp: Add WinHttpGetIEProxyConfigForCurrentUser stub. 2007-09-27 12:49:10 +02:00
Francois Gouget 5b3d0b8878 winhttp: Add a skeleton winhttp.h and use it. 2007-08-30 17:02:48 +02:00
Maarten Lankhorst 2c5767e2c6 winhttp: Add stub for WinHttpCheckPlatform. 2007-08-27 12:02:31 +02:00
Paul Vriens 2aaafbb9e8 winhttp: Fix compile/install issue. 2007-07-31 15:59:55 +02:00
Jacek Caban 21572967db winhttp: Added winhttp.dll. 2007-07-31 13:36:31 +02:00