Jacek Caban
f70c9ae8d1
wininet: Fixed handing NULL buffer in InternetReadFileExW.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-05-17 11:50:53 +09:00
Jacek Caban
cebb5d3066
wininet: Fixed internet tests on win10.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-05-17 11:50:50 +09:00
Jacek Caban
f5c97b5060
wininet: Added open_simple_request helper and use it where appropriate.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-05-14 14:39:56 +09:00
Jacek Caban
1d834438ca
wininet: Get rid of test_http1_1 test.
...
I can only guess what author meant to test, but those are useless in
their current shape and we already have better persistent connection
tests anyway.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-05-14 14:39:55 +09:00
Jacek Caban
f4e68eef37
wininet: Fixed http tests on win10.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-05-14 14:39:55 +09:00
Jacek Caban
f6714f3832
wininet: Updated winehq.org cert info.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-05-14 14:39:55 +09:00
Jacek Caban
e68e03c72a
wininet/tests: Added IRD_NO_WAIT flag tests.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-05-05 01:27:52 +09:00
Sebastian Lackner
179137c259
wininet/tests: Add tests for asynchronous InternetReadFile.
...
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:13 +09:00
Sebastian Lackner
45459965aa
wininet: Send INTERNET_STATUS_RESPONSE_RECEIVED notification in async handler.
...
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:13 +09:00
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
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
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
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
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
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
Michael Müller
7bed453481
wininet: Set Host header in HttpSendRequestW instead of HttpOpenRequestW.
2015-08-25 17:43:12 +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
6ab6c23707
wininet/tests: Include the error code in a failure message.
2015-07-17 20:19:47 +09:00
Michael Müller
1b53917ece
wininet/tests: Add tests for overriding host header.
2015-06-25 21:01:16 +09:00
Piotr Caban
1a738a556c
wininet: Improve handling of long URLs in CreateUrlCacheEntry function.
2015-06-19 17:02:24 +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
Hans Leidekker
0b69c706b9
wininet: Reuse cached basic authorization across sessions.
2015-05-01 15:15:02 +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
Michael Müller
7c8df7eb5e
wininet: Allow Accept-Encoding for HTTP/1.0 requests.
2015-02-24 21:55:48 +09: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
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
Michael Stefaniuc
51302e011a
wininet: Simplify the check for an empty string (PVS-Studio).
2014-11-11 14:22:08 +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
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
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
2aaff6e19f
wininet: Include trailing slash in URL cache hashes.
2014-07-16 14:01:05 +02:00
Jacek Caban
f72975d811
wininet: Don't allow overriding httponly cookies with non-httponly ones.
2014-07-11 16:59:47 +02:00
Jacek Caban
b4ce0760e5
wininet/tests: Added INTERNET_COOKIE_HTTPONLY tests.
2014-07-04 14:52:04 +02:00
Sebastian Lackner
8fd44a3d2b
wininet: Fix invalid memory access in HTTP_QUERY_RAW_HEADERS (Valgrind).
2014-07-02 19:57:14 +02:00
Jacek Caban
4e53f0caa0
wininet: Don't try to read content in response to HEAD request.
2014-06-25 14:41:47 +02:00
Bruno Jesus
f3b0f488b8
wininet/tests: Add more HTTP_QUERY_RAW_HEADERS tests.
2014-06-25 10:58:13 +02:00
Sebastian Lackner
2e0921d065
wininet: Don't update *lpdwIndex if HttpQueryInfoW fails with ERROR_INSUFFICIENT_BUFFER.
2014-06-18 16:31:42 +02:00
Bruno Jesus
1f713cc567
wininet/tests: Fix a memory leak (valgrind).
2014-06-11 16:11:04 +02:00
Hans Leidekker
d6a59f755e
wininet: Only set the content length header if it's not explicitly set by the user.
2014-05-26 21:15:37 +09:00
Hans Leidekker
4e340c0a7f
wininet/tests: Fix a couple of test failures on Internet Explorer 11.
2014-05-24 11:01:04 +09:00
Huw Davies
fec1ed454c
wininet/tests: Don't test GetLastError() on success.
2014-05-15 19:04:53 +02:00
Jacek Caban
cfb4b0a305
wininet: Fixed tests on some old Windows versions.
2014-03-24 20:20:07 +01:00
Jacek Caban
858caa9aa0
wininet: Merge GetLastError() test into other request tests.
2014-03-24 20:20:06 +01:00
Jacek Caban
fd3563b2b9
wininet/tests: Fixed tests for the new winehq.org cert.
2014-03-03 17:02:54 +01:00
Bruno Jesus
7f97339208
wininet/tests: Add tests for InternetGetConnectedStateEx[A|W].
2014-02-05 13:49:25 +01:00
Alexandre Julliard
99ef0d6ff0
makefiles: Get rid of the MAKE_TEST_RULES variable.
2014-01-02 12:13:16 +01:00
Frédéric Delanoy
0e7e87875c
wininet/tests: Constify some character strings.
2013-12-31 12:25:04 +01:00
Hans Leidekker
7ba776532d
wininet: Always store the SSL context.
...
This allows applications to query certificate properties when verification has failed.
2013-12-11 12:57:04 +01:00
Frédéric Delanoy
e1ef0d1174
wininet/tests: Use BOOL type where appropriate.
2013-12-05 10:58:20 +01:00
Frédéric Delanoy
0940037301
wininet/tests: Use BOOL type where appropriate.
2013-11-27 10:54:28 +01:00
Ričardas Barkauskas
05396f18e4
wininet/tests: Mark successful query of status before sending request as broken.
2013-11-26 10:22:10 +01:00
Ričardas Barkauskas
992c2bd3e5
wininet: Reset data stream for existing request connections.
2013-11-26 10:20:58 +01:00
Ričardas Barkauskas
920a261d35
wininet/tests: Test successive HttpSendRequest calls.
2013-11-26 10:20:54 +01:00
André Hentschel
f34ba03277
wininet/tests: Fix boolean checks.
2013-11-26 10:17:31 +01:00
Hans Leidekker
a448bbf880
wininet: Reading past end-of-file in chunked mode returns success.
...
Found by Andrew Eikum.
2013-11-21 19:39:02 +01:00
Piotr Caban
69b8c97c1d
wininet/tests: Fix urlcache tests on IE10.
2013-11-18 11:20:30 +01:00
Ričardas Barkauskas
6c0ee62d7a
wininet: Check if connection is alive before sending request.
2013-11-07 13:15:50 +01:00
Jacek Caban
e857a70ae2
wininet: Compile tests with -D__WINESRC__.
2013-10-24 19:01:55 +02:00
Jacek Caban
1458856c63
wininet: Added InternetLockRequestFile tests.
2013-10-04 17:46:23 +02:00
Michael Stefaniuc
0e681027a2
tests: Compile the tests by default with -D__WINESRC__.
2013-10-02 11:04:02 +02:00
Michael Stefaniuc
2a39cb377a
dlls: Replace the remaining CONSTs.
2013-09-25 11:49:20 +02:00
André Hentschel
7e65578b7c
wininet/tests: Don't test function directly when reporting GetLastError().
2013-09-23 11:53:44 +02:00
Hans Leidekker
c0e1dda04c
wininet: Don't assume that end of chunk means end of stream.
2013-09-20 11:11:54 +02:00
Hans Leidekker
1bf936c900
wininet: Replacing a header with an empty value deletes it.
2013-08-29 19:56:18 +02:00
Hans Leidekker
0c9321eb0f
wininet: Handle NULL input string in str_to_buffer.
2013-07-31 22:26:57 +02:00
Hans Leidekker
5f346f63ba
wininet: Ignore INTERNET_FLAG_NO_CACHE_WRITE only for GET requests.
2013-07-31 22:26:57 +02:00
Jacek Caban
10389b272d
wininet: Ignore missing status text in response headers.
2013-07-19 16:27:31 +02:00
Jacek Caban
65f9b540a5
wininet/tests: Added HTTP status header tests.
2013-07-12 18:04:26 +02:00
Jacek Caban
2782f36b1d
wininet/tests: Added more cert struct tests.
2013-06-14 16:44:06 +02:00
Alexandre Julliard
df17007af7
wininet/tests: Use test.winehq.com for invalid certs tests.
2013-06-13 17:10:04 +02:00
Hans Leidekker
697cbc3605
wininet/tests: Avoid proxy test failures on old wininet.
2013-06-12 12:08:24 +02:00
Ričardas Barkauskas
188b39ab2b
wininet/tests: Test some connection closing specifics.
2013-06-05 19:39:38 +02:00
Marcus Meissner
038e3d3773
wininet: Avoid one-byte overflows (Coverity).
2013-05-31 11:57:19 +02:00
Marcus Meissner
4c20fec045
wininet/tests: Avoid overflowing the buffer (Coverity).
2013-05-28 14:33:15 +02:00
Alexandre Julliard
147ffa0ccd
wininet/tests: Use test.winehq.org for all certificate tests.
2013-05-23 20:03:17 +02:00
Daniel Lehman
d3308e6f09
wininet: Only accept proxy and proxy bypass if type is INTERNET_OPEN_TYPE_PROXY.
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
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