Commit Graph

1973 Commits

Author SHA1 Message Date
Jacek Caban cfb4b0a305 wininet: Fixed tests on some old Windows versions. 2014-03-24 20:20:07 +01:00
Jacek Caban 858caa9aa0 wininet: Merge GetLastError() test into other request tests. 2014-03-24 20:20:06 +01:00
Jacek Caban 22e75c69ab wininet: Added support for raw deflate content encoding. 2014-03-05 19:17:00 +01:00
Jacek Caban 2667a5376c wininet: Get rid of no longer needed hack in gzip_read that prevents consuming the whole input buffer until we're at the end of stream. 2014-03-05 19:16:58 +01:00
Jacek Caban b7c47c033c wininet: Use non-blocking reads in netconn_drain_content. 2014-03-05 19:16:55 +01:00
Jacek Caban f9a16d70e2 wininet: Get rid of no longer needed size calculation in netconn_read. 2014-03-05 19:16:53 +01:00
Jacek Caban d8948da1b4 wininet: Improved non-blocking mode in secure NETCON_recv. 2014-03-05 19:16:50 +01:00
Jacek Caban 0767e06044 wininet: Use blocking_mode_t instead of flags in NETCON_recv. 2014-03-05 19:16:46 +01:00
Jacek Caban ac58c3e8bc wininet: Renamed read_mode_t to blocking_mode_t. 2014-03-05 19:16:41 +01:00
Jacek Caban fd3563b2b9 wininet/tests: Fixed tests for the new winehq.org cert. 2014-03-03 17:02:54 +01:00
Nikolay Sivov 1f1d404832 wininet: Update module version. 2014-02-10 10:42:07 +01:00
Bruno Jesus 7f97339208 wininet/tests: Add tests for InternetGetConnectedStateEx[A|W]. 2014-02-05 13:49:25 +01:00
André Hentschel c8426495fc wininet: Use boolean return value in boolean function. 2014-02-04 11:15:30 +01:00
Alexandre Julliard cf0e96c6d0 configure: Rename substituted variables to a standard _CFLAGS and _LIBS format. 2014-01-30 14:51:33 +01:00
Bruno Jesus 2ef27a2322 wininet: InternetGetConnectedStateExW must return TRUE for success. 2014-01-30 10:31:42 +01:00
Alexandre Julliard 99ef0d6ff0 makefiles: Get rid of the MAKE_TEST_RULES variable. 2014-01-02 12:13:16 +01:00
Alexandre Julliard 5e7416e5c8 makefiles: Get rid of the MAKE_DLL_RULES variable. 2014-01-02 12:08:18 +01:00
Frédéric Delanoy 0e7e87875c wininet/tests: Constify some character strings. 2013-12-31 12:25:04 +01:00
Frédéric Delanoy 43d6a45c4e wininet: Constify some character strings. 2013-12-19 17:09:14 +01:00
Alexandre Julliard 4f3d71cef3 makefiles: Get rid of the no longer used PO_SRCS variables. 2013-12-15 10:23:04 +01:00
Hans Leidekker 7ba776532d wininet: Always store the SSL context.
This allows applications to query certificate properties when verification has failed.
2013-12-11 12:57:04 +01:00
Hans Leidekker 6c7c15059a wininet: Separate socket destruction from destruction of the connection object. 2013-12-11 12:57:01 +01:00
Hans Leidekker 9373d4c578 wininet: Return an error when ensure_cred_handle fails. 2013-12-11 12:56:57 +01:00
Frédéric Delanoy e1ef0d1174 wininet/tests: Use BOOL type where appropriate. 2013-12-05 10:58:20 +01:00
Frédéric Delanoy 0940037301 wininet/tests: Use BOOL type where appropriate. 2013-11-27 10:54:28 +01:00
Frédéric Delanoy 21618deb40 wininet: Use BOOL type where appropriate. 2013-11-27 10:54:22 +01:00
Ričardas Barkauskas 05396f18e4 wininet/tests: Mark successful query of status before sending request as broken. 2013-11-26 10:22:10 +01:00
Ričardas Barkauskas 12e6c14e7c wininet: Move handling of existing request connections to open_http_connection. 2013-11-26 10:21:03 +01:00
Ričardas Barkauskas 992c2bd3e5 wininet: Reset data stream for existing request connections. 2013-11-26 10:20:58 +01:00
Ričardas Barkauskas 920a261d35 wininet/tests: Test successive HttpSendRequest calls. 2013-11-26 10:20:54 +01:00
André Hentschel f34ba03277 wininet/tests: Fix boolean checks. 2013-11-26 10:17:31 +01:00
Frédéric Delanoy 57d7f74d34 Assorted spelling fixes. 2013-11-21 19:44:46 +01:00
Hans Leidekker a448bbf880 wininet: Reading past end-of-file in chunked mode returns success.
Found by Andrew Eikum.
2013-11-21 19:39:02 +01:00
Piotr Caban 69b8c97c1d wininet/tests: Fix urlcache tests on IE10. 2013-11-18 11:20:30 +01:00
Ričardas Barkauskas 6c0ee62d7a wininet: Check if connection is alive before sending request. 2013-11-07 13:15:50 +01:00
Alexandre Julliard 5756ee09f3 makefiles: Add makedep pragmas for rc files that contain translations. 2013-11-05 20:38:19 +01:00
Vijay Kiran Kamuju ebe121e360 wininet: Implement setting INTERNET_PER_CONN_PROXY_BYPASS. 2013-10-30 10:13:35 +01:00
Jacek Caban e857a70ae2 wininet: Compile tests with -D__WINESRC__. 2013-10-24 19:01:55 +02:00
Frédéric Delanoy b4e4831d1b wininet: Use BOOL type where appropriate. 2013-10-10 10:44:49 +02:00
Jacek Caban 1458856c63 wininet: Added InternetLockRequestFile tests. 2013-10-04 17:46:23 +02:00
Jacek Caban 47f490e1f6 wininet: Added support for locking HTTP request files. 2013-10-04 17:46:23 +02:00
Jacek Caban 817d6625a8 wininet: Added InternetUnlockRequestFile implementation. 2013-10-04 17:46:23 +02:00
Jacek Caban c1bab59e81 wininet: Forward InternetLockRequestFile to handle-specific functions. 2013-10-04 17:46:23 +02:00
Jacek Caban c58317b5b4 wininet: Moved request file info to separated struct. 2013-10-04 17:46:23 +02:00
Michael Stefaniuc 0e681027a2 tests: Compile the tests by default with -D__WINESRC__. 2013-10-02 11:04:02 +02:00
Michael Stefaniuc 2a39cb377a dlls: Replace the remaining CONSTs. 2013-09-25 11:49:20 +02:00
André Hentschel 7e65578b7c wininet/tests: Don't test function directly when reporting GetLastError(). 2013-09-23 11:53:44 +02:00
Hans Leidekker c0e1dda04c wininet: Don't assume that end of chunk means end of stream. 2013-09-20 11:11:54 +02:00
Hans Leidekker daa0acdbcf wininet: Fix calculation of content length from chunk size. 2013-09-03 17:00:40 +02:00
Hans Leidekker 1bf936c900 wininet: Replacing a header with an empty value deletes it. 2013-08-29 19:56:18 +02:00
Hans Leidekker 0c9321eb0f wininet: Handle NULL input string in str_to_buffer. 2013-07-31 22:26:57 +02:00
Hans Leidekker 5f346f63ba wininet: Ignore INTERNET_FLAG_NO_CACHE_WRITE only for GET requests. 2013-07-31 22:26:57 +02:00
Jacek Caban 10389b272d wininet: Ignore missing status text in response headers. 2013-07-19 16:27:31 +02:00
Jacek Caban 65f9b540a5 wininet/tests: Added HTTP status header tests. 2013-07-12 18:04:26 +02:00
Alexandre Julliard d6b9b00c02 wininet: Use neutral language for the version resource. 2013-07-09 22:21:58 +02:00
Jacek Caban 2782f36b1d wininet/tests: Added more cert struct tests. 2013-06-14 16:44:06 +02:00
Alexandre Julliard df17007af7 wininet/tests: Use test.winehq.com for invalid certs tests. 2013-06-13 17:10:04 +02:00
Hans Leidekker 697cbc3605 wininet/tests: Avoid proxy test failures on old wininet. 2013-06-12 12:08:24 +02:00
Ričardas Barkauskas 188b39ab2b wininet/tests: Test some connection closing specifics. 2013-06-05 19:39:38 +02:00
Marcus Meissner 038e3d3773 wininet: Avoid one-byte overflows (Coverity). 2013-05-31 11:57:19 +02:00
Marcus Meissner 4c20fec045 wininet/tests: Avoid overflowing the buffer (Coverity). 2013-05-28 14:33:15 +02:00
Alexandre Julliard 147ffa0ccd wininet/tests: Use test.winehq.org for all certificate tests. 2013-05-23 20:03:17 +02:00
Alexandre Julliard a9175e6a65 wininet: Don't bother to free memory at process exit. 2013-05-15 10:32:40 +02:00
Daniel Lehman 2d89a140b2 wininet: Free local proxyinfo in INTERNET_ConfigureProxy. 2013-05-08 20:43:23 +02:00
Daniel Lehman d853009ef8 wininet: Remove old FIXME about bypassing proxy. 2013-05-08 20:43:23 +02:00
Daniel Lehman cbeb11b5f8 wininet: Copy should_bypass_proxy and domain_matches from winhttp. 2013-05-08 20:43:22 +02:00
Daniel Lehman 438be70838 wininet: Copy and pass along proxyBypass in INTERNET_ConfigureProxy. 2013-05-08 20:43:22 +02:00
Daniel Lehman d3308e6f09 wininet: Only accept proxy and proxy bypass if type is INTERNET_OPEN_TYPE_PROXY. 2013-05-08 20:43:22 +02:00
Daniel Lehman 73895b3279 wininet: Accept ProxyBypass from environment or registry. 2013-05-08 20:43:21 +02:00
Piotr Caban 33d62f3f17 wininet: Handle NULL req->netconn in INTERNET_OPTION_SECURITY_CERTIFICATE_STRUCT query. 2013-05-03 21:39:25 +02:00
Piotr Caban dd35601b07 wininet: Handle NULL req->netconn in INTERNET_DIAGNOSTIC_SOCKET_INFO query. 2013-05-03 21:39:24 +02:00
Hans Leidekker d8c92b6294 wininet/tests: Skip proxy tests on broken wininet. 2013-05-01 16:01:07 +02:00
Piotr Caban 8dfd89c2e0 wininet: Add test of reading gzipped content from cache. 2013-04-30 18:44:47 +02:00
Piotr Caban 422fb313d3 wininet: Get rid of rawHeaders field in request_t structure. 2013-04-30 18:44:47 +02:00
Piotr Caban 566b14479c wininet: Add current raw headers to cache. 2013-04-30 18:44:47 +02:00
Piotr Caban 7883976722 wininet: Delete Content-Encoding header when uncompressing data. 2013-04-30 18:44:46 +02:00
Piotr Caban 259ffa2a1a wininet: Take HTTP_QUERY_FLAG_REQUEST_HEADERS flag into account when creating HTTP_QUERY_RAW_HEADERS data information. 2013-04-30 18:44:46 +02:00
Piotr Caban e092233396 wininet: Create raw HTTP headers dynamically. 2013-04-30 18:44:46 +02:00
Hans Leidekker 736a4239a0 wininet: Always return errors from NETCON_recv. 2013-04-25 13:40:02 +02:00
Hans Leidekker 2145b637fd wininet: Get rid of the clear parameter to HTTP_GetResponseHeaders. 2013-04-25 13:40:01 +02:00
Hans Leidekker 669a1b3562 wininet/tests: Improve error reporting in a couple of tests. 2013-04-25 13:40:01 +02:00
Piotr Caban 103693e43b wininet: Load persistent cookies from other paths in get_cookie function. 2013-04-24 19:42:19 +02:00
Piotr Caban cf227b5f23 wininet: Fix cache container prefix initialization. 2013-04-24 14:32:37 +02:00
Piotr Caban 4c4a922e27 wininet: Improve searching for no-store header in HTTP response. 2013-04-24 14:32:34 +02:00
Hans Leidekker 54df9c9101 wininet: Include the Proxy-Connection header in the keep-alive check. 2013-04-22 12:37:51 +02:00
Hans Leidekker bedf296a27 wininet: Add support for INTERNET_OPTION_PROXY_USERNAME and INTERNET_OPTION_PROXY_PASSWORD. 2013-04-22 12:37:51 +02:00
Hans Leidekker 6f78a63b5b wininet: Don't strip the port from URLs returned by InternetQueryOption(INTERNET_OPTION_URL). 2013-04-22 12:37:51 +02:00
Hans Leidekker 578a1a6b26 wininet: Fix a request string leak. 2013-04-22 12:37:51 +02:00
Marcus Meissner d762b284d8 wininet: Added missing return (Coverity). 2013-04-22 12:32:07 +02:00
Hans Leidekker 26b59bf8e5 wininet/tests: Add tests for a prematurely closed connection. 2013-04-17 16:31:09 +02:00
Piotr Caban 0d50e86f6a wininet: Fixed Cache-Content: no-cache tests. 2013-04-15 15:17:21 +02:00
Francois Gouget cabbc4d983 wininet: Make urlcache_{entry_create,get_entry_info}() static. 2013-04-10 19:47:28 +02:00
Jacek Caban 77ed56cffb wininet: Don't bother reconnecting to server for compat secure mode if we don't have compat cred handle. 2013-04-08 19:49:07 +02:00
Piotr Caban b0ef7b401c wininet: Skip some urlcache Unicode tests if ANSI version of URL is not known. 2013-04-08 19:49:07 +02:00
Jacek Caban cde372700c wininet: Use schannel for HTTPS connection by defaul and get rid of OpenSSL dependency. 2013-04-03 17:50:03 +02:00
Jacek Caban cb1998afd2 wininet: Added NETCON_get_data_available support for schannel-based connections. 2013-04-03 17:49:50 +02:00
Jacek Caban 7d386bfcd8 wininet: Added NETCON_GetCert support for schannel-based connections. 2013-04-03 17:49:45 +02:00
Jacek Caban 6c6e084a7d wininet: Added NETCON_recv support for schannel-based connections. 2013-04-03 17:49:41 +02:00
Jacek Caban 71ba6fcb9f wininet: Added NETCON_send support for schannel-based connections. 2013-04-03 17:49:37 +02:00
Jacek Caban d473803765 wininet: Use schannel in NETCON_GetCipherStrength if OpenSSL is not available. 2013-04-03 17:49:29 +02:00
Jacek Caban 952588eac4 wininet: Use schannel in NETCON_secure_connect if OpenSSL is not available. 2013-04-03 17:49:18 +02:00
Jacek Caban 083500caf2 wininet: Moved more compat logic to netcon_secure_connect_setup. 2013-04-02 12:47:27 +02:00
Piotr Caban f08246c25f wininet: Added urlcache Unicode functions tests. 2013-04-01 19:28:59 +02:00
Piotr Caban 802387f82a wininet: Use InternetCrackUrl in urlcache_entry_create. 2013-04-01 19:28:53 +02:00
Piotr Caban a56fbf336e wininet: Support Punycode in RetrieveUrlCacheEntryStream. 2013-04-01 19:28:44 +02:00
Piotr Caban c5346085ae wininet: Support Punycode in urlcache_copy_entry. 2013-04-01 19:28:38 +02:00
Piotr Caban c0df87ba30 wininet: Support Punycode in CommitUrlCacheEntryW. 2013-04-01 19:28:31 +02:00
Piotr Caban d40867121f wininet: Support Punycode in CreateUrlCacheEntryW. 2013-04-01 19:28:08 +02:00
Piotr Caban 41b582beff wininet: Support Punycode in IsUrlCacheEntryExpiredW. 2013-04-01 19:27:47 +02:00
Piotr Caban 2f3f973923 wininet: Support Punycode in DeleteUrlCacheEntryW. 2013-04-01 19:27:42 +02:00
Piotr Caban 6f35d68f42 wininet: Support Punycode in UnlockUrlCacheEntryFileW. 2013-04-01 19:27:37 +02:00
Piotr Caban 4345e44dbb wininet: Support Punycode in RetrieveUrlCacheEntryFileW. 2013-04-01 19:27:32 +02:00
Piotr Caban f08e79ce92 wininet: Support Punycode in SetUrlCacheEntryInfoW. 2013-04-01 19:27:25 +02:00
Piotr Caban 940176d8cb wininet: Support Punycode in GetUrlCacheEntryInfoExW. 2013-04-01 19:27:17 +02:00
Piotr Caban ef4db477f0 wininet: Correctly set SYSTEMTIME year in HTTP_HttpQueryInfoW. 2013-04-01 18:17:28 +02:00
Piotr Caban a59210a6e8 wininet: Fixed buffer size check in urlcache_create_file_pathA. 2013-04-01 14:10:43 +02:00
Piotr Caban 96fb659ba9 wininet: Use short path name when container path can't be converted to CP_ACP. 2013-04-01 14:10:40 +02:00
Piotr Caban e4e79e7183 wininet: Store urlcache container prefix as ANSI string. 2013-04-01 14:10:37 +02:00
Piotr Caban 97e0cf9f5f wininet: Fixed memory leak in load_persistent_cookie. 2013-04-01 14:08:02 +02:00
Piotr Caban c8d1d76909 wininet: Do case-insensitive compare when looking for scheme. 2013-04-01 14:07:57 +02:00
Piotr Caban 2bcd8a3fae wininet: Reorder functions to avoid urlcache_create_hash_table forward declaration. 2013-03-26 12:14:39 +01:00
Piotr Caban 21b84e7ac9 wininet: Rename URLCacheContainers_* functions to cache_containers_*. 2013-03-26 12:14:32 +01:00
Piotr Caban 4e624561ca wininet: Rename URLCache_* functions to urlcache_*. 2013-03-26 12:14:16 +01:00
Piotr Caban 33725537c1 wininet: Rename URLCacheFindEntryHandle to find_handle. 2013-03-26 12:14:07 +01:00
Piotr Caban 299739d07f wininet: Rename URLCACHECONTAINER to cache_container. 2013-03-26 12:14:01 +01:00
Piotr Caban db9d650342 wininet: Rename STREAM_HANDLE to stream_handle. 2013-03-26 12:13:55 +01:00
Piotr Caban 39daf43ce3 wininet: Rename URLCACHE_HEADER to urlcache_header. 2013-03-26 12:13:50 +01:00
Piotr Caban d7ab4d74fe wininet: Rename HASH_CACHEFILE_ENTRY to entry_hash_table. 2013-03-26 12:13:42 +01:00
Jacek Caban c6005aabcd wininet: Use parsed status_code to test for CONTINUE HTTP response. 2013-03-15 11:49:59 +01:00
Piotr Caban a448427bf9 wininet: Rename URL_CACHEFILE_ENTRY to entry_url. 2013-03-13 17:44:42 +01:00
Piotr Caban 9d98ced7ec wininet: Rename CACHEFILE_ENTRY to entry_header. 2013-03-13 17:44:39 +01:00
Piotr Caban 0e0f06412a wininet: Added tests for Cache-Control: no-cache and no-store HTTP headers. 2013-03-13 17:12:11 +01:00
Piotr Caban 9d6843a8c1 wininet: Test if cache entry is created when INTERNET_FLAG_NO_CACHE_WRITE flag is used. 2013-03-13 17:12:06 +01:00
Piotr Caban bbbc6d119b wininet: Don't create cache file if it's forbidden. 2013-03-13 17:11:57 +01:00
Andrew Talbot ae77b3d368 wininet: Avoid signed-unsigned integer comparisons. 2013-03-13 11:29:29 +01:00
Jacek Caban 3157534347 wininet: Skip test_open_url_async on IEs older than 7. 2013-03-11 10:42:18 +01:00
Jacek Caban 9d11eee03d wininet: Added a test of request reading from cache. 2013-03-08 18:11:05 +01:00
Jacek Caban d1ce8ba053 wininet: Don't pass expected cache file size to CreateUrlCacheEntry if it's unknown. 2013-03-08 18:11:05 +01:00
Jacek Caban 7d8c8af9d7 wininet: Fixed crash in chunked_read if netconn is not available. 2013-03-07 19:35:03 +01:00
Piotr Caban 36ce3d256d wininet: Rename URLCacheContainer_* functions to cache_container_*. 2013-03-07 14:56:36 +01:00
Piotr Caban ee1fdbf246 wininet: Added better urlcache index file validation on first open.
index.dat file may get broken when computer is switched off incorrectly
or when application crashes
2013-03-07 14:56:29 +01:00
Piotr Caban 8a06b11f76 wininet: Cleanup and optimize URLCacheContainer_OpenIndex function. 2013-03-07 14:56:25 +01:00
Hans Leidekker 6a609c21bb wininet: Port resolution doesn't depend on the secure flag. 2013-03-06 15:10:44 +01:00
Piotr Caban b3c96b61bb wininet: Improved urlcache debug traces. 2013-03-06 15:10:39 +01:00
Alexandre Julliard 456773fdc0 wininet: Always pass a ULONG variable to ioctlsocket. 2013-03-06 14:09:57 +01:00
Jacek Caban 125583c4d9 wininet: Use secure variable instead of ssl_s handle in a few more places. 2013-03-04 19:28:21 +01:00
Jacek Caban febbb85528 wininet: Renamed socketFD to socket. 2013-03-01 18:03:30 +01:00
Jacek Caban c6ee6d6c9e wininet: Renamed useSSL to secure and set it after secure connection is established. 2013-03-01 18:03:30 +01:00
Jacek Caban 8ca611a598 wininet: Moved dialog-related functions to dialog.c. 2013-02-26 18:18:46 +01:00
Jacek Caban 376a4f7837 wininet: Don't call get_avail_data multiple times in HTTP_ReceiveRequestData. 2013-02-26 18:18:40 +01:00
Jacek Caban 85991a7cdd wininet: Fail in NETCON_secure_connect instead of create_netconn if OpenSSL is not available. 2013-02-21 19:16:36 +01:00
Jacek Caban aa4ccd807d wininet: Removed broken cache tests. 2013-02-18 17:02:18 +01:00
Jacek Caban 3098e3c355 wininet: Address string should never be converted to UNICODE in status notifications. 2013-02-18 17:02:14 +01:00
Jacek Caban 851866e22a wininet: Set available bytes in InternetQueryDataAvailable even if it ends up in async call. 2013-02-14 20:05:05 +01:00
Austin English 3b7c3f61bd wininet: Add a stub for LoadUrlCacheContent. 2013-02-14 17:33:23 +01:00
Hans Leidekker c68bb8da7f wininet/tests: Fix a test failure. 2013-02-12 19:56:42 +01:00
Alexandre Julliard dc82cf9d38 wininet: Don't reset the available size after the async has been queued. 2013-02-12 10:19:38 +01:00
Jacek Caban f824e20010 wininet: Get rid of WORKREQ* types. 2013-01-30 13:05:28 +01:00
Jacek Caban 302fd67e61 wininet: Moved WORKREQ_FTPDELETEFILEW out of WORKREQUEST. 2013-01-30 13:05:28 +01:00
Jacek Caban a489677fb5 wininet: Moved WORKREQ_FTPFINDNEXTW out of WORKREQUEST. 2013-01-30 13:05:23 +01:00
Jacek Caban d5c0b17ae7 wininet: Moved WORKREQ_FTPRENAMEFILEW out of WORKREQUEST. 2013-01-30 12:44:04 +01:00
Jacek Caban 228d6a6064 wininet: Moved WORKREQ_FTPOPENFILEW out of WORKREQUEST. 2013-01-30 12:44:00 +01:00
Jacek Caban f05b5b7e7e wininet: Moved WORKREQ_FTPFINDFIRSTFILEW out of WORKREQUEST. 2013-01-30 12:43:57 +01:00
Jacek Caban 059c77956f wininet: Moved WORKREQ_FTPGETCURRENTDIRECTORYW out of WORKREQUEST. 2013-01-30 12:43:54 +01:00
Jacek Caban b2deb67696 wininet: Moved WORKREQ_FTPGETFILEW out of WORKREQUEST. 2013-01-30 12:43:50 +01:00
Jacek Caban ffa7d16731 wininet: Moved WORKREQ_FTPREMOVEDIRECTORYW out of WORKREQUEST. 2013-01-29 17:50:17 +01:00
Jacek Caban d816de27fb wininet: Moved WORKREQ_FTPCREATEDIRECTORYW out of WORKREQUEST. 2013-01-29 17:50:17 +01:00
Jacek Caban 989bb5b983 wininet: Moved WORKREQ_FTPSETCURRENTDIRECTORYW out of WORKREQUEST. 2013-01-29 17:50:17 +01:00
Jacek Caban 47d0f5a167 wininet: Moved WORKREQ_FTPPUTFILEW out of WORKREQUEST. 2013-01-29 17:50:17 +01:00
Jacek Caban 195ea90f3b wininet: Moved WORKREQ_SENDCALLBACK out of WORKREQUEST. 2013-01-29 17:50:17 +01:00
Jacek Caban 7ca22d701d wininet: Moved WORKREQ_HTTPENDREQUESTW out of WORKREQUEST. 2013-01-29 17:50:17 +01:00
Detlef Riekenberg 097dee606e wininet: Don't depend on user settings. 2013-01-28 19:43:32 +01:00
Detlef Riekenberg 2a66b25e6d wininet: Remove most GetLastError tests for IsDomainLegalCookieDomainW. 2013-01-28 19:43:32 +01:00
Detlef Riekenberg e1c2f18ab1 wininet: Fix a test failure on w2k. 2013-01-28 19:43:32 +01:00
Jacek Caban 023abdacdb wininet: Moved WORKREQ_HTTPREADFILEEX out of WORKREQUEST. 2013-01-28 14:05:55 +01:00
Jacek Caban df74951257 wininet: Moved WORKREQ_INTERNETOPENURLW out of WORKREQUEST. 2013-01-28 14:05:52 +01:00
Jacek Caban 940a67c8a5 wininet: Moved WORKREQ_HTTPSENDREQUESTW out of WORKREQUEST. 2013-01-28 14:05:49 +01:00
Jacek Caban 63e6a4b2e1 wininet: Moved WORKREQUEST allocation to INTERNET_AsyncCall callers. 2013-01-28 14:05:46 +01:00
Jacek Caban 81edd2acfc wininet: Fixed handling NULL buffer in INTERNET_OPTION_PROXY queries. 2013-01-08 12:18:06 +01:00
Andrew Eikum d6c0e8159b wininet: Fail on URLs without a scheme. 2013-01-02 13:10:51 +01:00
Jacek Caban f877fe9ba4 wininet: Properly handle output buffer size in InternetGetCookieA. 2012-12-28 11:26:56 +01:00
Jacek Caban 0c02e35841 wininet: Properly handle output buffer size in InternetGetCookieW. 2012-12-28 11:26:52 +01:00
Chae Jong Bin e8307fe160 wininet: Add stub for DeleteWpadCacheForNetworks. 2012-12-27 17:15:40 +01:00
Piotr Caban a62e3f6442 wininet: NULL terminate cookie data in load_persistent_cookie function. 2012-12-21 17:29:03 +01:00
Piotr Caban 2f35659035 wininet: Fixed CreateUrlCacheEntryW behaviour on URLs without '\' and '/' characters. 2012-12-21 17:28:59 +01:00
Hans Leidekker f33f7a5df1 wininet: Map socket errors to ERROR_INTERNET_CANNOT_CONNECT in create_netconn_socket. 2012-12-19 14:38:59 +01:00
Hans Leidekker 59247cf9db wininet: Don't perform revocation checks when verifying a certificate. 2012-12-11 12:03:42 +01:00
Jacek Caban bfad905bd8 wininet: Fixed handling empty HTTP version string in HttpOpenRequest. 2012-12-10 11:27:21 +01:00
Jacek Caban 21e7e28d64 wininet: Fixed NULL cookie data pointer handling in InternetGetCookieA. 2012-12-03 19:13:23 +01:00
Jacek Caban 5554292284 wininet: Use generic ReadFileEx entry in InternetReadFileExA and get rid of ReadFileExA entry. 2012-11-23 18:06:09 +01:00
Jacek Caban 52144829d1 wininet: Don't take INTERNET_BUFFERSW as argument in object's ReadFileEx entry. 2012-11-23 18:06:08 +01:00
Andrew Talbot 2691e580a0 wininet: Remove unused variable. 2012-11-23 14:40:54 +01:00
Jacek Caban 3e23b5e589 wininet: Use proxy settings directly from http_request_t in a few more places. 2012-11-19 16:35:17 +01:00
Jacek Caban 5fb49243af wininet: Use processed string from server_t for constructing proxy path. 2012-11-19 16:35:16 +01:00
Jacek Caban 3cf2838a93 wininet: Store more useful strings in server_t. 2012-11-19 16:35:16 +01:00
Jacek Caban e1d26a24ed wininet: Allow passing INTERNET_INVALID_PORT_NUMBER port to get_server. 2012-11-19 16:35:15 +01:00
Jacek Caban cdf25ee469 wininet: Store an info if connection is HTTPS in server_t. 2012-11-19 16:35:14 +01:00
Erich Hoover 499c53175b wininet: Fix InternetCrackUrl parsing URLs containing a semicolon. 2012-11-16 19:25:11 +01:00
Jacek Caban bd42c0416a wininet: Fixed HTTP CONNECT secure connection. 2012-11-16 17:42:47 +01:00
Jacek Caban c8da35729c wininet: Store both proxy and destination host in http_request_t. 2012-11-16 17:42:46 +01:00
Marcus Meissner 02a80554f8 wininet: Move freeing netconn into create_netconn_socket (Coverity). 2012-11-15 21:22:05 +01:00
Jacek Caban 54639c5dc5 wininet: Commit cache file as soon as all data is written. 2012-11-02 19:47:19 +01:00
Jacek Caban b012765e91 wininet: Write received data to cache before notifying progress. 2012-11-02 19:47:18 +01:00
Hiroshi Miura 923ac2e546 wininet: Add a TLS fallback mechanism. 2012-11-01 19:16:25 +01:00
André Hentschel 5010f0933e wininet: Fix WININET_SetAuthorization on error path (coverity). 2012-10-31 16:12:27 +01:00
Francois Gouget ed9e745580 Assorted spelling tweaks and fixes. 2012-10-22 12:21:55 +02:00
Piotr Caban 8e6d2bab37 wininet: Fixed failing test. 2012-10-03 13:14:29 +02:00
Piotr Caban a3a909f2b9 wininet: Correctly set headers size in CommitUrlCacheEntryW function. 2012-10-03 11:29:35 +02:00
Piotr Caban b9c2a19591 wininet: Make cookies functions thread-safe. 2012-10-01 14:32:29 +02:00
Piotr Caban fc219b0ab3 wininet: Added basic cookie domain validation in set_cookie function. 2012-10-01 14:32:24 +02:00
Piotr Caban c34bc977a0 wininet: Added basic persistent cookie tests. 2012-10-01 14:32:17 +02:00
Piotr Caban b49c980d0d wininet: Added support for persistent cookies. 2012-10-01 14:32:11 +02:00
Piotr Caban e4a0281679 wininet: Added support for urlcache file name generating. 2012-10-01 14:32:02 +02:00
Piotr Caban ee47def0ad wininet: Added more fields to cookie structure. 2012-10-01 14:31:49 +02:00
Francois Gouget 906127fe29 Assorted spelling fixes. 2012-10-01 12:07:41 +02:00
Francois Gouget 83af29fb03 wininet: Add a trailing '\n' to a couple of Wine traces. 2012-09-26 14:40:48 +02:00
Piotr Caban fa0f0630c5 wininet: Delete cache directory when cache version doesn't match. 2012-09-26 14:40:48 +02:00
Piotr Caban d2e5bb30eb wininet: Don't ask for confirmation while deleting cache directory. 2012-09-26 14:40:46 +02:00
Piotr Caban 306f53cbf2 wininet: Added more GetUrlCacheEntryInfo tests with GET_INSTALLED_ENTRY flag. 2012-09-25 21:13:08 +02:00
Piotr Caban f9e80f588a wininet: Ignore unsupported flags in GetUrlCacheEntryInfoEx functions. 2012-09-25 21:13:08 +02:00
Piotr Caban 7c6f0c9470 wininet: Fixed handling of GET_INSTALLED_ENTRY flag in GetUrlCacheEntryInfoW. 2012-09-25 21:13:08 +02:00
Piotr Caban a342ded288 wininet: Fixed handling of GET_INSTALLED_ENTRY flag in GetUrlCacheEntryInfoA. 2012-09-25 21:13:07 +02:00
Piotr Caban 134db11eff wininet: Move GetUrlCacheEntryInfoA code to GetUrlCacheEntryInfoExA function. 2012-09-25 21:13:07 +02:00
Francois Gouget 2606b85687 wininet: Check for the 'http:' protocol in a locale independent way. 2012-09-25 11:42:38 +02:00
Francois Gouget 5f55a71b70 Assorted spelling fixes. 2012-09-24 22:27:29 +02:00
Piotr Caban d07d3cbe91 wininet: Added support for cache containers without subdirectories. 2012-09-24 22:27:28 +02:00
Piotr Caban 78835843c2 wininet: Added support for cache path parameter in FreeUrlCacheSpace function. 2012-09-24 22:27:28 +02:00
Piotr Caban 71511c9fc5 wininet: Added tests for entries with identical hash key. 2012-09-24 22:27:28 +02:00
Piotr Caban 122daa50bc wininet: Reserve more space for urlcache entry flags. 2012-09-24 22:27:28 +02:00
Francois Gouget 51c90eba23 wininet: Make URLCacheContainers_{Create,Delete}All() static. 2012-09-24 16:38:16 +02:00
Piotr Caban 8bb1af84f4 wininet: Update used blocks count when block is allocated or freed. 2012-09-21 18:29:25 +02:00
Piotr Caban 34dc796406 wininet: Stop urlcache clearing when dll is being unloaded. 2012-09-21 18:29:24 +02:00
Piotr Caban 66931e4d9f wininet: Improved FreeUrlCacheSpaceW implementation. 2012-09-21 18:29:24 +02:00
Piotr Caban ed71ed596f wininet: Call FreeUrlCacheSpaceW when cache is full. 2012-09-21 18:29:24 +02:00
Piotr Caban e3a2e3a1c9 wininet: Don't delete files that were modified after adding to cache. 2012-09-19 16:31:56 +02:00
Piotr Caban b7010348cf wininet: Added support for leaked urlcache entries handling. 2012-09-19 16:31:41 +02:00
Piotr Caban dba38b1ab4 wininet: Define more fields in urlcache header structure. 2012-09-19 16:31:32 +02:00
Piotr Caban 95a4f3dd6d wininet/tests: Remove all temporary files. 2012-09-18 14:51:29 +02:00
Piotr Caban 65034ce2a4 wininet: Set entry type based on container type. 2012-09-18 14:51:21 +02:00
Piotr Caban 8f2b0fdf52 wininet: Added support for cache entries overwriting. 2012-09-18 14:51:05 +02:00
Piotr Caban 6935b7c73b wininet: Unlock urlcache entries that were locked for over a day. 2012-09-18 14:50:59 +02:00
Piotr Caban 359ed33824 wininet: Delete file when cache entry is deleted. 2012-09-18 14:50:54 +02:00
Piotr Caban 7967f8beec wininet: Don't define DELETED_CACHE_ENTRY in public headers. 2012-09-18 14:50:49 +02:00
Jacek Caban c4c3ff47e7 wininet: Set last error for invalid URL argument. 2012-09-04 17:32:31 +02:00
Gerald Pfeifer 44953d7003 wininet: Fix initialization in test_cert_struct. 2012-08-20 20:18:11 +02:00
Bruno Jesus dc9f5becd1 wininet/tests: Add invalid index test for HttpQueryInfo. 2012-08-17 09:56:39 +02:00
Alex Henrie 0b64d319c9 wininet: Support ICU_ENCODE_PERCENT, ICU_ENCODE_SPACES_ONLY, and ICU_NO_META. 2012-07-31 10:53:54 +02:00
Dan Kegel 766eecaf07 wininet: Don't evaluate netconn_get_avail_data() twice in netconn_read(). 2012-07-11 10:09:56 -05:00
Jacek Caban c400117027 wininet: Try harder to reuse connection after authorization. 2012-07-02 19:18:08 +02:00
Thomas Faber 62d6b24e4c wininet: Use the correct type for sock_namelen in FTP_Connect. 2012-06-20 19:26:13 +02:00