Commit Graph

337 Commits

Author SHA1 Message Date
Hans Leidekker 36014639ea winhttp: Factor out request initialization. 2011-07-29 13:32:49 +02:00
Hans Leidekker fb7fc894f0 winhttp: Set an appropriate error when the request is cancelled. 2011-07-29 13:32:45 +02:00
Hans Leidekker c54772c114 winhttp: Fix some valgrind warnings. 2011-07-29 13:32:41 +02:00
Hans Leidekker 7939090fde winhttp: Disable automatic authentication. 2011-07-28 11:31:34 +02:00
Hans Leidekker ae05ce459f winhttp: Don't send any data if the verb is GET. 2011-07-27 11:54:53 +02:00
Hans Leidekker 2295c63796 winhttp: Include the extra info part of the URL in the request. 2011-07-27 11:54:45 +02:00
Hans Leidekker 6191469bc2 winhttp: Add support for sending data with a request. 2011-07-26 10:24:14 +02:00
Hans Leidekker 114bc2b856 winhttp: Implement IWinHttpRequest::SetRequestHeader. 2011-07-26 10:24:10 +02:00
Hans Leidekker 2c8765e7fb winhttp: Implement IWinHttpRequest::GetResponseHeader. 2011-07-26 10:24:05 +02:00
Hans Leidekker 3638908039 winhttp: Add some parameter checks. 2011-07-26 10:23:59 +02:00
Hans Leidekker ca9ab005fc winhttp: Implement IWinHttpRequest::GetAllResponseHeaders. 2011-07-26 10:23:41 +02:00
Hans Leidekker 80d17a79ff winhttp: Set WINHTTP_FLAG_SECURE if the scheme is https. 2011-07-26 10:23:35 +02:00
Hans Leidekker 7227c29a09 winhttp: Add a default user agent header. 2011-07-26 10:23:31 +02:00
Hans Leidekker 050058c5bf winhttp: Add accept types to the request headers. 2011-07-26 10:23:26 +02:00
Hans Leidekker 9237479d22 winhttp: Implement IWinHttpRequest::SetProxy. 2011-07-26 10:23:20 +02:00
Hans Leidekker 4184590579 winhttp: Propagate errors from asynchronous requests. 2011-07-24 12:34:05 +02:00
Hans Leidekker 694d43a910 winhttp: Set last error if the server didn't return a valid response. 2011-07-24 12:33:59 +02:00
Hans Leidekker b218ed1a69 winhttp: Implement IWinHttpRequest::SetCredentials. 2011-07-24 12:33:54 +02:00
Hans Leidekker a25c865cb8 winhttp: Implement IWinHttpRequest::get_ResponseBody. 2011-07-24 12:33:49 +02:00
Hans Leidekker 73646d3529 winhttp: Use an offset instead of a pointer for the write position. 2011-07-24 12:33:39 +02:00
Hans Leidekker 116160f4ef winhttp: Add tests for IWinHttpRequest. 2011-07-21 15:36:39 +02:00
Hans Leidekker f4c2317adc winhttp: Implement IWinHttpRequest::Abort. 2011-07-21 15:36:39 +02:00
Hans Leidekker 52d134b364 winhttp: Implement IWinHttpRequest::get_ResponseText. 2011-07-21 15:36:39 +02:00
Hans Leidekker 39468db2d6 winhttp: Implement IWinHttpRequest::get_StatusText. 2011-07-21 15:36:39 +02:00
Hans Leidekker e11828d2d0 winhttp: Implement IWinHttpRequest::get_Status. 2011-07-21 15:36:39 +02:00
Hans Leidekker 5c79f82ae5 winhttp: Implement IWinHttpRequest::WaitForResponse. 2011-07-21 15:36:39 +02:00
Hans Leidekker d66a0b748b winhttp: Implement IWinHttpRequest::SetTimeouts. 2011-07-21 15:36:39 +02:00
Hans Leidekker 2e33485c6f winhttp: Implement IWinHttpRequest::Send. 2011-07-21 15:36:39 +02:00
Hans Leidekker 4aeec1b88d winhttp: Implement IWinHttpRequest::Open. 2011-07-21 15:36:38 +02:00
Hans Leidekker 0daac59a35 winhttp: Implement IDispatch for WinHttpRequest. 2011-07-19 14:04:58 +02:00
Hans Leidekker e688167c73 winhttp: Register interfaces and add a typelib resource. 2011-07-08 17:34:48 +02:00
Hans Leidekker d25abc358a winhttp: Add a class factory implementation. 2011-07-08 17:34:48 +02:00
Hans Leidekker fd7538d38c winhttp: Add a stub implementation of IWinHttpRequest. 2011-07-08 17:34:48 +02:00
Frédéric Delanoy 007d14972c winhttp: Remove dead assignment (Clang). 2011-07-06 11:27:22 +02:00
Jerome Leclanche 66b075a0c9 winhttp: Fix a warning when compiling --without-openssl. 2011-06-20 19:32:02 +02:00
Hans Leidekker b7df063fde winhttp: Don't change the verb if the server response is HTTP_STATUS_REDIRECT_KEEP_VERB. 2011-06-01 15:16:44 +02:00
Karsten Elfenbein 5f12a6423c winhttp: Follow 307 temporary redirect. 2011-05-09 11:44:30 +02:00
Marcus Meissner 974326bfac winhttp: Mark internal symbols as hidden. 2011-04-29 14:21:41 +02:00
Alexandre Julliard 84f2960e5b winhttp: Use an accessor function instead of directly accessing the X509_STORE_CTX structure. 2011-04-20 16:28:31 +02:00
André Hentschel 1c7d45c093 winhttp: Port numbers are unsigned (more). 2011-03-29 12:34:26 +02:00
André Hentschel 1bf001cf0b winhttp: Port numbers are unsigned. 2011-03-28 17:26:12 +02:00
Austin English 3455c78042 winhttp/tests: Make sure a return value is used (LLVM/Clang). 2011-02-09 09:29:30 -06:00
Hans Leidekker 1549088da0 winhttp/tests: Test a return value (clang). 2011-01-27 16:31:49 +01:00
Greg Geldorp f213cdbc4e winhttp/tests: No reconnect on redirect when using proxy. 2011-01-20 14:21:28 +01:00
Greg Geldorp 4745c567f5 winhttp/tests: Fix tests when connecting via proxy. 2011-01-17 17:33:23 +01:00
Juan Lang 55aae25d35 winhttp: Verify revocation status of certificate chain. 2010-11-16 11:44:08 +01:00
Andrew Nguyen ccc2f5abae winhttp: Fix misleading OpenSSL version number check. 2010-10-25 14:33:20 +02:00
Andrew Nguyen 0c7bd62df2 winhttp: Fix const qualifier warning for OpenSSL 1.0.0. 2010-10-25 14:33:10 +02:00
Juan Lang 938767cae3 winhttp: Let CertVerifyCertificateChainPolicy handle certain security flags. 2010-10-04 11:04:04 +02:00
Juan Lang daa9d700de winhttp: Set cipher strength bits when querying WINHTTP_OPTION_SECURITY_FLAGS. 2010-10-01 13:43:08 +02:00
Juan Lang 4127062a3e winhttp: Support querying the cipher strength of an SSL connection. 2010-10-01 13:43:04 +02:00
Juan Lang 302dd345fe winhttp: Return signature algorithm name in WINHTTP_CERTIFICATE_INFO. 2010-10-01 13:42:58 +02:00
Juan Lang b4851a8e4a winhttp: More completely implement querying WINHTTP_OPTION_SECURITY_FLAGS. 2010-10-01 13:42:53 +02:00
Juan Lang ee2e9cc339 winhttp: Verify SSL policy of chains whose errors were ignored. 2010-10-01 13:42:49 +02:00
Juan Lang 756c171659 winhttp: Honor more SECURITY_FLAG_IGNORE flags. 2010-10-01 13:42:45 +02:00
Juan Lang 5566d424f1 winhttp: Don't make use of OpenSSL's security checks, as crypt32 also verifies certificate chain. 2010-10-01 13:42:40 +02:00
Juan Lang 10ef345307 winhttp: Remove unused function pointer. 2010-10-01 13:42:34 +02:00
Alexandre Julliard 81b8ee863e makefiles: Add a standard header for all makefiles to replace the common variable initializations. 2010-09-19 12:36:48 +02:00
Alexandre Julliard 93208196c8 winhttp: Make WinHttpQueryHeaders behave the same way for all query types.
Based on a patch by Mikko Rasa.
2010-08-20 16:08:58 +02:00
Uwe Bonnes 53391a3445 wininet: Add const qualifier after openssl version check. 2010-08-02 17:39:20 +02:00
Hans Leidekker 5fc17a2800 winhttp: Handle errors from SSL_read. 2010-07-22 12:52:39 +02:00
Hans Leidekker be37038090 winhttp: Add a partial implementation of WINHTTP_OPTION_SECURITY_CERTIFICATE_STRUCT. 2010-07-22 12:52:36 +02:00
Alexandre Julliard b86d515ed6 dlls: Remove explicit imports of kernel32 and ntdll. 2010-07-21 17:38:36 +02:00
Juan Lang f3968fdf80 winhttp/tests: Skip tests when a connection fails. 2010-06-08 12:59:09 +02:00
Juan Lang b659dee999 winhttp: Honor security flags when verifying a certificate. 2010-05-18 08:48:35 +02:00
Juan Lang 2a569a9e89 winhttp: Store a pointer to the netconn_t in the SSL context. 2010-05-18 08:48:29 +02:00
Juan Lang 7c7d00a12f winhttp: Store security flags in netconn_t. 2010-05-18 08:48:21 +02:00
Michael Stefaniuc eb558c4403 winhttp: Remove redundant "not 0" test of argument len. 2010-05-17 12:42:33 +02:00
Michael Stefaniuc 8e8f743cb0 winhttp: Remove redundant "not NULL" check for the "server" arg. 2010-05-17 12:42:33 +02:00
Hans Leidekker 41e147e68f winhttp: Support setting security flags on request handles. 2010-05-14 18:03:03 +02:00
Paul Vriens f8470fe408 winhttp/tests: Show the correct error. 2010-05-08 13:12:58 +02:00
Hans Leidekker 15daa84b28 winhttp/tests: Avoid test failures caused by broken DNS server configurations.
Reported by Stefan Dösinger.
2010-04-22 18:11:42 +02:00
Hans Leidekker 6842c7d8a8 winhttp/tests: Use the right handle type. 2010-04-22 18:11:42 +02:00
Hans Leidekker cd79874cee winhttp: Add tests for basic authentication. 2010-04-22 18:11:42 +02:00
Hans Leidekker f4dff734d4 winhttp: Add support for basic authentication. 2010-04-22 18:11:42 +02:00
Hans Leidekker 24e1fcc7a0 winhttp: Support setting and querying credentials on request handles. 2010-04-22 18:11:42 +02:00
Maciej Borsz 2ca477c831 winhttp: Fix invalid behaviour of WinHttpCrackUrl. 2010-03-17 10:59:59 +01:00
Alexandre Julliard bef5645eb1 makefiles: Remove the no longer needed explicit separators for dependencies. 2010-03-16 13:28:19 +01:00
Hans Leidekker bcc4040dcf winhttp: Implement WINHTTP_QUERY_STATUS_TEXT. 2010-03-05 13:14:50 +01:00
Hans Leidekker b467efb5c8 winhttp: Add support for resolve timeouts. 2010-02-22 13:15:56 +01:00
Alexandre Julliard 6164ce2d82 makefiles: Use the standard C_SRCS variable as the list of test files.
This enables it to be auto-updated by make_makefiles.
2010-02-22 10:47:11 +01:00
Hans Leidekker 33e522eec6 winhttp/tests: Wait for a handle closing notification.
Fixes a Valgrind warning.
2010-02-17 10:57:53 +01:00
Matijn Woudt 3ed5df1e3c winhttp: Implement WINHTTP_OPTION_{CONNECT, SEND, RECEIVE}_TIMEOUT. 2010-01-29 17:28:18 +01:00
Matijn Woudt d0983e9ec2 winhttp: Add timeout for session handles and implement for WinHttpSetTimeouts. 2010-01-29 17:28:03 +01:00
Matijn Woudt a09e659a37 winhttp/tests: Add timeout tests for WinHttp{Set, Query}Option. 2010-01-29 17:27:30 +01:00
Matijn Woudt 5a712037af winhttp/tests: Add tests for WinHttpSetTimeouts. 2010-01-28 12:13:27 +01:00
Marcus Meissner a01d392153 winhttp: On NULL request, skip the other tests (Coverity). 2010-01-28 11:09:10 +01:00
Hans Leidekker e4471d5f80 winhttp: Store the context passed to WinHttpSendRequest. 2010-01-25 14:05:11 +01:00
Hans Leidekker 4b5f14f5f4 winhttp: Adjust connect timeout to the value observed on Windows. 2010-01-25 13:02:45 +01:00
Reece Dunn a2c41b72f8 Don't generate FIXME warnings for DllCanUnloadNow. 2010-01-06 10:59:51 +01:00
Alexandre Julliard 07062b0340 winhttp: Fix pointer cast warnings on 64-bit. 2009-12-24 12:15:40 +01:00
Juan Lang 888d1a2323 winhttp: Set error and fail if a secure connections certificate couldn't be verified. 2009-12-15 11:44:39 +01:00
Juan Lang 1308c4287f winhttp: Return error directly from netconn_verify_cert. 2009-12-15 11:44:28 +01:00
Juan Lang c02ee18869 winhttp/tests: Skip secure connection tests if the request fails. 2009-12-14 12:04:03 +01:00
Juan Lang 72025026db winhttp: Don't call a function whose result is never used. 2009-12-14 12:04:03 +01:00
Juan Lang 9352509eb2 winhttp: Free OpenSSL error strings at unload. 2009-12-11 17:47:30 +01:00
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