Commit Graph

228 Commits

Author SHA1 Message Date
Hans Leidekker 9d9c505a27 winhttp: Implement WinHttpSetTimeouts. 2009-07-07 11:01:26 +02:00
Hans Leidekker a7b70911b3 winhttp, wininet: Load i2d_X509 from libcrypto.so. 2009-03-05 13:26:11 +01:00
Michael Stefaniuc 7dbba8c335 winhttp: Remove superfluous pointer casts. 2009-02-05 13:15:37 +01:00
Hans Leidekker c5fa3ec216 winhttp: Set last error for invalid URLs passed to WinHttpCrackUrl. 2009-01-05 16:37:40 +01:00
Alexandre Julliard 690d112182 winhttp: Use ~0u instead of ~0ul for DWORD values. 2009-01-05 12:40:34 +01:00
Alexandre Julliard 97f4bfa7ed winhttp/tests: Use ~0u instead of ~0ul for DWORD values. 2009-01-03 20:15:00 +01:00
Paul TBBle Hampson 04b8ec07a6 winhttp: Don't try and call a null callback. 2008-12-31 14:07:11 +01:00
Paul TBBle Hampson 4876375ab8 winhttp: Correctly parse specified ports in WinHttpCrackUrl. 2008-12-31 14:07:05 +01:00
Paul TBBle Hampson f093f9e8d5 winhttp/tests: Add tests for WinHttpCrackUrl port number handling. 2008-12-31 14:06:10 +01:00
Paul TBBle Hampson 83ea32ea02 winhttp: Fix resolution-failure TRACE in netconn_resolve to use input WCHAR* rather than already-freed CHAR*. 2008-12-31 13:18:52 +01:00
Austin English 87cc3e19bc winhttp: Fix a missing include for OpenBSD. 2008-12-29 11:38:36 +01:00
Alexandre Julliard dc1a9f19c1 libport: Replacement for poll(). 2008-12-22 18:00:13 +01:00
Francois Gouget a6c07ffba4 wininet & winhttp: Remove the MSG_WAITALL definition as it is not needed. 2008-12-12 11:46:50 +01:00
Hans Leidekker 0719b6ed86 winhttp: Resolve host port at the latest possible moment. 2008-12-11 14:32:18 +01:00
Hans Leidekker b527d9905c winhttp: Validate parameters per component in WinHttpCrackUrl. 2008-12-11 14:32:15 +01:00
Andrew Talbot 42a920144f winhttp: Sign-compare warning fix. 2008-12-08 22:02:56 +01:00
Hans Leidekker d3f7f5ebb6 winhttp: Prepend slash to request path if necessary. 2008-12-08 16:05:38 +01:00
Francois Gouget c1b2008d0c wininet & winhttp: Fix a pointer type mismatch warning when compiling on Windows. On Windows setsockopt() expects a char* while on Unix it accepts anything. 2008-12-08 12:05:57 +01:00
Hans Leidekker e4f7809cc9 winhttp: Prefer builtin over native. 2008-11-20 15:02:07 +01:00
Hans Leidekker 65c1e31dca winhttp: Add tests for WinHttpCrackUrl. 2008-11-18 11:53:02 +01:00
Hans Leidekker 2c850276a0 winhttp: Reimplement WinHttpCrackUrl. 2008-11-18 11:52:54 +01:00
Aric Stewart 3590a4227f winhttp: Correct another difference between InternetCrackurl and WinHttpCrackUrl. 2008-11-12 13:41:10 +01:00
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
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