Commit Graph

191 Commits

Author SHA1 Message Date
Juan Lang b0f5b96efe winhttp/tests: Only free a certificate context if retrieving it succeeded. 2009-12-09 13:13:49 +01:00
Juan Lang 1becda464d winhttp: Fix test error when run as non-administrator. 2009-12-09 12:02:39 +01:00
Marcus Meissner 298051ab37 winhttp: Check for endCert being NULL (Coverity). 2009-12-08 12:37:10 +01:00
Francois Gouget 0b9a4ae341 winhttp: Fix compilation on systems that don't support nameless unions. 2009-12-07 14:18:24 +01:00
Juan Lang a5facc9bda winhttp: Use sk_ functions rather than accessing an OpenSSL stack type directly. 2009-12-07 09:49:07 +01:00
Huw Davies 24b437942e winhttp: Load X509_STORE_CTX_get_ex_data from libcrypto not libssl. 2009-12-07 09:49:07 +01:00
Juan Lang 82d07c4051 winhttp: Check the certificate in an https connection using the crypto api. 2009-12-04 12:04:59 +01:00
Juan Lang 48a7580135 winhttp: Set callback to verify hostname with peer's certificate. 2009-12-04 12:03:55 +01:00
Juan Lang be8f2ae98e winhttp: Store hostname for secure connection in its SSL context. 2009-12-04 12:03:47 +01:00
Juan Lang a33c4bfd0b winhttp: Pass hostname to netconn_secure_connect. 2009-12-04 12:02:50 +01:00
Hans Leidekker 846cc2b157 winhttp: Implement WinHttpQueryHeaders(WINHTTP_QUERY_VERSION). 2009-10-29 13:51:20 +01:00
Hans Leidekker 39b1dbed7a winhttp: Accept empty headers parameter in WinHttpSendRequest. 2009-10-29 13:51:14 +01:00
Hans Leidekker 629fd8fcbc winhttp: Clean up locks after closing libssl and libcrypto.
SSL_CTX_free() triggers a call to the locking callback.
Found by valgrind.
2009-10-27 10:53:28 +01:00
Hans Leidekker 253d2c17d6 winhttp: Implement HTTP_OPTION_PARENT_HANDLE for connection handles. 2009-10-26 11:20:18 +01:00
Hans Leidekker ec0a0b372e winhttp: Fix two memory leaks.
Found by valgrind.
2009-10-21 17:05:38 +02:00
Hans Leidekker 45b6cf8355 winhttp/tests: Free the certificate context after use.
Found by valgrind.
2009-10-21 17:05:26 +02:00
Hans Leidekker 6732d5dfd7 winhttp: Correct SSL lock size and make sure we free as many as we allocated.
Found by valgrind.
2009-10-21 17:04:42 +02:00
Hans Leidekker 7c59b46890 winhttp: Fix a memory leak.
Found by valgrind.
2009-10-21 17:04:36 +02:00
Juan Lang 2f09686f6b winhttp: Set callbacks needed by OpenSSL for multithreaded use. 2009-10-08 12:03:07 +02:00
Juan Lang d7d8a0eec4 winhttp: Unload OpenSSL when unloading winhttp. 2009-10-05 13:23:17 +02:00
Juan Lang 349e825080 winhttp: Protect OpenSSL initialization with critical section. 2009-10-05 13:23:09 +02:00
Juan Lang 016d7c3c0a winhttp: Move initialization of SSL_CTX to library initialization time. 2009-10-05 13:22:59 +02:00
Michael Stefaniuc 59be8e519f winhttp: 'http1_1' is already defined in the private header. 2009-10-02 11:49:27 +02:00
Ge van Geldorp 40446600dc winhttp/tests: Fix tests on Win7. 2009-09-11 12:08:50 +02:00
Juan Lang 1dc145d05f winhttp: Add a fixme for WINHTTP_OPTION_SECURITY_FLAGS. 2009-09-09 12:07:36 +02:00
Hans Leidekker 6cde75646a winhttp: Make tests pass on Win7. Conform to the more recent behavior. 2009-09-08 12:12:22 +02:00
Alexandre Julliard f07ac99d9e winhttp/tests: Use the global wine_dbgstr_w instead of a local variant. 2009-08-19 13:37:09 +02:00
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