Commit Graph

1723 Commits

Author SHA1 Message Date
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
Jacek Caban e2a9511b30 wininet: Added support for more certificate error types. 2012-06-18 17:49:05 +02:00
Thomas Faber 7d24e59229 wininet: Use the correct struct in a sizeof. 2012-06-18 11:59:41 +02:00
Jacek Caban 120c413f39 wininet: Fixed returned buffer size in HttpQueryInfo(HTTP_QUERY_STATUS_CODE) when insufficient buffer is passed. 2012-06-15 20:29:28 +02:00
Alexandre Julliard 3521e1b89b wininet: Fix a compiler warning on Mingw. 2012-06-15 18:35:44 +02:00
Thomas Faber 0b60b8f35a wininet: Correctly fail INTERNET_OPTION_SECURITY_CERTIFICATE_STRUCT if libssl is not available. 2012-06-15 18:35:33 +02:00
Jacek Caban 1325c400c1 wininet: Added InternetGetSecurityInfoByURL tests. 2012-06-11 12:19:07 +02:00
Jacek Caban 6c764fbd47 wininet: Added InternetGetSecurityInfoByURL[AW] implementation. 2012-06-11 12:19:07 +02:00
Jacek Caban e3dfbe33f6 wininet: Skip security flags tests on too old wininet versions. 2012-06-08 19:35:08 +02:00
Jacek Caban 74f596c5ed wininet: Read status code directly from request object in InternetErrorDlg. 2012-06-08 18:00:17 +02:00
Jacek Caban ebff6036bf wininet: Access request object directly in WININET_SetAuthorization. 2012-06-08 18:00:12 +02:00
Jacek Caban 4f51146a46 wininet: Access directly host name from request object in dialogs. 2012-06-08 18:00:04 +02:00
Jacek Caban 9bc3046896 wininet: Simplify proxy server access in dialogs. 2012-06-08 17:59:59 +02:00
Jacek Caban f6fc1e3cac wininet: Added more security flags and errors tests. 2012-06-07 16:07:13 +02:00
Jacek Caban 448f2452c4 wininet: Added support for ERROR_INTERNET_SEC_CERT_REV_FAILED in InternetErrorDlg. 2012-06-07 16:07:13 +02:00
Jacek Caban 964e538ba9 wininet: Set SECURITY_FLAG_SECURE when error dialog ignores invalid certificate. 2012-06-07 16:07:12 +02:00
Jacek Caban b5fec3c033 wininet: Store request object instead of handle in error dialog. 2012-06-07 16:07:12 +02:00
Jacek Caban d8b5f468ab wininet: Added support for undocumented InternetSetOption(99) call. 2012-06-07 16:07:11 +02:00
Jacek Caban c3eec8dc57 wininet: Improved handling ERROR_INTERNET_INVALID_CA error. 2012-06-07 16:07:11 +02:00
Jacek Caban 8dbc39b4be wininet: Properly set flags in InternetSetOption(INTERNET_OPTION_SECURITY_FLAGS). 2012-06-06 20:54:22 +02:00
Jacek Caban 4c7e9aa920 wininet: Added InternetGetSecurityInfoByURL* stubs. 2012-06-06 20:54:22 +02:00
Jacek Caban 0133683c46 wininet: Added support for undocumented InternetQueryOption(98). 2012-06-05 10:23:54 +02:00
Jacek Caban 2ef0676042 wininet: Set correct security flags in InternetErrorDlg for ERROR_INTERNET_SEC_CERT_ERRORS. 2012-06-01 17:41:52 +02:00
Jacek Caban f5cbc9f3f2 wininet: Properly set security flags for ERROR_INTERNET_SEC_CERT_DATE_INVALID. 2012-06-01 17:41:52 +02:00
Jacek Caban 37e483d567 wininet: Use CRLF separator in INTERNET_CERTIFICATE_INFO. 2012-05-30 17:17:56 +02:00
Jacek Caban 2ed97ebe43 wininet: Get rid of no longer used serverName and serverPort from http_session_t. 2012-05-29 10:44:08 +02:00
Jacek Caban a24b5588d2 wininet: Fixed grouping security error flags. 2012-05-29 10:43:58 +02:00
Jacek Caban 79259064c9 wininet: Handle error flags only for masked-error mode. 2012-05-29 10:43:50 +02:00
Jacek Caban 22e25ea006 wininet: Added INTERNET_OPTION_SECURITY_FLAGS tests. 2012-05-25 16:59:01 +02:00
Jacek Caban 868575a416 wininet: Store certificate error information in security flags. 2012-05-25 16:58:56 +02:00
Jacek Caban f8f2273b7c wininet: Added INTERNET_OPTION_SETTINGS_CHANGED semi-stub implementation. 2012-05-25 16:48:16 +02:00
Jacek Caban 95c1b74fc9 wininet: Store server_t on the list until clean up. 2012-05-25 16:48:11 +02:00
Jacek Caban f3dd75d8a4 wininet: Set SECURITY_FLAG_STRENGTH_* flags in NETCONN_secure_connect. 2012-05-25 16:48:06 +02:00
Jacek Caban 90ec92dfd1 wininet: Set SECURITY_FLAG_SECURRE in NETCON_secure_connect. 2012-05-25 16:48:01 +02:00
Jacek Caban 59a0ab54cb wininet: Store security flags in server_t. 2012-05-25 16:47:57 +02:00
Jacek Caban 3aeb8eb6b6 wininet: Store server_t in http_request_t. 2012-05-25 16:47:52 +02:00
Jacek Caban 23440d918b wininet: Added better traces for status info in INTERNET_SendCallback. 2012-05-24 20:08:47 +02:00
Jacek Caban 17d683b0f4 wininet: Added INTERNET_OPTION_REQUEST_FLAGS tests. 2012-05-24 20:08:47 +02:00
Jacek Caban 27af81972f wininet: Added real implementation of InternetQueryOption(INTERNET_OPTION_REQUEST_FLAGS). 2012-05-24 20:08:46 +02:00
Alexander Morozov ef95a79384 wininet: Add "Content-Disposition" field. 2012-05-24 19:53:43 +02:00
Jacek Caban c0400560b5 wininet: Moved querying INTERNET_OPTION_REQUEST_FLAGS implementation to HTTPREQ_QueryOption. 2012-05-23 19:12:11 +02:00
Michael Stefaniuc 92c97c1710 wininet/tests: Remove wrong check for 'len'. 2012-05-22 17:44:02 +02:00
Hans Leidekker b1c4eecdc8 wininet: Support setting the user agent string on handles returned by InternetOpen. 2012-05-18 18:10:32 +02:00
Francois Gouget fac36c55e9 Assorted typo, spelling, wording and case fixes. 2012-05-15 16:26:43 +02:00
Francois Gouget d0579d02cc wininet: Fix the spelling of an InternetQueryDataAvailable() parameter. 2012-05-15 16:26:42 +02:00
Piotr Caban d5913b5c45 wininet/tests: Added INTERNET_OPTION_CONNECT_TIMEOUT setting tests. 2012-05-14 17:46:37 +02:00
Piotr Caban 0b42100615 wininet: Store connect timeout in all layers. 2012-05-14 17:46:31 +02:00
Jacek Caban 07e5b87feb wininet: Fixed typo in tests and accompanying implementation. 2012-05-14 17:42:13 +02:00
Alexandre Julliard 0b3b6ba26d wininet/tests: Mark a failing test as broken. 2012-05-09 23:20:51 +02:00
Alexandre Julliard 80376eacd5 wininet/tests: Add even more optional COOKIE_SENT messages. 2012-05-03 23:40:21 +02:00
Jacek Caban 2aa3d697a3 wininet: Set status code OK for responses without headers. 2012-05-03 20:44:14 +02:00