Commit Graph

564 Commits

Author SHA1 Message Date
Daniel Lehman d853009ef8 wininet: Remove old FIXME about bypassing proxy. 2013-05-08 20:43:23 +02:00
Daniel Lehman cbeb11b5f8 wininet: Copy should_bypass_proxy and domain_matches from winhttp. 2013-05-08 20:43:22 +02:00
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
Piotr Caban 422fb313d3 wininet: Get rid of rawHeaders field in request_t structure. 2013-04-30 18:44:47 +02:00
Piotr Caban 566b14479c wininet: Add current raw headers to cache. 2013-04-30 18:44:47 +02:00
Piotr Caban 7883976722 wininet: Delete Content-Encoding header when uncompressing data. 2013-04-30 18:44:46 +02:00
Piotr Caban 259ffa2a1a wininet: Take HTTP_QUERY_FLAG_REQUEST_HEADERS flag into account when creating HTTP_QUERY_RAW_HEADERS data information. 2013-04-30 18:44:46 +02:00
Piotr Caban e092233396 wininet: Create raw HTTP headers dynamically. 2013-04-30 18:44:46 +02:00
Hans Leidekker 736a4239a0 wininet: Always return errors from NETCON_recv. 2013-04-25 13:40:02 +02:00
Hans Leidekker 2145b637fd wininet: Get rid of the clear parameter to HTTP_GetResponseHeaders. 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 54df9c9101 wininet: Include the Proxy-Connection header in the keep-alive check. 2013-04-22 12:37:51 +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 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
Piotr Caban ef4db477f0 wininet: Correctly set SYSTEMTIME year in HTTP_HttpQueryInfoW. 2013-04-01 18:17:28 +02: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 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 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
Hans Leidekker 6a609c21bb wininet: Port resolution doesn't depend on the secure flag. 2013-03-06 15:10:44 +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 851866e22a wininet: Set available bytes in InternetQueryDataAvailable even if it ends up in async call. 2013-02-14 20:05:05 +01:00
Jacek Caban f824e20010 wininet: Get rid of WORKREQ* types. 2013-01-30 13:05:28 +01:00
Jacek Caban 7ca22d701d wininet: Moved WORKREQ_HTTPENDREQUESTW out of WORKREQUEST. 2013-01-29 17:50:17 +01:00
Jacek Caban 023abdacdb wininet: Moved WORKREQ_HTTPREADFILEEX out of WORKREQUEST. 2013-01-28 14:05:55 +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 0c02e35841 wininet: Properly handle output buffer size in InternetGetCookieW. 2012-12-28 11:26:52 +01:00
Jacek Caban bfad905bd8 wininet: Fixed handling empty HTTP version string in HttpOpenRequest. 2012-12-10 11:27:21 +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
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
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
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
Francois Gouget 2606b85687 wininet: Check for the 'http:' protocol in a locale independent way. 2012-09-25 11:42:38 +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 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