Commit Graph

1178 Commits

Author SHA1 Message Date
Jacek Caban 78b2cedaa6 wininet: Make sure to not read over chunk end in read_gzip_data. 2009-12-17 12:53:23 +01:00
Juan Lang 09246aa1a7 wininet: Set error and fail if a secure connection's certificate couldn't be verified. 2009-12-16 12:20:26 +01:00
Juan Lang bd5c5953f3 wininet: Return error directly from netconn_verify_cert. 2009-12-16 12:20:21 +01:00
Jacek Caban 9823c23927 wininet: Directly return error status from HTTP_HttpQueryInfoW. 2009-12-14 12:07:52 +01:00
Juan Lang 03fe473ad7 wininet: Check the certificate in an https connection using the crypto api. 2009-12-14 12:06:04 +01:00
Juan Lang 6217326a09 wininet: Set callback to verify hostname with peer's certificate. 2009-12-14 12:05:52 +01:00
Juan Lang 880133d248 wininet: Store hostname for secure connection in its SSL context. 2009-12-14 12:05:45 +01:00
Juan Lang 1350e9d1c0 wininet: Free OpenSSL error strings at unload. 2009-12-14 12:05:37 +01:00
Juan Lang 33e68268a4 wininet: Don't unnecessarily convert hostname to ANSI to check it. 2009-12-14 12:05:31 +01:00
Jacek Caban 5b76702e84 wininet: Set lpszUrlPath in InternetCrackUrlW if its length is 0. 2009-12-10 11:55:58 +01:00
Jacek Caban d153344eaa wininet: Make InternetCrackUrlA tests more generic and add more tests. 2009-12-10 11:55:52 +01:00
Jacek Caban 5e8e358a71 wininet: lpszUrlPath should be NULL for URLs in file:///... format. 2009-12-10 11:55:33 +01:00
Jacek Caban 2d1c4e6928 wininet: Correctly handle dwContentRead for gzip encoded requests. 2009-12-09 13:13:53 +01:00
Juan Lang 66b4ad208d wininet: Fix an apparent typo. 2009-12-09 12:02:30 +01:00
Juan Lang 3cd54553f3 wininet: Trace more parameters to HTTP_GetCustomHeaderIndex. 2009-12-09 12:02:26 +01:00
Hans Leidekker bf58fdd197 wininet/tests: Mark behavior of IE5 as broken for some ftp tests. 2009-12-08 12:37:20 +01:00
Hans Leidekker 4a22c88b37 wininet: Cleanup any existing cache file before creating a new one.
Otherwise we leak the file name and handle when a request is sent again.
Found by Valgrind.
2009-12-07 14:18:29 +01:00
Hans Leidekker e018a5e25b wininet: Add a test for status callbacks on ftp connections. 2009-12-04 14:42:44 +01:00
Hans Leidekker 5f08249831 wininet: Fix some status callbacks to return a string instead of a sockaddr structure.
Spotted by Juan Lang.
2009-12-04 14:42:37 +01:00
Francois Gouget f3b738f63c wininet: Make FTP_FtpOpenFileW() static. 2009-12-04 14:34:58 +01:00
Juan Lang b967fde0a8 wininet: Correct length of data passed to callback when resolving a name. 2009-12-04 14:34:57 +01:00
Jacek Caban a9ecdc6024 wininet: Directly return error status from HTTP_HandleRedirect. 2009-12-03 15:27:22 +01:00
Jacek Caban 741b6611fb wininet: Directly return error status fro HTTP_HttpEndRequest. 2009-12-03 15:27:14 +01:00
Jacek Caban c952e81a89 wininet: Directly return error from HTTP_HttpSendRequest. 2009-12-03 15:27:08 +01:00
Jacek Caban 903d9c460d wininet: Remove a few more INTERNET_SetLastError calls. 2009-12-03 15:27:02 +01:00
Michael Stefaniuc b8a087d6a8 wininet: Free the mem unconditionally to prevent a potential leak (Smatch). 2009-12-03 10:21:48 +01:00
Hans Leidekker be86c2976b wininet: Implement InternetQueryOption(INTERNET_OPTION_DATAFILE_NAME) for ftp file objects. 2009-12-02 12:12:39 +01:00
Hans Leidekker 6f6ee2e712 wininet: Also cache files transferred over ftp. 2009-12-02 12:12:33 +01:00
Hans Leidekker c4d12bde2b wininet/tests: Trace extended errors in a couple of places. 2009-12-01 13:16:34 +01:00
Jacek Caban 34fcbb5f75 wininet: Make HTTP_HttpSendRequestW static and avoid its forward declaration. 2009-12-01 12:59:36 +01:00
Jacek Caban e974965185 wininet: Directly return error status from HTTP_HttpAddRequestHeadersW. 2009-12-01 12:59:23 +01:00
Jacek Caban 85a057e186 wininet: Directly return error status from HTTP_HttpOpenRequestW. 2009-12-01 12:59:16 +01:00
Jacek Caban 47c71fcd0a wininet: Make HTTP_HttpOpenRequestW static and avoid forward its declaration. 2009-12-01 12:59:07 +01:00
Jacek Caban b01d58428b wininet: Directly return error status from NETCON_init. 2009-12-01 12:58:58 +01:00
Jacek Caban 1d96e20e8a wininet: Directly return error status from refill_buffer. 2009-12-01 12:58:52 +01:00
Jacek Caban 358e7b7c8a wininet: Directly return error status from NETCON_recv. 2009-12-01 12:58:34 +01:00
Jacek Caban 4e3eabd6fa wininet: Don't use INTERNET_SetLastError in HttpSendRequestW. 2009-11-30 12:48:52 +01:00
Jacek Caban c55d0a8516 wininet: Directly return error status from NETCON_close. 2009-11-30 12:48:46 +01:00
Jacek Caban 36cb1ef3d3 wininet: Directly return error status from HTTP_OpenConnection. 2009-11-30 12:48:40 +01:00
Jacek Caban 1ee3ad476e wininet: Directly return error status from WriteFile implementations. 2009-11-30 12:48:33 +01:00
Jacek Caban b77868cbfd wininet: Dorectly return error status from NETCON_secure_connect and NETCON_send. 2009-11-30 12:48:27 +01:00
Jacek Caban bf1da4c857 wininet: Directly return error status from NETCON_connect. 2009-11-30 12:48:20 +01:00
Jacek Caban cff77d602c wininet: Directly return error status from NETCON_create. 2009-11-30 12:48:09 +01:00
Hans Leidekker 4990ca0ea3 wininet: Avoid a crash on NULL lpcszHeader in HttpSendRequestExW. 2009-11-17 16:05:36 +01:00
Dan Kegel 15d7b7b777 wininet: FTP_FtpOpenFileW: initialize dwInternalFlags. 2009-11-09 19:36:11 +01:00
Austin English 2387532c3f wininet: Add stubs for FreeUrlCacheSpace. 2009-11-03 21:17:18 +01:00
Hans Leidekker 248939d358 wininet: Clean up locks after closing libssl and libcrypto.
Found by valgrind.
2009-10-27 10:53:32 +01:00
Hans Leidekker e62fdaf0f1 wininet: Avoid accessing uninitialized memory in HttpSendRequestExW.
Found by valgrind.
2009-10-27 10:53:08 +01:00
Hans Leidekker b707a523e3 wininet: Avoid accessing uninitialized memory in ConvertUrlComponentValue.
Found by valgrind.
2009-10-27 10:53:04 +01:00
Hans Leidekker 4a8f4f2867 wininet: Avoid accessing uninitialized memory.
Found by valgrind.
2009-10-26 11:20:09 +01:00