Commit Graph

164 Commits

Author SHA1 Message Date
Gerald Pfeifer 8c189d78ee winhttp: Include <sys/socket.h> from winhttp_private.h. Remove now redundant inclusion from request.c. 2009-08-03 14:56:22 +02:00
Juan Lang 2b99adc2f1 winhttp: Only output fixme for unhandled resolve timeout. 2009-07-24 11:09:51 +02:00
Juan Lang 68039dcaff winhttp: Implement connect timeout. 2009-07-24 11:09:46 +02:00
Alexandre Julliard af77e9b388 winhttp: Avoid casting away const. 2009-07-22 14:48:09 +02:00
Marcus Meissner ee59879da0 winhttp: Check for NULL return from heap_alloc (Coverity). 2009-07-22 14:42:49 +02:00
Paul Vriens 47535030cc winhttp/tests: Fix a test failure on some W2K/XP systems. 2009-07-22 14:42:49 +02:00
Juan Lang 336ee2861d winhttp: Remove no-longer-used #defines. 2009-07-22 12:04:53 +02:00
Juan Lang 1229aa723a winhttp: Remove calls to SSL_CTX_set_timeout, as they affect the session's lifetime, not the read timeout. 2009-07-22 12:04:46 +02:00
Juan Lang 2418e82810 winhttp: Use connection's timeout rather than default timeout when reading a line. 2009-07-22 12:04:37 +02:00
Juan Lang 80100334f1 winhttp: Set a socket's timeouts when it's created. 2009-07-22 12:04:15 +02:00
Juan Lang 64d69b55f9 winhttp: Store send and receive timeouts in request_t, and only set them in a netconn_t if it's connected. 2009-07-22 12:04:09 +02:00
Juan Lang e5f4c802dc winhttp: If the default proxy settings are not found, delete the bogus ones after test. 2009-07-22 11:08:05 +02:00
Juan Lang 09ee823399 winhttp: Check environment if the registry settings are present but bogus. 2009-07-22 11:07:49 +02:00
Juan Lang 68fdc5cb2e winhttp: Strip scheme from http_proxy environment variable. 2009-07-22 11:07:35 +02:00
Juan Lang 2b460a6c5a winhttp: Fix crash when proxy bypass is unset. 2009-07-22 11:07:21 +02:00
Paul Vriens 4e370f74f7 winhttp: Fix a crash on Vista and higher. 2009-07-16 16:06:57 +02:00
Juan Lang 235c6c1e1e winhttp: Use the correct address length when connecting. 2009-07-16 11:08:06 +02:00
Juan Lang a4a3953b2f winhttp: Fix a comment typo. 2009-07-16 11:08:02 +02:00
Juan Lang bd7a2e70b0 winhttp: Issue CONNECT command to connect to a secure server through a proxy server. 2009-07-15 14:11:06 +02:00
Juan Lang c2ba725196 winhttp: Don't set port number to a default before scheme is known. 2009-07-15 14:10:50 +02:00
Juan Lang 5c24a1c824 winhttp: Allow full path in addition to relative path in headers to accomodate proxy servers. 2009-07-15 14:10:43 +02:00
Juan Lang 31545206fb winhttp: Use proxy server when redirecting. 2009-07-15 14:10:35 +02:00
Juan Lang de12987d7f winhttp: Use a helper function to set connect_t's servername and port. 2009-07-15 14:10:26 +02:00
Juan Lang 85579ebb4c winhttp: Connect to the proxy port rather than the host port. 2009-07-15 14:10:13 +02:00
Juan Lang 6fad52bd14 winhttp: When connecting via a proxy include full hostname and scheme in path. 2009-07-15 14:10:04 +02:00
Juan Lang 0080a7f8a2 winhttp: Set connect_t's servername and port based on proxy settings. 2009-07-15 14:09:55 +02:00
Juan Lang 5575957657 winhttp: Honor WINHTTP_ACCESS_TYPE_DEFAULT_PROXY in WinHttpOpen. 2009-07-15 14:09:39 +02:00
Juan Lang 51e54a8b75 winhttp: Support getting the default proxy settings from the http_proxy environment variable. 2009-07-15 14:09:29 +02:00
Juan Lang fd9aa244d3 winhttp: Implement WinHttpGetDefaultProxyConfiguration. 2009-07-15 14:06:53 +02:00
Juan Lang 3469a021be winhttp: Implement WinHttpSetDefaultProxyConfiguration. 2009-07-15 14:06:40 +02:00
Juan Lang 461b124015 winhttp: Add tests for WinHttpSetDefaultProxyConfiguration. 2009-07-15 14:06:32 +02:00
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