Commit Graph

487 Commits

Author SHA1 Message Date
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
Hans Leidekker 669a1b3562 wininet/tests: Improve error reporting in a couple of tests. 2013-04-25 13:40:01 +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 bedf296a27 wininet: Add support for INTERNET_OPTION_PROXY_USERNAME and INTERNET_OPTION_PROXY_PASSWORD. 2013-04-22 12:37:51 +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
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
Piotr Caban f08246c25f wininet: Added urlcache Unicode functions tests. 2013-04-01 19:28:59 +02:00
Piotr Caban c8d1d76909 wininet: Do case-insensitive compare when looking for scheme. 2013-04-01 14:07:57 +02: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
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
Hans Leidekker 6a609c21bb wininet: Port resolution doesn't depend on the secure flag. 2013-03-06 15:10:44 +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
Hans Leidekker c68bb8da7f wininet/tests: Fix a test failure. 2013-02-12 19:56:42 +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 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
Hans Leidekker f33f7a5df1 wininet: Map socket errors to ERROR_INTERNET_CANNOT_CONNECT in create_netconn_socket. 2012-12-19 14:38:59 +01:00
Jacek Caban 21e7e28d64 wininet: Fixed NULL cookie data pointer handling in InternetGetCookieA. 2012-12-03 19:13:23 +01:00
Erich Hoover 499c53175b wininet: Fix InternetCrackUrl parsing URLs containing a semicolon. 2012-11-16 19:25:11 +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
Piotr Caban 8e6d2bab37 wininet: Fixed failing test. 2012-10-03 13:14: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 306f53cbf2 wininet: Added more GetUrlCacheEntryInfo tests with GET_INSTALLED_ENTRY flag. 2012-09-25 21:13:08 +02:00
Piotr Caban 71511c9fc5 wininet: Added tests for entries with identical hash key. 2012-09-24 22:27:28 +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 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
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
Jacek Caban 1325c400c1 wininet: Added InternetGetSecurityInfoByURL tests. 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 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 b5fec3c033 wininet: Store request object instead of handle in error dialog. 2012-06-07 16:07:12 +02:00
Jacek Caban 0133683c46 wininet: Added support for undocumented InternetQueryOption(98). 2012-06-05 10:23:54 +02:00
Jacek Caban 37e483d567 wininet: Use CRLF separator in INTERNET_CERTIFICATE_INFO. 2012-05-30 17:17:56 +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 17d683b0f4 wininet: Added INTERNET_OPTION_REQUEST_FLAGS tests. 2012-05-24 20:08:47 +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
Francois Gouget fac36c55e9 Assorted typo, spelling, wording and case fixes. 2012-05-15 16:26:43 +02:00
Piotr Caban d5913b5c45 wininet/tests: Added INTERNET_OPTION_CONNECT_TIMEOUT setting tests. 2012-05-14 17:46:37 +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
Jacek Caban 0d76489353 wininet: Added special case for HTTP_QUERY_STATUS_CODE in HttpQueryInfo. 2012-05-03 20:44:13 +02:00
Jacek Caban ebf406c163 wininet: Clean up HTTP_QUERY_STATUS_CODE tests. 2012-05-03 20:44:11 +02:00
Alexandre Julliard 9ec1f7ba1b wininet/tests: Add more optional COOKIE_SENT messages. 2012-05-03 10:11:28 +02:00
Alexandre Julliard 415d7a4401 wininet/tests: Add some optional COOKIE_SENT messages in various places. 2012-05-02 13:01:34 +02:00
Morten Rønne 4b3e4fa87b wininet/tests: Moved a test outside a loop to make numbers of tests run independent on the numbers of entries in the cache. 2012-04-09 18:10:32 +02:00
Piotr Caban d1ecb6d9ba wininet: Don't delete locked entry in DeleteUrlCacheEntry. 2012-04-06 20:12:40 +02:00
Morten Rønne e0f93874c8 wininet/tests: Added more tests for urlcache, including a new flag in CacheEntryType. 2012-04-05 17:53:14 +02:00
Morten Rønne fb81502a50 wininet/tests: Fixed text errors in tests. 2012-04-05 17:53:14 +02:00
Jacek Caban a3709badab wininet: Added more connection limit options tests. 2012-03-08 17:59:40 +01:00
Jacek Caban 7a1ad69869 wininet: Added more connection failure tests. 2011-12-08 18:04:31 +01:00
Jacek Caban 3dc2c3ca44 wininet: Use test.winehq.org instead of crossover.codeweavers.com in test_async_HttpSendRequestEx. 2011-12-08 18:04:30 +01:00
Andy Clayton da11075000 wininet: Avoid calling HTTP_ReceiveRequestData before reading headers. 2011-11-23 18:08:48 +01:00
Hans Leidekker 85e9e21929 wininet: Ignore the accept types array in HttpOpenRequestA if there are invalid pointers. 2011-09-27 16:24:26 +02:00
Alexandre Julliard 905d6844e3 wininet/tests: Avoid crash on test failure. 2011-09-09 15:57:59 +02:00
Alexandre Julliard 006bb26b8c wininet/tests: Remove an invalid FTP test. 2011-09-01 18:06:39 +02:00
André Hentschel 37cdf6bd26 wininet: Test and fix possible error situations for InternetQueryOption with INTERNET_OPTION_PROXY. 2011-08-24 12:14:46 +02:00
Austin English c13f29357a wininet/tests: Remove win9x hacks. 2011-07-27 12:26:18 +02:00
Austin English 2a16ae1d06 wininet: Make sure to use return values (LLVM/Clang). 2011-07-26 10:21:44 +02:00
Jacek Caban a664fa8041 wininet: Added dwError of INTERNET_STATUS_REQUEST_COMPLETE notifications tests. 2011-06-10 15:28:42 +02:00
Jacek Caban 8e37ed551a wininet: Don't pass handle to INTERNET_REQUEST_COMPLETE unless the request is opened via InternetPoenUrl. 2011-06-10 15:28:32 +02:00
Jacek Caban 6eff315555 wininet: Added connection closing tests. 2011-05-23 16:25:44 +02:00
Jacek Caban 5a5eddfe81 wininet: Added 204 No Content response tests. 2011-05-13 17:05:27 +02:00
Jacek Caban 188de03497 wininet: Better closing async handles in tests. 2011-05-13 17:05:27 +02:00
Jacek Caban 3ab297125d wininet: Clean up closing connection notifications tests. 2011-05-13 17:05:27 +02:00
Jacek Caban 8a1df203ae wininet: Added support for persistent HTTP connections. 2011-05-10 18:57:23 +02:00
Jacek Caban aa4e663954 wininet: Use test.winehq.org for post tests. 2011-05-02 16:38:01 +02:00
Jacek Caban 7611d10732 wininet: Added more tests. 2011-04-04 11:53:01 +02:00
Francois Gouget 4abe4cf1b1 wininet/tests: Fix compilation on systems that don't support nameless unions. 2011-03-18 11:28:45 +01:00
Francois Gouget d705465de8 wininet/tests: Make test_InternetErrorDlg() static. 2011-03-16 14:14:24 +01:00
Jacek Caban 71265980ff wininet: Update remaining HttpOpenRequest to use the new hello.html location. 2011-03-15 17:14:07 +01:00
Alexandre Julliard ac6a5a6355 wininet/tests: Update test data location to test.winehq.org/tests. 2011-03-14 19:31:31 +01:00
Juan Lang 819eb52866 wininet: Reimplement IsUrlCacheEntryExpired. 2011-03-11 11:41:55 +01:00
Juan Lang 190acb9e26 wininet: Implement sticky url cache entries. 2011-03-10 14:27:35 +01:00