Commit Graph

1737 Commits

Author SHA1 Message Date
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