Commit Graph

1529 Commits

Author SHA1 Message Date
Juan Lang b2ed9c5967 wininet: Fix a comment. 2011-03-07 15:01:10 +01:00
Juan Lang 7685dad81d wininet: Remove a no-op trinary expression. 2011-03-07 15:01:03 +01:00
Juan Lang 28e9229336 wininet: Store entries in url cache with valid last-modified date. 2011-03-07 15:00:59 +01:00
Juan Lang 9463a867a8 wininet: Remove outdated comment. 2011-03-04 16:25:59 +01:00
Juan Lang d2a3832fc3 wininet: Fix off-by-one error. 2011-03-04 16:25:59 +01:00
Juan Lang 666353d1a6 wininet: Move creating cache file to a helper function. 2011-03-04 16:25:58 +01:00
Juan Lang 488c2d0c36 wininet: Support the Cache-Control max-age directive for setting url cache entry expiration. 2011-03-04 16:25:58 +01:00
Juan Lang 2d323430cb wininet: Default to 10 minutes expiration for cache entries. 2011-03-04 16:25:58 +01:00
Juan Lang ab16c75c48 wininet: Default to 10 minutes expiration for cache entries. 2011-03-04 16:25:58 +01:00
Juan Lang 0b5ea6f970 wininet: Store entries in url cache with valid expiration date. 2011-03-04 16:25:58 +01:00
Juan Lang 75cc509dae wininet: Support setting the expired time in SetUrlCacheEntryInfo. 2011-03-03 17:47:14 +01:00
Juan Lang b9c348a0b3 wininet: Use correct scheme for cache entries. 2011-03-03 17:47:14 +01:00
Juan Lang eeb3e86f38 wininet/tests: Test retrieving http requests from cache. 2011-03-02 12:29:22 +01:00
Juan Lang 2098006d68 wininet: De-Hungarian HTTP request member names. 2011-03-02 12:29:19 +01:00
Juan Lang 8e05039102 wininet: De-Hungarian session member names. 2011-03-02 12:29:16 +01:00
Juan Lang 7243156bc1 wininet: De-Hungarian appinfo member names. 2011-03-02 12:29:13 +01:00
Juan Lang 2c6ad546cd wininet: De-Hungarian auth cache member names. 2011-03-02 12:29:10 +01:00
Juan Lang b49b2430ee wininet: Rename variables for readability. 2011-03-02 12:29:07 +01:00
Igor Paliychuk 22b63d2c54 wininet: Fix translations. 2011-02-14 13:33:35 +01:00
Austin English 5da40467c8 wininet/tests: Make sure to use return value (LLVM/Clang). 2011-02-07 10:11:06 -06:00
Jacek Caban 680f251220 wininet: status_string clean up. 2011-02-04 15:25:32 +01:00
Jacek Caban 923498da03 wininet: Moved freeing object to WININET_Release. 2011-02-04 15:25:32 +01:00
Jacek Caban a073c66f0d wininet: Moved creation of an object and allocating handles to common function.
Fixes a few leaks.
2011-02-03 13:15:18 +01:00
Jacek Caban 572c4f7039 wininet: Added more InternetCloseHandle tests. 2011-02-03 13:15:18 +01:00
Jacek Caban 968ab5fd28 wininet: Keep handles invalid but reserved in InternetCloseHandle. 2011-02-03 13:15:18 +01:00
Jacek Caban f165e25e59 wininet: Handles handling clean up. 2011-02-03 13:15:18 +01:00
Hans Leidekker 86eb9c24f1 wininet/tests: Trace errors from InternetReadFile in test_basic_request. 2011-01-24 16:04:33 +01:00
Greg Geldorp 859be0a283 wininet/tests: Fix failures when connecting through proxy. 2011-01-21 13:49:33 +01:00
Jacek Caban 59bcbb2d8b wininet: Fixed race in SSL connection handling. 2011-01-20 12:19:30 +01:00
Huw Davies 354f97dff8 wininet: Add tests for querying INTERNET_OPTION_MAX_CONNS_PER_SERVER and INTERNET_OPTION_MAX_CONNS_PER_1_0_SERVER and fix typo in the implementation. 2011-01-19 16:54:13 +01:00
Vincent Povirk 173b2c5b0f wininet: Use LIST_FOR_EACH_SAFE in a loop where we can delete an entry. 2011-01-17 12:49:14 +01:00
Jacek Caban 2f4968b597 wininet: Fixed memory leak in tests (valgrind). 2011-01-13 17:26:21 +01:00
Jacek Caban 0662555af3 wininet: Added post data tests. 2011-01-13 17:26:17 +01:00
Jacek Caban e86353fd30 wininet: Make sure to initialize the whole z_stream struct (valgrind). 2011-01-12 18:12:42 +01:00
Alexandre Julliard ec547500f2 wininet: Convert string table resources to po files. 2011-01-12 18:12:10 +01:00
Hwang YunSong e1c71291cc wininet: Update Korean resource. 2011-01-10 12:41:34 +01:00
Rex Tsai 21578a1a40 wininet: Update Traditional Chinese translation. 2011-01-07 15:01:13 +01:00
André Hentschel 145031b8d4 wininet/tests: Don't call GetLastError() twice. 2010-12-31 11:42:35 +01:00
Yaron Shahrabani 4a17b11d97 wininet: Updated Hebrew translation. 2010-12-29 10:47:47 +01:00
Sven Baars a529c4a835 wininet: Update the Dutch translation. 2010-12-27 11:46:05 +01:00
Aurimas Fišeras 088fffec94 wininet: Update Lithuanian translation. 2010-12-27 11:45:28 +01:00
Luca Bennati 63d8852c66 wininet: Update Italian translation. 2010-12-24 12:05:03 +01:00
Frédéric Delanoy 79f36b2a08 wininet: Update French translation. 2010-12-23 13:47:26 +01:00
Frédéric Delanoy f204acdea7 wininet: Update French translation. 2010-12-22 12:50:02 +01:00
André Hentschel 0512adff71 wininet: Fix German translation. 2010-12-22 12:45:44 +01:00
Łukasz Wojniłowicz c2be1747d3 wininet: Update Polish translation. 2010-12-22 12:45:05 +01:00
André Hentschel cc90dc6f3b include: Add ERROR_INTERNET_FORTEZZA_LOGIN_NEEDED for wininet tests. 2010-12-21 19:47:14 +01:00
André Hentschel 5c7bb1e5b8 wininet: Update German translation. 2010-12-21 19:20:15 +01:00
David Hedberg 08fe24de06 wininet: Add a simple certificate dialog to InternetErrorDlg. 2010-12-20 12:47:39 +01:00
David Hedberg 46be41271c wininet: Make module handle scope global. 2010-12-20 12:47:39 +01:00
David Hedberg 3ce9304592 wininet: Respect SECURITY_FLAG_IGNORE_CERT_DATE_INVALID. 2010-12-20 12:47:39 +01:00
Austin English 1c7d349f26 wininet: Add a stub for InternetShowSecurityInfoByURL. 2010-11-25 16:57:13 +01:00
Juan Lang c2b42758da wininet: Verify revocation status of certificate chain. 2010-11-16 11:44:11 +01:00
Francois Gouget 9ca197261d wininet/tests: Add a trailing '\n' to ok() calls. 2010-11-02 13:16:14 +01:00
Paul Vriens ddda9e939a wininet: Add the Serbian (Latin and Cyrillic) translation.
Translation by Đorđe Vasiljević.
2010-11-01 11:35:16 +01:00
Andrew Nguyen 7591563885 wininet: Fix misleading OpenSSL version number check. 2010-10-25 14:33:23 +02:00
Andrew Nguyen b20e111088 wininet: Fix const qualifier warning when compiling with OpenSSL 1.0.0. 2010-10-25 14:33:12 +02:00
Jacek Caban fa5839399f wininet: Skip more tests on IE older than 6.0. 2010-10-19 13:47:58 +02:00
Yaron Shahrabani 17d8c5fbee wininet: Added Hebrew translation. 2010-10-12 17:38:32 +02:00
Andrew Eikum 6525d89c95 shlwapi: Handle URL_WININET_COMPATIBILITY flag in UrlCanonicalize. 2010-10-12 12:17:38 +02:00
Alexandre Julliard 0cc9c52f8c wininet: Load X509_STORE_CTX_get_ex_data from libcrypto not libssl. 2010-10-08 19:15:45 +02:00
Andrew Eikum 3555226acf wininet: Clean up returned UrlPath for file protocol URLs. 2010-10-06 11:20:23 +02:00
Juan Lang 80545ef966 wininet: Secure flag is set in the request, not in the session. 2010-10-01 17:48:05 +02:00
Juan Lang 948173b7f4 wininet: Set cipher strength bits when querying INTERNET_OPTION_SECURITY_FLAGS. 2010-10-01 15:21:18 +02:00
Juan Lang 887aeb6a09 wininet: Support querying the cipher strength of an SSL connection. 2010-10-01 15:20:49 +02:00
Juan Lang 56ebc04ab6 wininet: Returned certificate strings are always ASCII. 2010-10-01 15:20:41 +02:00
Juan Lang 86732e04d8 wininet: Add some secure connection tests. 2010-10-01 15:20:35 +02:00
Juan Lang 9f6cd2663e wininet: Let CertVerifyCertificateChainPolicy handle certain security flags. 2010-10-01 15:20:27 +02:00
Juan Lang 0e4e2a378a wininet: More completely implement querying INTERNET_OPTION_SECURITY_FLAGS. 2010-09-30 11:14:39 +02:00
Juan Lang 6808c1c684 wininet: Remove unneeded error message. 2010-09-30 11:14:31 +02:00
Juan Lang 44112c367f wininet: Honor security flags when verifying certificates. 2010-09-30 11:14:16 +02:00
Juan Lang 98dbdadcda wininet: Don't call SSL_connect until initialization is complete. 2010-09-30 11:14:01 +02:00
Juan Lang 181a367a1f wininet: Don't retrieve a certificate that isn't used. 2010-09-30 11:13:55 +02:00
Juan Lang 77c4ade08b wininet: Store security flags in WININET_NETCONNECTION. 2010-09-30 11:13:48 +02:00
Juan Lang ce0164c3f7 wininet: Store WININET_NETCONNECTION * in SSL context. 2010-09-30 11:13:35 +02:00
Juan Lang 3e51313e37 wininet: Don't make use of OpenSSL's security checks, as crypt32 also verifies certificate chain. 2010-09-30 11:13:12 +02:00
Lauri Kenttä 93b5779b30 wininet: Update Finnish translation. 2010-09-24 18:21:16 +02:00
Henri Verbeet 6e46e9048f wininet: Cut of the query string before searching for the filename in CreateUrlCacheEntryW().
Apparently it's possible to receive URLs with e.g. slashes in the query
string. I was under the impression those were reserved in the query string,
but e.g. Firefox will happily accept them as well.
2010-09-23 12:06:49 +02:00
Henri Verbeet 7782e81887 wininet: Check URLCache_LocalFileNameToPathW() return values in CreateUrlCacheEntryW().
It would be unfortunate if a long file name would cause us to open a file
based on mostly uninitialized data and write the contents of some random
webpage into it.
2010-09-23 12:06:38 +02:00
Luca Bennati 43af162c45 wininet: Update Italian translation. 2010-09-21 17:53:54 +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 90fcda14bb wininet: Use int64 in the spec file for 64-bit integers. 2010-08-31 14:23:48 +02:00
Hans Leidekker 94deb85d12 wininet: Handle HTTP_STATUS_REDIRECT_METHOD. 2010-08-27 12:08:41 +02:00
Anders Jonsson 94d7111e8a wininet: Update Swedish translation. 2010-08-16 12:59:14 +02:00
Uwe Bonnes 53391a3445 wininet: Add const qualifier after openssl version check. 2010-08-02 17:39:20 +02:00
Piotr Caban 75481bde85 wininet: Commit URL cache entry when cache file is closed. 2010-07-26 09:58:21 +02:00
Piotr Caban 54bdf622a0 wininet: Fixed CreateUrlCacheEntryA implementation. 2010-07-26 09:58:21 +02:00
Michael Stefaniuc 276f8eaf59 wininet: Remove the ignored common resource attributes. 2010-07-22 11:41:36 +02:00
Alexandre Julliard b86d515ed6 dlls: Remove explicit imports of kernel32 and ntdll. 2010-07-21 17:38:36 +02:00
Piotr Caban 21ced8ddc8 wininet: Allow HTTPREQ_ReadFileEx read more then one data chunk. 2010-07-20 14:40:32 +02:00
Piotr Caban 0736ca71e7 wininet: Don't report error in read_gzip_data when to much data was cached. 2010-07-20 14:40:32 +02:00
Piotr Caban c398e6fc77 wininet: Cache non basic authorization data. 2010-07-19 14:38:16 +02:00
Piotr Caban 98fb747aa9 wininet: Delete authorization data on unsucessful login. 2010-07-19 14:38:15 +02:00
Piotr Caban 3cfc7132be wininet: Fix reporting errors in callbacks. 2010-07-19 14:38:15 +02:00
Igor Paliychuk deb41e5d5e wininet: Ukrainian translation update. 2010-07-12 11:36:04 +02:00
Gustavo Henrique Milaré 01a9ed1ad8 wininet: Update Portuguese (Brazilian) translation. 2010-07-02 12:18:18 +02:00
Austin English eff0aeccef wininet: Avoid size_t in ERR(). 2010-07-02 12:17:03 +02:00
Piotr Caban 898531de80 wininet: Remove get_avail_data check from HTTPREQ_ReadFileExA. 2010-07-01 13:44:02 +02:00
Piotr Caban ee68473fe5 wininet: Reconnect if persistent connection was closed by server. 2010-06-29 15:20:56 +02:00
Kovács András 1aec8e4f8a wininet: Update Hungarian translation. 2010-06-29 10:54:00 +02:00
Hwang YunSong 784716946e wininet: Update Korean resource. 2010-06-21 11:48:20 +02:00
Marcus Meissner 3d5a3a32ce wininet: Fixed buffer lengths in InternetCrackUrlW tests. 2010-06-10 17:17:57 +02:00
Akihiro Sagawa 089de46366 wininet: Update Japanese translation. 2010-06-07 13:41:09 +02:00
Łukasz Wojniłowicz 947d18ace7 wininet: Update the Polish translation. 2010-06-07 12:54:30 +02:00
Jose Rostagno 2a52bb82f2 wininet: Update Spanish translation. 2010-06-02 10:53:50 +02:00
Paul Vriens e7eb917531 wininet: Update the Danish translation and convert to UTF-8.
Translation by Thomas Larsen <sikker2004@yahoo.com>
2010-06-02 10:52:31 +02:00
Marcus Meissner b7f3aa61f4 wininet: Check for NULL lpwhh (Coverity). 2010-05-27 15:22:12 +02:00
Hans Leidekker 02abc3b216 wininet: Add tests for setting and retrieving the context value. 2010-05-25 13:30:37 +02:00
Hans Leidekker 67b1eecaf2 wininet: Implement InternetQueryOption(INTERNET_OPTION_CONTEXT_VALUE). 2010-05-25 13:30:25 +02:00
Hans Leidekker 80dd367846 wininet: Pass the object header pointer to INET_QueryOption. 2010-05-25 13:30:18 +02:00
Hans Leidekker ae1f553d2b wininet: Implement InternetSetOption(INTERNET_OPTION_CONTEXT_VALUE). 2010-05-25 13:30:07 +02:00
Piotr Caban 224af0d0e7 wininet: Fix variables values after redirection in HTTP_HttpSendRequestW.
Moved dwContentLength reset after HTTP_DrainContent (this function 
disconnects when dwContentLength is set to ~0u).
2010-05-20 16:48:37 +02:00
Michael Stefaniuc 2c07791c5b wininet: Remove redundant "not NULL/0" checks (coccicheck). 2010-05-20 13:47:52 +02:00
Piotr Caban 8dde5c5168 wininet: Combine certificate errors in HTTP_OpenConnection. 2010-05-19 15:01:00 +02:00
Piotr Caban ee72094ca8 wininet: Added INTERNET_OPTION_ERROR_MASK flag handling to InternetSetOptionW. 2010-05-19 15:00:55 +02:00
Piotr Caban 4ba60d265a wininet: Fix callbacks sent on connection error. 2010-05-19 15:00:43 +02:00
Matej Špindler 4ed5079b67 wininet: Update Slovenian translation. 2010-05-18 08:50:10 +02:00
Piotr Caban c6097cafdd wininet: Deal with reading over the end in NETCON_recv. 2010-05-17 13:20:22 +02:00
Piotr Caban a298415bbe wininet: Fix dwStatusInfoLength value in INTERNET_SendCallback. 2010-05-17 13:20:08 +02:00
Piotr Caban c0890590ab wininet: Fix trace messages. 2010-05-08 18:14:53 +02:00
Gerald Pfeifer dec98a5997 wininet: Remove variable len which is not really used from CommitUrlCacheEntryInternal. 2010-04-21 15:35:00 +02:00
Alexandre Julliard d982262302 wininet: Fix some pointer conversion warnings on 64-bit. 2010-04-09 13:43:23 +02:00
Alexandre Julliard a8e86e35dd winapi: Generate the 64-bit variant of structure size/alignment tests. 2010-04-07 18:03:00 +02:00
Mikhail Maroukhine 25306d8be3 wininet: Fix compiler warnings with flag -Wcast-qual. 2010-03-29 12:18:06 +02:00
Mikhail Maroukhine 6e5dfd1fb8 wininet: Fix compiler warnings with flag -Wcast-qual. 2010-03-29 12:11:17 +02:00
Alexandre Julliard bef5645eb1 makefiles: Remove the no longer needed explicit separators for dependencies. 2010-03-16 13:28:19 +01:00
Juan Lang de6a0a86be wininet: Handle proxy entries of the form <proto>=<proxy>, and allow multiple proxies. 2010-03-15 15:54:10 +01:00
Hans Leidekker 911d0df691 wininet: Fix a memory leak.
Found by Valgrind.
2010-02-23 13:31:07 +01:00
Hans Leidekker 2ed570ecc6 wininet: Fix handling of a response without headers. 2010-02-22 13:16:02 +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 8858fc9b66 wininet: Don't call libcrypto function after closing the library.
Spotted by Paul Vriens.
2010-02-08 17:14:44 +01:00
Alexandre Julliard 7aaec2e667 wininet/tests: Fix a test failure on Win2k. 2010-02-05 11:44:18 +01:00
Paul Vriens 6c136e862b wininet/tests: Fix some memory leaks (Valgrind). 2010-02-01 12:49:48 +01:00
Paul Vriens a28433a232 wininet/tests: Fix test failures on Win98/WinMe by using more A-functions. 2010-01-27 18:46:06 +01:00
Andrew Eikum 0a84bd728a wininet: Handle PROXY_TYPE_PROXY | PROXY_TYPE_DIRECT per-connection flags. 2010-01-25 18:05:02 +01:00
Andrew Eikum b0ad0b9c0b wininet: Implement PER_CONN_FLAGS option. 2010-01-21 09:05:29 +01:00
Andrew Eikum c3af903ffb wininet: Implement PER_CONN_PROXY_SERVER option. 2010-01-21 09:05:26 +01:00
Andrew Eikum 7f3cbed8ff wininet: Pull proxy info gathering into its own function. 2010-01-21 09:05:18 +01:00
Andrew Eikum 60bb3f8ec2 wininet: Convert PER_CONN_OPTION_LIST from A to W in InternetSetOptionA. 2010-01-21 09:05:12 +01:00
Andrew Eikum deca2e5c0e wininet: Add Internet{Set,Query}Option tests, implement POLICY option. 2010-01-21 09:05:06 +01:00
Hans Leidekker e5180c101b wininet: Fix a memory leak.
Found by Valgrind.
2010-01-05 16:28:48 +01:00
Jacek Caban e5574369dd wininet: Fixed tests on older IEs. 2009-12-29 11:07:26 +01:00
Jacek Caban 672f021e2b wininet: Test also InternetCrackUrlW in test_crack_url. 2009-12-28 11:57:47 +01:00
Alexandre Julliard 5ded71ff43 wininet: Fix pointer cast warnings on 64-bit. 2009-12-24 12:15:40 +01:00
Hans Leidekker d4a7a9d43d wininet: Avoid test failures on win9x. 2009-12-22 15:40:04 +01:00
Hans Leidekker 406b6e36d8 wininet: Free per-thread error info upon exit from an async procedure.
Found by Valgrind.
2009-12-22 13:48:26 +01:00
Jacek Caban 31cb9cfa79 wininet: Don't use INTERNET_SetLastError in InternetSetOptionW. 2009-12-21 15:36:53 +01:00
Jacek Caban b73e31c659 wininet: Return error directly from HTTP_Connect. 2009-12-21 15:36:53 +01:00
Jacek Caban e1958a67d6 wininet: Don't use INTERNET_SetLastError in HttpSendRequestA. 2009-12-21 15:36:53 +01:00
Jacek Caban 88ac3a381b wininet: Return error directly from INTERNET_AsyncCall. 2009-12-21 15:36:53 +01:00
Hans Leidekker 68453a5251 wininet: Always set last error in HttpSendRequest{,Ex}. 2009-12-21 15:01:25 +01:00
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
Hans Leidekker 0f127fc7a1 wininet: Avoid accessing uninitialized memory.
Found by valgrind.
2009-10-23 12:04:15 +02:00
Aric Stewart fc5089349d wininet: Cache basic authentication values based on realm and host. 2009-10-13 14:19:47 +02:00
Juan Lang b214fc62f1 wininet: Quiet a fixme. 2009-10-05 13:22:53 +02:00
Juan Lang 05a7e3d386 wininet: Correct user agent handling. 2009-10-05 13:22:47 +02:00
Juan Lang 3c98992f55 wininet: Set callbacks needed by OpenSSL for multithreaded use. 2009-10-02 17:12:13 +02:00
Juan Lang 41592569fd wininet: Unload OpenSSL when unloading wininet. 2009-10-02 17:11:49 +02:00
Juan Lang a001ed7686 wininet: Protect OpenSSL initialization with critical section. 2009-10-01 13:59:12 +02:00
Juan Lang 5c6f47f7a7 wininet: Move initialization of SSL_CTX to library initialization time. 2009-10-01 13:59:03 +02:00
Erik Inge Bolsø 5af1a49738 wininet: Add test for response without headers, avoid crash. 2009-09-30 14:31:57 +02:00
Andrew Eikum 0250eab25e wininet: Always extract #fragments in InternetCrackUrl. 2009-09-29 12:31:51 +02:00
Hans Leidekker 09f1ace555 wininet: Add some URL cache tests and make them pass. 2009-09-25 14:39:35 +02:00
Hans Leidekker d590a20f6d wininet: Consistently set last error before testing it. 2009-09-25 14:39:28 +02:00
Hans Leidekker 784b58a280 wininet: Try harder to find a unique cache file name. 2009-09-25 14:39:22 +02:00
Aric Stewart 05926a10ff wininet: Be sure to set lpwfs->pasvSocket to -1 when closing the socket to prevent double closes. 2009-09-17 10:10:33 -05:00
Aric Stewart 51a57b7e25 wininet: Ensure the ftp connections lstnSocket is set to -1 after each close. 2009-09-16 14:47:12 -05:00
Paul Vriens 8b6ae91042 wininet/tests: Run tests again on systems with IE5. 2009-09-15 16:41:24 -05:00
Paul Vriens bf1b965e96 wininet/tests: Fix a test failure on IE8. 2009-09-10 15:33:07 +02:00
Hans Leidekker 50fef74131 wininet: Destroy authorization info on failure in HTTP_DoAuthorization.
This makes sure the app can retry authorization, e.g. when username and
password are not supplied upfront and there are no cached credentials.
2009-09-02 14:41:40 +02:00
Vincent Povirk 980bb171ee wininet: Allow +.- characters in url scheme.
According to RFC 1738, the plus, period, and hyphen characters are allowed in URL schemes.
2009-08-26 12:09:48 +02:00
Jacek Caban 4dfec39b6f wininet: Don't free gzip_stream in HTTPREQ_CloseConnection. 2009-08-24 15:17:12 +02:00
Luca Bennati 18af49ab23 wininet: Update Italian translation. 2009-08-20 15:27:45 +02:00
Vladimir Pankratov 6ec190e55c wininet: Update Russian translation. 2009-08-18 11:40:02 +02:00
Michael Stefaniuc a0509811a5 wininet: Update the Romanian translation. 2009-08-18 11:17:33 +02:00
Juan Lang 6ae6ea99b4 wininet: Partially implement InternetQueryOption for INTERNET_OPTION_DIAGNOSTIC_SOCKET_INFO. 2009-08-11 12:32:24 +02:00
Juan Lang 6ec60e26bc wininet: Implement proxy-related per-connection option queries. 2009-08-11 12:31:33 +02:00
Juan Lang 3ed82127c6 wininet: Fix memory leak querying proxy settings. 2009-08-11 12:31:23 +02:00
Ricardo Filipe 57675f801c wininet: Fix Portuguese translation and convert to UTF8. 2009-08-06 17:28:14 +02:00
Alexander Nicolaysen Sørnes 7d2bc2f9df wininet: Update Norwegian Bokmål translation. 2009-08-04 12:50:27 +02:00
Jacek Caban 3858e35432 wininet: Explicity delete Content-Length header for gzip encoded connection. 2009-08-03 14:59:35 +02:00
Paul Vriens fededdd2d7 wininet: Avoid potential NULL dereferences (Coverity). 2009-08-03 14:57:53 +02:00
Vladimir Pankratov b6ac03a9a7 wininet: Convert the Russian resources to UTF-8. 2009-08-03 14:57:25 +02:00
Hans Leidekker 8881335842 wininet: Update Dutch translation. 2009-07-24 11:10:18 +02:00
Hans Leidekker 50761eac23 wininet: Use a different pointer for the password in WININET_SetAuthorization. 2009-07-24 11:10:14 +02:00
Frédéric Delanoy 2b18ed11a5 wininet: Update French translation. 2009-07-24 11:10:09 +02:00
André Hentschel f32366a6b9 wininet: Update German translation. 2009-07-24 11:10:00 +02:00
Aurimas Fišeras fb374536f0 wininet: Update Lithuanian translation. 2009-07-24 11:09:55 +02:00
Hans Leidekker 6b15db8717 wininet: Add a regular authentication dialog. 2009-07-23 13:20:07 +02:00
Hans Leidekker 29162c6506 wininet: Prepare for showing a regular authentication dialog. 2009-07-23 13:19:58 +02:00
Hans Leidekker 1126b89360 wininet: Don't leak the proxy username and password in WININET_SetProxyAuthorization. 2009-07-23 13:19:52 +02:00
Hans Leidekker 4b1e0de90f wininet: Release the request in WININET_GetProxyServer and WININET_SetProxyAuthorization. 2009-07-23 13:19:48 +02:00
Hans Leidekker fa4c25ddf4 wininet: Correct handling of redirected HEAD requests. 2009-07-22 14:42:49 +02:00
Jacek Caban 1c46be7a76 wininet: Code clean up by using heap_strdup* functions. 2009-07-20 12:20:36 +02:00
Jacek Caban 0055cfedc2 wininet: Code clean up by using heap_strdup* functions. 2009-07-20 12:20:27 +02:00
Jacek Caban 97936252dd wininet: Code clean up by using heap_strdup* functions. 2009-07-17 11:21:59 +02:00
Jacek Caban 13974e9d5a wininet: Code clean up by using heap_strdup* functions. 2009-07-17 11:17:13 +02:00
Jacek Caban 5d6f01b76b wininet: Rename WININET_strdup_WtoA to heap_strdupWtoA. 2009-07-17 11:16:55 +02:00
Jacek Caban e09dfcfa99 wininet: Rename WININET_strdup_AtoW to heap_strdupAtoW and handle NULL argument in its implementation. 2009-07-17 11:16:50 +02:00
Jacek Caban f598709212 wininet: Rename WININET_strdupW to standard heap_strdupW. 2009-07-17 11:16:42 +02:00
Michael Stefaniuc 9949661c65 Set the encoding of the remaining German resources to UTF-8. 2009-07-15 13:23:29 +02:00