Daniel Lehman
|
b84ba52248
|
wininet: Use case-insensitive comparison for server name.
Signed-off-by: Daniel Lehman <dlehman@esri.com>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2017-11-29 21:30:02 +01:00 |
Daniel Lehman
|
1b25de7d57
|
wininet: Fix proxy bypass with wildcard if domain length matches with server.
Signed-off-by: Daniel Lehman <dlehman@esri.com>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2017-09-08 16:23:15 +02:00 |
Jacek Caban
|
085ce269b1
|
wininet: Drain content before reusing connection in open_http_connection.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2017-08-18 08:09:47 +09:00 |
Jacek Caban
|
59395d8845
|
wininet: Never do blocking reads in chunked_read if zero chunk size is aready read.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2017-08-18 08:09:44 +09:00 |
Jacek Caban
|
4f40039cd7
|
wininet: Release connection in HTTPREQ_Read only if remaining control data may be drainad without blocking.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2017-08-18 08:09:40 +09:00 |
Jacek Caban
|
8090d169ab
|
wininet: Store error state separately from end of stream in chunked stream.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2017-08-18 08:09:36 +09:00 |
Jacek Caban
|
752d078a42
|
wininet: Always use drain_content specific to stream type.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2017-08-18 08:09:32 +09:00 |
Jacek Caban
|
90b936f0b2
|
wininet: Try to read reamaining data in chunked_drain_content.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2017-08-18 08:09:29 +09:00 |
Jacek Caban
|
2ecdac8846
|
wininet: Return error codes from HTTP streams.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2017-08-18 08:09:25 +09:00 |
Jacek Caban
|
7949a22b43
|
wininet: Correctly pass URL length to InternetCrackUrlW in get_redirect_url.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2017-08-08 20:13:57 +09:00 |
Nikolay Sivov
|
f55a116101
|
wininet: Fix potential use-after-free (Coverity).
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2017-07-10 20:51:11 +02:00 |
Jacek Caban
|
89f1d8c58a
|
wininet: Fixed connection_pool_cs declaration.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2017-07-07 19:49:46 +02:00 |
Jacek Caban
|
cee99826b6
|
wininet: Return an error on redirect with no host name specified.
Inspired by Michael Müller's patch.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2017-06-26 18:18:56 +02:00 |
Jacek Caban
|
61e28c01c6
|
wininet: Moved INTERNET_STATUS_REDIRECT notification to HTTP_HandleRedirect.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2017-06-26 18:18:54 +02:00 |
Jacek Caban
|
9c959154f6
|
wininet: Correctly handle redirects to non-http URLs.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2017-05-31 20:51:47 +02:00 |
Akihiro Sagawa
|
05c23c95f8
|
wininet: Use isspaceW() instead of isspace() for WCHARs.
Found with Coccinelle.
Signed-off-by: Akihiro Sagawa <sagawa.aki@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2017-05-17 16:11:26 +02:00 |
Jacek Caban
|
7d8cf318a4
|
wininet: Don't use returned read size if read failed in gzip_read.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2017-04-07 18:05:48 +02:00 |
Jacek Caban
|
2952c637e3
|
wininet: Get rid of no longer needed get_avail_data from data stream implementations.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2017-03-13 19:28:54 +01:00 |
Jacek Caban
|
295291b4be
|
wininet: Always use non-blocking reads in HTTP_ReceiveRequestData.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2017-03-13 19:28:52 +01:00 |
Jacek Caban
|
fd0ac40798
|
wininet: Get rid of no longer needed blocking_mode_t.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2017-03-10 23:21:23 +01:00 |
Jacek Caban
|
18f9d0303a
|
wininet: Get rid of no longer needed BLOCKING_WAITALL.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2017-03-10 23:21:23 +01:00 |
Jacek Caban
|
7eaadabc5c
|
wininet: Merge InternetReadFile and InternetReadFileEx implementations.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2017-03-10 23:21:23 +01:00 |
Jacek Caban
|
a546e8acaa
|
wininet: Reimplemented InternetQueryDataAvailable on top of async_read.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2017-03-10 23:21:23 +01:00 |
Jacek Caban
|
08808747b2
|
wininet: Rewrite InternetReadFileEx for http protocol to make use of non-blocking reads.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2017-03-10 23:21:23 +01:00 |
Jacek Caban
|
98bcd00e21
|
wininet: Rewrite asynchronous read to try to fill whole buffer and not buffer additional data unless requested.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2017-03-10 23:21:22 +01:00 |
Jacek Caban
|
c140a70425
|
wininet: Propagate WSAEWOULDBLOCK from read_http_stream.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2017-03-10 23:21:22 +01:00 |
Jacek Caban
|
f42a2ccad1
|
wininet: Pass blocking mode to HTTPREQ_Read.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2017-03-10 23:21:22 +01:00 |
Jacek Caban
|
67b56774c5
|
wininet: Propagate WSAEWOULDBLOCK result from content decoding reads.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2017-03-10 23:21:22 +01:00 |
Jacek Caban
|
7b42dc4931
|
wininet: Improved netconn_drain_content.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2017-02-27 16:24:59 +01:00 |
Jacek Caban
|
725b55ded2
|
wininet: Get rid of no longer needed INTERNET_INVALID_PORT_NUMBER in get_server.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2016-12-15 23:29:50 +01:00 |
Michael Müller
|
0d22e43f8c
|
wininet: Handle INTERNET_INVALID_PORT_NUMBER in HttpOpenRequest.
Signed-off-by: Michael Müller <michael@fds-team.de>
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2016-12-15 23:29:42 +01:00 |
Fabian Maurer
|
8c39694882
|
wininet: Changed usage of UrlEscapeW to fit winapi behavior.
Signed-off-by: Fabian Maurer <dark.shadow4@web.de>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2016-12-14 17:32:36 +01:00 |
Daniel Lehman
|
b3d12a16ce
|
wininet: Canonicalize URL in HttpOpenRequest.
Signed-off-by: Daniel Lehman <dlehman@esri.com>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2016-11-30 13:23:09 +01:00 |
Jacek Caban
|
7d9a439274
|
wininet: Don't return available data sizes larger than the read buffer.
Based on patch by Hans Leidekker.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2016-08-15 12:55:02 +09:00 |
Jacek Caban
|
16d300cacd
|
wininet: Return data available in current chunk in chunked_get_avail_data.
Based on a patch by Hans Leidekker.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2016-08-02 09:08:57 -05:00 |
Jacek Caban
|
6e0c842dfa
|
wininet: Rewrite chunked stream to store full stream state and allow non-blocking reads crossing chunk boundries.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2016-08-01 09:58:06 -05:00 |
Jacek Caban
|
a9a6948b79
|
wininet: Include stdlib.h before winsock2.h in http.c.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2016-07-03 10:54:18 +09:00 |
Jacek Caban
|
fff5dca787
|
wininet: Correctly handle the last proxy override in HTTP_ShouldBypassProxy.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2016-06-01 01:04:45 +09:00 |
Jacek Caban
|
9a85a84765
|
wininet: Fixed leak in HTTP_DealWithProxy (coverity).
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2016-05-30 11:10:12 +09:00 |
Jacek Caban
|
e73f5782ff
|
wininet: Moved more redirect URL handling to a helper function and get rid of its maximum size assumption.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2016-05-19 11:57:57 +09:00 |
Jacek Caban
|
5141c911ff
|
wininet: Don't assume maximal URL length in HTTP_GetRedirectURL.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2016-05-19 11:57:55 +09:00 |
Jacek Caban
|
216474c24e
|
wininet: Use compose_request_url in INTERNET_OPTION_URL implementation.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2016-05-19 11:57:52 +09:00 |
Jacek Caban
|
453e0e1112
|
wininet: Don't use host header in compose_request_url.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2016-05-19 11:57:45 +09:00 |
Jacek Caban
|
7528f4d533
|
wininet: Use scheme id instead of string in HTTP_HandleRedirect.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2016-05-19 11:57:41 +09:00 |
Jacek Caban
|
228c06086a
|
wininet: Get rid of INTERNET_INVALID_PORT_NUMBER fixups after InternetCrackUrl calls.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2016-05-18 10:34:10 +09:00 |
Jacek Caban
|
dfa014a572
|
wininet: Don't assume maximum URL length in HTTP_DealWithProxy.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2016-05-18 10:34:08 +09:00 |
Jacek Caban
|
3413d01764
|
wininet: Pass host name as substring to get_server.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2016-05-18 10:34:06 +09:00 |
Jacek Caban
|
bd1f39ea27
|
wininet: Don't assume maximal URL length in HTTP_ShouldBypassProxy.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2016-05-18 10:34:04 +09:00 |
Jacek Caban
|
4227dfaa94
|
wininet: Store request URL in req_file_t.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2016-05-18 10:33:50 +09:00 |
Jacek Caban
|
18a31e49bc
|
wininet: Pass arguments as substrings to set_cookie.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2016-05-17 11:51:24 +09:00 |