Commit Graph

1572 Commits

Author SHA1 Message Date
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
Jacek Caban 0d76489353 wininet: Added special case for HTTP_QUERY_STATUS_CODE in HttpQueryInfo. 2012-05-03 20:44:13 +02:00
Jacek Caban 797a17bb2d wininet: Use stored status code in HTTP_HttpEndRequestW. 2012-05-03 20:44:13 +02:00
Jacek Caban 4cf3f78542 wininet: Use stored status code in HTTP_HttpSendRequestW. 2012-05-03 20:44:12 +02:00
Jacek Caban 5240e40b69 wininet: Store status code in http_request_t and use it in set_content_length. 2012-05-03 20:44:12 +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
Jacek Caban 905ede6c6d wininet: Use hostname stored in server_t in NETCON_secure_connect. 2012-04-30 19:32:58 +02:00
Piotr Caban 9d68333f78 wininet: Use the same hashing function as native does. 2012-04-19 19:28:11 +02:00
Piotr Caban fdf2e15b80 wininet: Store correct urlcache file size. 2012-04-13 17:27:54 +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 91296abb63 wininet: Implement urlcache index growing. 2012-04-06 20:13:01 +02:00
Piotr Caban dab1f7c38e wininet: Return error code in URLCache_FindFirstFreeEntry function. 2012-04-06 20:12:53 +02:00
Piotr Caban 4254bdbfb2 wininet: Don't reserve space for directory in URL cache entry. 2012-04-06 20:12:49 +02:00
Piotr Caban c9983b1159 wininet: Don't overwrite locked entry in CommitUrlCacheEntry. 2012-04-06 20:12:44 +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
Piotr Caban 299f9e6b47 wininet: Only mark elements as deleted in DeleteUrlCacheEntry function. 2012-04-04 17:57:52 +02:00
Piotr Caban e4ad164f6e wininet: Set uninitialized memmory to 0xdeadbeef in cache files. 2012-04-03 17:54:40 +02:00
Piotr Caban edcc395dac wininet: Mark empty fields in the same way while hash table is created and element is removed. 2012-04-03 17:54:33 +02:00
Piotr Caban 39bc1faa8f wininet: Correctly set next hash table offset. 2012-04-03 17:54:28 +02:00
Piotr Caban dedd42fb4f wininet: Store element type and state in hash table key (urlcache). 2012-04-03 17:54:24 +02:00
Jacek Caban a3709badab wininet: Added more connection limit options tests. 2012-03-08 17:59:40 +01:00
Jacek Caban 9641515bc0 wininet: Added separated function for querying global options. 2012-03-08 17:59:35 +01:00
Jacek Caban 35587e5608 wininet: Added INTERNET_OPTION_MAX_CONNS_PER_SERVER and INTERNET_OPTION_MAX_CONNS_PER_1_0_SERVER options setting implementation. 2012-03-08 17:59:28 +01:00
Jacek Caban a59204a466 wininet: Use separate function for setting global options. 2012-03-08 17:59:08 +01:00
Jacek Caban 4863257e30 wininet: Added default fallback for setting handle options and use it for INTERNET_OPTION_CALLBACK. 2012-03-08 17:59:02 +01:00
Frédéric Delanoy 39d378538d wininet: Avoid dead code in FTP_FtpOpenFileW (Coverity). 2012-01-26 19:10:16 +01:00
Jacek Caban dfa9f4bc26 wininet: Insert custom headers only once in HTTP_HttpSendRequestW. 2012-01-24 20:43:14 +01:00
Jacek Caban ac26517ac9 wininet: Correctly detect https connections and custom port numbers in HTTP_HandleRedirect. 2012-01-24 20:43:13 +01:00
Hans Leidekker 6522393265 wininet: Add support for setting and retrieving the send/receive timeouts. 2012-01-16 12:16:41 +01:00
Hans Leidekker 848cd8a2f5 wininet: Add support for setting and retrieving the connect timeout. 2012-01-16 12:16:37 +01:00
Hans Leidekker 72273a0786 wininet: Implement the connect timeout. 2012-01-16 12:16:30 +01:00
Alexandre Julliard 2329f91998 wininet: Don't free name before the IPv6 lookup. 2012-01-11 20:11:39 +01:00
Pierre Schweitzer 85e2b4d7df wininet: Fix handle leak. 2012-01-03 12:37:36 +01:00
Jacek Caban 7a1ad69869 wininet: Added more connection failure tests. 2011-12-08 18:04:31 +01:00
Jacek Caban 892d3cd46b wininet: Properly handle closed connection in HTTP_HttpEndRequestW. 2011-12-08 18:04:30 +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
Alexandre Julliard 68c7aa266f wininet: Convert dialogs to po files. 2011-11-30 19:57:15 +01:00
Andy Clayton da11075000 wininet: Avoid calling HTTP_ReceiveRequestData before reading headers. 2011-11-23 18:08:48 +01:00
Francois Gouget 17929b925e wininet: Give a name to the critical sections, make them static and delete them when unloading the dll. 2011-11-16 17:02:22 +01:00
Francois Gouget 37f7089a4a wininet: Add prototypes for a couple of mpr functions. 2011-11-15 19:37:35 +01:00
André Hentschel 4896f94aaf wininet: Improve stub message for InternetSetFilePointer. 2011-11-15 11:49:03 +01:00
Austin English 25bc31ac2e wininet: Add a stub for ShowClientAuthCerts. 2011-11-03 17:42:05 +01:00
Austin English 9536a9cc1b wininet: Add a stub for RunOnceUrlCache. 2011-11-02 12:26:48 +01:00
Juan Lang 044f645477 wininet: Implement ShowX509EncodedCertificate. 2011-11-01 10:36:27 +01:00
André Hentschel adea3c5dda wininet: Add a stub for ShowX509EncodedCertificate. 2011-10-31 17:52:02 +01:00
Juan Lang ad3e22d5ee wininet: Fix off by one error parsing RFC 850 dates. 2011-10-25 16:57:25 +02:00
Juan Lang aeca2f98fa wininet: Accept RFC 850 dates in HTTP headers. 2011-10-24 11:15:59 +02:00
Andrew Talbot 31b3cbfb93 wininet: Add a break to a switch statement. 2011-10-19 16:38:51 +02:00