Commit Graph

225 Commits

Author SHA1 Message Date
Alexandre Julliard 3c31cc5836 wininet: Build with msvcrt.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-11-25 20:47:43 +01:00
Dmitry Timoshkov ca29ac4650 wininet: Make GetUrlCacheConfigInfo() return actual dwQuota and dwCacheSize.
Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-01-28 22:27:55 +01:00
Dmitry Timoshkov 0cdca521e9 wininet: Return proper cache path from GetUrlCacheConfigInfo.
Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-01-24 20:10:01 +01:00
Michael Stefaniuc b1a3b9e5ce wininet: Use the ARRAY_SIZE() macro.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-09-20 19:44:17 +02:00
Alistair Leslie-Hughes 43deec95f6 wininet: Use standard wine_dbgstr_longlong.
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-08-25 12:47:14 +02:00
Andrew Eikum 7e841432ed wininet: Don't crash by debug printing too long URLs.
Signed-off-by: Andrew Eikum <aeikum@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-09-28 11:26:53 +09:00
Jacek Caban 441347f084 wininet: Store cookie URL in cookie_container_t.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-05-19 11:57:59 +09:00
Piotr Caban 1a738a556c wininet: Improve handling of long URLs in CreateUrlCacheEntry function. 2015-06-19 17:02:24 +09:00
Michael Müller 9564940461 wininet: Use random names when caching very long urls. 2015-06-15 15:29:05 +09:00
Francois Gouget a1e90facf8 wininet: Remove an unneeded NONAMELESSSTRUCT directive. 2015-04-01 14:13:12 +09:00
Michael Stefaniuc 745a549972 wininet: Remove unused code, sizeof(void*)%4 is always false (PVS-Studio). 2015-03-05 21:22:01 +09:00
Jacek Caban 5436fef807 wininet: Always use winsock sockets. 2015-02-13 21:47:13 +09:00
Jacek Caban 2aaff6e19f wininet: Include trailing slash in URL cache hashes. 2014-07-16 14:01:05 +02:00
Piotr Caban cf227b5f23 wininet: Fix cache container prefix initialization. 2013-04-24 14:32:37 +02:00
Marcus Meissner d762b284d8 wininet: Added missing return (Coverity). 2013-04-22 12:32:07 +02:00
Francois Gouget cabbc4d983 wininet: Make urlcache_{entry_create,get_entry_info}() static. 2013-04-10 19:47:28 +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 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 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
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 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
Piotr Caban b3c96b61bb wininet: Improved urlcache debug traces. 2013-03-06 15:10:39 +01:00
Austin English 3b7c3f61bd wininet: Add a stub for LoadUrlCacheContent. 2013-02-14 17:33:23 +01:00
Chae Jong Bin e8307fe160 wininet: Add stub for DeleteWpadCacheForNetworks. 2012-12-27 17:15:40 +01:00
Piotr Caban 2f35659035 wininet: Fixed CreateUrlCacheEntryW behaviour on URLs without '\' and '/' characters. 2012-12-21 17:28:59 +01:00
Francois Gouget ed9e745580 Assorted spelling tweaks and fixes. 2012-10-22 12:21:55 +02:00
Piotr Caban a3a909f2b9 wininet: Correctly set headers size in CommitUrlCacheEntryW function. 2012-10-03 11:29:35 +02:00
Piotr Caban e4a0281679 wininet: Added support for urlcache file name generating. 2012-10-01 14:32:02 +02:00