Commit Graph

133 Commits

Author SHA1 Message Date
Juan Lang 3d9809b129 winhttp: Support IPv6 in netconn_resolve. 2009-07-09 12:01:16 +02:00
Juan Lang d48eade7fb winhttp: Support IPv6 addresses in open_connection. 2009-07-09 12:00:41 +02:00
Juan Lang 646b9cae80 winhttp: Convert connect_t's address type from a struct sockaddr_in to a struct sockaddr_storage. 2009-07-09 12:00:23 +02:00
Juan Lang 831c87c141 winhttp: Simplify netconn_resolve when using getaddrinfo. 2009-07-09 11:58:23 +02:00
Juan Lang cc619639d2 winhttp: Change type of netconn_resolve from struct sockaddr_in * to struct sockaddr *. 2009-07-09 11:53:16 +02:00
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