Sebastian Lackner
|
e14f2c0b7a
|
wininet/tests: Add tests for asynchronous InternetReadFileEx.
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-04-29 00:54:12 +09:00 |
Michael Müller
|
d332ff7445
|
wininet: Fix async check in HTTPREQ_ReadFileEx.
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-04-29 00:54:12 +09:00 |
Jacek Caban
|
8e2586db52
|
wininet: Don't use INTERNET_MAX_HOST_NAME_LENGTH in InternetCheckConnectionW.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2016-04-28 12:41:17 +09:00 |
Jacek Caban
|
e0c7741d22
|
wininet: Don't use INTERNET_MAX_* macros in parse_proxy_url.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2016-04-28 12:41:15 +09:00 |
Jacek Caban
|
72f5c3f2e7
|
wininet: Don't use INTERNET_MAX_HOST_NAME_LENGTH in InternetGetSecurityInfoByURLW,.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2016-04-28 12:41:12 +09:00 |
Jacek Caban
|
4be4e282b7
|
wininet/tests: Added tests of InternetCrackUrl with URLs longer than INTERNET_MAX_URL_LENGTH.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2016-04-27 23:59:10 +09:00 |
Jacek Caban
|
f1a8c8ae0a
|
wininet: Rewrite InternetCrackUrlA to properly handle errors.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2016-04-27 23:58:53 +09:00 |
Jacek Caban
|
82d413d96d
|
wininet: Use heap_strndupAtoW in InternetOpenUrlA.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2016-04-27 23:58:12 +09:00 |
Jacek Caban
|
d282a64280
|
wininet: Added new heap_strndupAtoW helper and use it in HttpAddRequestHeadersA.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2016-04-27 23:57:44 +09:00 |
Jacek Caban
|
41f69916c0
|
wininet: Fixed handling too small buffers in InternetCrackUrlW.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2016-04-27 23:56:04 +09:00 |
Jacek Caban
|
40992ee873
|
wininet: Simplify handling ICU_DECODE in InternetCrackUrlW.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2016-04-27 23:55:28 +09:00 |
Michael Müller
|
05a10d5fc8
|
wininet/tests: Add more tests for INTERNET_INVALID_PORT_NUMBER.
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-04-27 19:42:27 +09:00 |
Sebastian Lackner
|
076189c762
|
wininet: Remove unused 'sync' argument from HTTPREQ_Read.
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2016-04-22 21:04:37 +09:00 |
Alistair Leslie-Hughes
|
5ee82583f7
|
wininet: Free socket when connection is freed.
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2016-04-12 12:03:17 +09:00 |
Alexandre Julliard
|
61d1c95ea4
|
wininet/tests: Remove todo from a succeeding test.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2016-02-18 02:03:22 +09:00 |
Nikolay Sivov
|
1b06662f0b
|
wininet/tests: Use todo_wine_if() in tests.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2016-02-17 13:08:25 +09:00 |
André Hentschel
|
676e615613
|
wininet/tests: Use todo_wine_if() in tests.
Signed-off-by: André Hentschel <nerv@dawncrow.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2016-02-16 12:09:39 +09:00 |
Hans Leidekker
|
05eae360d7
|
wininet/tests: Fix test failures.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2016-01-26 22:37:28 +09:00 |
André Hentschel
|
f3e3c895c7
|
wininet: Return the correct error code (Clang).
Signed-off-by: André Hentschel <nerv@dawncrow.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2015-12-23 09:12:45 +01:00 |
Jacek Caban
|
6790d825d1
|
wininet: Improved debug traces.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2015-11-26 01:08:50 +09:00 |
Nikolay Sivov
|
bb59c3f77e
|
wininet: Remove a bit of dead code (Coverity).
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2015-11-23 23:35:14 +09:00 |
Piotr Caban
|
493d414cad
|
wininet: Create file with correct file name in test_trailing_slash tests.
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2015-11-13 11:53:25 +09:00 |
Alistair Leslie-Hughes
|
7e7519d1f5
|
wininet: Free critical section (Valgrind).
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2015-11-11 19:39:28 +09:00 |
Sebastian Lackner
|
e609b39818
|
wininet/tests: Add test for using NULL as proxy server.
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>
|
2015-10-09 19:26:36 +09:00 |
Michael Müller
|
54a390b4ac
|
wininet: Disabling proxy should return success when no proxy was enabled.
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>
|
2015-10-09 19:26:27 +09:00 |
Hans Leidekker
|
d050343c50
|
wininet: Set Content-Length header to zero if the verb is CONNECT.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
|
2015-10-06 00:08:25 +09:00 |
Hans Leidekker
|
1a74ccc8c5
|
wininet/tests: Fix a couple of test failures.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
|
2015-10-01 16:23:08 +09:00 |
Hans Leidekker
|
d8ddf1b0e1
|
wininet/tests: Never use a proxy for connections to localhost.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
|
2015-10-01 16:23:06 +09:00 |
Andrey Gusev
|
d3177504b1
|
Assorted spelling and typos fixes.
|
2015-08-31 20:18:46 +09:00 |
Hans Leidekker
|
e5ce90ed1b
|
wininet: Don't trace the password in InternetConnectW.
|
2015-08-27 22:14:05 +09:00 |
Michael Müller
|
7bed453481
|
wininet: Set Host header in HttpSendRequestW instead of HttpOpenRequestW.
|
2015-08-25 17:43:12 +09:00 |
Daniel Lehman
|
1cab27e960
|
wininet: Use stored server name in HTTP_ProcessCookies.
|
2015-08-24 14:41:51 +09:00 |
Sebastian Lackner
|
9a7ce56145
|
wininet/tests: Print the correct function name in ok() messages.
|
2015-08-12 22:53:30 +09:00 |
Hans Leidekker
|
f7538bfe47
|
wininet: Add a stub implementation of INTERNET_OPTION_SUPPRESS_BEHAVIOR.
|
2015-07-29 21:44:02 +02:00 |
Hans Leidekker
|
6ab6c23707
|
wininet/tests: Include the error code in a failure message.
|
2015-07-17 20:19:47 +09:00 |
Michael Müller
|
efd41e4f2b
|
wininet: Fix arguments of HttpAddRequestHeaders.
|
2015-06-25 22:04:54 +09:00 |
Michael Müller
|
1b53917ece
|
wininet/tests: Add tests for overriding host header.
|
2015-06-25 21:01:16 +09:00 |
Jacek Caban
|
9d3fda008f
|
wininet: Cache blocking state in netconn_t.
|
2015-06-22 19:16:49 +09:00 |
Jacek Caban
|
eef89b5070
|
wininet: Call set_socket_blocking always and only when needed.
|
2015-06-22 19:16:49 +09:00 |
Piotr Caban
|
1a738a556c
|
wininet: Improve handling of long URLs in CreateUrlCacheEntry function.
|
2015-06-19 17:02:24 +09:00 |
Jacek Caban
|
9d7d27ea7f
|
wininet: Don't use blocking_mode_t in netconn.c.
|
2015-06-19 17:00:05 +09:00 |
Jacek Caban
|
6fe5546210
|
wininet: Get rid of unneeded MSG_WAITALL support in NETCON_recv.
|
2015-06-18 21:41:03 +09:00 |
Jacek Caban
|
049a3ba401
|
wininet: Don't pass BLOCKING_WAITALL to NETCON_recv in netconn_read.
|
2015-06-16 20:00:37 +09:00 |
Michael Müller
|
9564940461
|
wininet: Use random names when caching very long urls.
|
2015-06-15 15:29:05 +09:00 |
Jacek Caban
|
7fa7e9bd3b
|
wininet: Get rid of no longer needed read_chunked field.
|
2015-06-15 14:46:49 +09:00 |
Huw Davies
|
53dbffd314
|
wininet/tests: Fix tests on Win 2k.
|
2015-06-12 21:22:43 +09:00 |
Piotr Caban
|
5306ce9d4a
|
wininet/tests: Test if content is read from cache in INTERNET_FLAG_FROM_CACHE tests.
|
2015-05-28 22:06:38 +09:00 |
Michael Müller
|
81b136fe1c
|
wininet: Fix memory leak by not calling get_cookie_header twice.
|
2015-05-18 14:06:12 +09:00 |
Nikolay Sivov
|
b2cb6b3e26
|
wininet: Make sure we pass strictly 0/1 to a helper as BOOL value.
|
2015-05-14 14:20:56 +09:00 |
Hans Leidekker
|
0b69c706b9
|
wininet: Reuse cached basic authorization across sessions.
|
2015-05-01 15:15:02 +09:00 |
Jacek Caban
|
07520fbf12
|
wininet: Initialize send and receive timeouts to 0.
|
2015-04-24 22:03:53 +09:00 |
Gerald Pfeifer
|
4415171ab6
|
wininet: Avoid four instances of "logical not is only applied to the to the left hand side".
|
2015-04-17 17:33:45 +09:00 |
Marcus Meissner
|
c1c06a9093
|
wininet: Avoid memory leak in error exit (Coverity).
|
2015-04-10 15:21:19 +09:00 |
Daniel Lehman
|
a57c91ed39
|
wininet: Trace loaded proxy settings.
|
2015-04-07 15:11:37 +09:00 |
Francois Gouget
|
ef0b22aabb
|
wininet; Mark internal symbols with hidden visibility.
|
2015-04-03 00:33:30 +09:00 |
Francois Gouget
|
a1e90facf8
|
wininet: Remove an unneeded NONAMELESSSTRUCT directive.
|
2015-04-01 14:13:12 +09:00 |
Jacek Caban
|
b720e42fcf
|
wininet: Pass timeout as DWORD in setsockopt calls.
|
2015-03-25 21:17:44 +09:00 |
Daniel Lehman
|
e889dd8eaa
|
wininet: Accept Version in cookies.
|
2015-03-13 21:52:15 +09:00 |
Jacek Caban
|
8ef78d068f
|
wininet: Get rid of no longer needed sock_get_error.
|
2015-03-12 13:54:16 +09:00 |
Daniel Lehman
|
c921deebf1
|
wininet: Eat terminator on last chunk.
|
2015-03-06 12:56:29 +09:00 |
Michael Stefaniuc
|
745a549972
|
wininet: Remove unused code, sizeof(void*)%4 is always false (PVS-Studio).
|
2015-03-05 21:22:01 +09:00 |
Alexandre Julliard
|
5bf29fb897
|
wininet: Hardcode the base64 table to avoid ugly macros.
|
2015-03-04 21:50:35 +09:00 |
Jacek Caban
|
6d4abc78d0
|
wininet: Call WSACleanup only if WSAStartup was previously called successfully.
Spotted by Piotr.
|
2015-02-24 21:55:49 +09:00 |
Michael Müller
|
7c8df7eb5e
|
wininet: Allow Accept-Encoding for HTTP/1.0 requests.
|
2015-02-24 21:55:48 +09:00 |
Thomas Faber
|
d742f6e821
|
wininet: Avoid empty initializer braces.
|
2015-02-17 22:04:17 +09:00 |
Jacek Caban
|
6a0eb2ddd7
|
wininet: Don't include ws2tcpip.h after zlib.h.
|
2015-02-16 19:19:25 +09:00 |
Jacek Caban
|
47778f95fa
|
wininet: Moved inet_ntop call to GetAddress.
|
2015-02-16 19:19:10 +09:00 |
Jacek Caban
|
100bd11ae5
|
wininet: Use GetAddrInfoW in GetAddress.
|
2015-02-16 19:19:06 +09:00 |
Jacek Caban
|
11d09f1fe7
|
wininet: Don't strip port part from server name in GetAddress.
Callers take care of that already.
|
2015-02-16 19:19:00 +09:00 |
Jacek Caban
|
5436fef807
|
wininet: Always use winsock sockets.
|
2015-02-13 21:47:13 +09:00 |
Jacek Caban
|
5d6d2fda7b
|
wininet: Use set_socket_blocking helper in a few more places.
|
2015-02-13 21:46:50 +09:00 |
Jacek Caban
|
7410bf5896
|
wininet: Moved INTERNET_GetNextLine to ftp.c.
|
2015-02-13 21:46:43 +09:00 |
Jacek Caban
|
fdf50ba883
|
wininet: Removed direct errno usage in ftp.c.
|
2015-02-13 21:46:36 +09:00 |
Jacek Caban
|
de5c1fb8e9
|
wininet: Initialize winsock before creating socket in Windows builds.
|
2015-02-12 22:12:04 +09:00 |
Jacek Caban
|
4fe1be148e
|
wininet: Properly handle EWOULDBLOCK return from connect().
|
2015-02-12 17:58:01 +09:00 |
Jacek Caban
|
f3e02c2fc0
|
wininet: Properly check for ioctlsocket failure in NETCON_is_alive.
|
2015-02-12 17:57:57 +09:00 |
Jacek Caban
|
c815baf899
|
wininet: Use sock_get_error in a few more places.
|
2015-02-12 17:57:49 +09:00 |
Jacek Caban
|
cafbd54457
|
wininet: Use WSAGetLastError in sock_get_error in Windows builds.
|
2015-02-12 17:57:25 +09:00 |
Jacek Caban
|
8efedaf045
|
wininet: Use proper argument type for ioctlsocket argument.
|
2015-02-12 17:56:55 +09:00 |
Michael Stefaniuc
|
b32d93a10b
|
wininet: Remove an unused assignment (PVS-Studio).
|
2015-01-23 15:33:03 +01:00 |
Sebastian Lackner
|
2ce1650968
|
wininet: Fix handling of subdirectory in FtpFindFirstFile.
Based on a patch by Mike Ruprecht.
|
2015-01-14 18:32:00 +01:00 |
Bruno Jesus
|
d654ff6dfc
|
wininet: Handle CERT_TRUST_IS_NOT_SIGNATURE_VALID in netconn_verify_cert().
|
2014-12-31 11:38:45 +01:00 |
Hans Leidekker
|
3d9ba21d2f
|
wininet/tests: Add a test to show that the Content-Length header is not updated when a request is reused.
|
2014-12-19 22:36:16 +01:00 |
Hans Leidekker
|
de64feaa5c
|
wininet: Use a helper function to remove request headers.
|
2014-12-19 22:36:14 +01:00 |
André Hentschel
|
cdf2412203
|
wininet: Remove unused strings (Clang).
|
2014-12-04 14:03:28 +01:00 |
Michael Stefaniuc
|
51302e011a
|
wininet: Simplify the check for an empty string (PVS-Studio).
|
2014-11-11 14:22:08 +09:00 |
Michael Stefaniuc
|
06afdda617
|
wininet: Simplify while loop conditions (PVS-Studio).
|
2014-10-31 10:50:38 +09:00 |
Alexandre Julliard
|
d883281806
|
wininet/tests: Fix a test failure on Windows.
|
2014-10-30 13:16:42 +09:00 |
Bruno Jesus
|
5e13e7f809
|
wininet: Fix InternetGetConnectedStateEx[A|W].
|
2014-10-28 13:53:44 +09:00 |
Daniel Lehman
|
f3455da6ff
|
wininet: Remove custom port handling in HTTP_HandleRedirect.
|
2014-10-28 13:43:54 +09:00 |
Bruno Jesus
|
3beee00a99
|
wininet: Add more tests to InternetGetConnectedStateEx.
|
2014-10-27 14:36:26 +09:00 |
Hans Leidekker
|
462f56d468
|
wininet: Protect the request headers array with a critical section.
|
2014-09-25 15:20:19 +02:00 |
Hans Leidekker
|
bbfae5be4b
|
wininet/tests: Update test data to match the new certificate on winehq.org.
|
2014-09-25 15:20:18 +02:00 |
Jacek Caban
|
1f12306144
|
wininet: Properly clean up in InternetGetCookieExW if no cookies were found.
|
2014-09-18 13:06:42 +02:00 |
Jacek Caban
|
c639e757d5
|
wininet: Moved critical section locking to get_cookie callers so that cookie_set_t is also protected.
|
2014-09-17 12:55:01 +02:00 |
Jacek Caban
|
3241d8450a
|
wininet/tests: Fixed more tests on IE11.
|
2014-09-05 17:41:28 +02:00 |
Jacek Caban
|
4cda419575
|
wininet/tests: Fixed security flags tests on IE11.
|
2014-09-04 13:44:42 +02:00 |
Jacek Caban
|
7c3364621f
|
wininet/tests: Always use test.winehq.org instead of www.codeweavers.com in tests.
|
2014-09-03 16:29:36 +02:00 |
Jacek Caban
|
8e8eef940a
|
wininet/tests: Fixed most tests on IE11.
|
2014-09-03 16:29:31 +02:00 |
Jacek Caban
|
55e3ec650e
|
wininet: Fixed buffer size rising in get_cookie.
|
2014-09-02 20:54:45 +02:00 |