Serge Gautherie
aa384d3642
tools: Remove 0x0501 API versions forced by winapi_test.
...
Signed-off-by: Serge Gautherie <winehq-git_serge_180711@gautherie.fr>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-03-13 20:10:44 +01:00
Roman Pišl
6fcd1378b2
wininet: Add stub for INTERNET_OPTION_IGNORE_OFFLINE.
...
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=48739
Signed-off-by: Roman Pišl <rpisl@seznam.cz>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-03-13 20:10:33 +01:00
Hans Leidekker
4c640f24c9
wininet/tests: Fix test failures on Windows XP.
...
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-01-09 22:50:49 +01:00
Hans Leidekker
3a22407396
wininet/tests: Make a check for available data less strict.
...
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-01-09 22:50:49 +01:00
Zebediah Figura
6b839a0f85
wininet/tests: Fix some test failures with Windows 10.
...
Windows 10 1607+ no longer validates a NULL window handle, so remove that test.
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-01-07 22:26:09 +01:00
Zebediah Figura
af9d246952
wininet/tests: Simplify test_InternetErrorDlg().
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-01-07 22:26:08 +01:00
Zebediah Figura
4928c623dc
wininet/tests: Don't test that the URL cache is used for persistent cookies.
...
This seems to be an implementation detail, which is no longer true in Windows
1709+.
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-01-07 22:26:08 +01:00
Jacek Caban
4335be3462
wininet: Don't set default gopher protocol in InternetCrackUrlW.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-12-19 18:38:22 +01:00
Jacek Caban
64cb9425da
wininet: Add missing schemes to url_schemes.
...
Fixes res URL scheme handling.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=31399
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-12-19 18:38:22 +01:00
Francois Gouget
84069679a4
wininet: Fix the spelling of a comment.
...
Signed-off-by: Francois Gouget <fgouget@free.fr>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-12-12 23:17:05 +01:00
Alexandre Julliard
cadad89d10
wininet: Handle http_proxy variable entirely in Unicode.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-11-28 08:49:07 +01:00
Alexandre Julliard
3c31cc5836
wininet: Build with msvcrt.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-11-25 20:47:43 +01:00
Alexandre Julliard
cee281a036
wininet: Import zlib inflate code.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-11-25 20:47:43 +01:00
Hans Leidekker
a4357043ff
wininet: Add support for detecting the proxy config URL.
...
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-11-22 18:02:31 +01:00
Sven Baars
237d563627
wininet/tests: Skip some FTP tests when no connection can be made.
...
Signed-off-by: Sven Baars <sven.wine@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-10-27 19:34:29 +01:00
Sven Baars
8b2d385713
wininet/tests: Fix some test failures on Windows.
...
Signed-off-by: Sven Baars <sven.wine@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-10-27 19:14:25 +01:00
Hans Leidekker
bbf74ea22a
wininet/tests: Fix FTP test failures.
...
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-10-18 18:05:32 +02:00
Dmitry Timoshkov
6a976801b1
wininet: Fix off by 1 error when parsing time.
...
This patch makes HTTP_ParseRfc1123Date() work for dates without space
before "GMT".
Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-10-15 17:51:25 +02:00
Zebediah Figura
1283f3807e
wininet/tests: Handle ERROR_INTERNET_SEC_CERT_WEAK_SIGNATURE on newer 11.x versions.
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-10-15 17:35:22 +02:00
Alistair Leslie-Hughes
03c761cf17
wininet/tests: Add setting Authorization header override tests.
...
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-10-15 17:20:31 +02:00
Owen Rudge
5b406e1446
wininet/tests: Fix http tests to reflect current state of winehq test server.
...
Signed-off-by: Owen Rudge <orudge@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-10-04 22:11:20 +02:00
Alistair Leslie-Hughes
f40aa5552c
wininet: Use username/password parameters over cached credentials.
...
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-09-20 12:50:33 +02:00
Alistair Leslie-Hughes
f8f98e6edc
wininet: Clear cached credentials in INTERNET_OPTION_END_BROWSER_SESSION.
...
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-09-19 12:56:59 +02:00
Alistair Leslie-Hughes
03d19f4be2
wininet: Update session username/password when cached credentials are used.
...
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-09-17 18:52:32 +02:00
Alistair Leslie-Hughes
7d8d703d9b
wininet: Pass correct server name when retrieving username information.
...
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-09-17 18:50:44 +02:00
Alistair Leslie-Hughes
be2c77e636
wininet/tests: InternetQueryOption should return a valid value for username/password when using cached credentials.
...
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-09-12 22:47:45 +02:00
Daniel Lehman
e07efbd919
wininet: Support large downloads.
...
Signed-off-by: Daniel Lehman <dlehman25@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-09-09 16:25:55 +02:00
Huw Davies
f5a3d43f45
wininet: Include limits.h to define UINT_MAX and ULONG_MAX.
...
Fixes build error on macOS introduced by commit 968201424d
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-09-05 11:14:52 +02:00
Daniel Lehman
968201424d
wininet: Return error from HttpQueryInfo if number argument is invalid.
...
Signed-off-by: Daniel Lehman <dlehman25@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-09-04 17:27:37 +02:00
Andrey Gusev
a1d966e494
wininet/tests: Remove LPVOID cast.
...
Signed-off-by: Andrey Gusev <andrey.goosev@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-09-02 20:43:52 +02:00
Daniel Lehman
36bbea9e20
wininet/tests: Fix typo in error message.
...
Signed-off-by: Daniel Lehman <dlehman25@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-08-22 09:49:38 +02:00
Michael Müller
6e97461580
wininet: Allow to set INTERNET_OPTION_HTTP_DECODING on sessions and connections.
...
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-06-26 23:08:56 +02:00
Alistair Leslie-Hughes
8f5b9f4d4b
wininet: Always set last error in InternetReadFile.
...
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=47352
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-06-24 11:36:43 +02:00
Alistair Leslie-Hughes
3522b127a3
wininet: Always set last error in HttpQueryInfoW.
...
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-06-24 11:36:40 +02:00
Alistair Leslie-Hughes
223c3b4538
wininet: Support QueryOption INTERNET_OPTION_ERROR_MASK for http.
...
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-06-24 11:36:36 +02:00
Jarkko Korpi
c9b2801c0d
wininet: Silence no support on this platform message.
...
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-06-18 23:51:51 +02:00
Alistair Leslie-Hughes
bf5b8ae8af
wininet: Remove unsued flag HTTP_ADDHDR_FLAG_COALESCE.
...
This flag has the same value as HTTP_ADDHDR_FLAG_COALESCE_WITH_COMMA
which is used in multiple places.
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-06-17 21:34:13 +02:00
Tim Schumacher
fb568344e6
wininet: Hide GetCookie flag fixme for HTTPONLY cookies.
...
Signed-off-by: Tim Schumacher <timschumi@gmx.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-06-17 12:28:32 +02:00
Alexandre Julliard
7ac6cdfa00
configure: Use pkg-config to check for zlib.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-06-04 19:23:11 +02:00
Jacek Caban
9fec2e0d95
wininet: Fix name and data allocation failure handling in alloc_cookie.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-05-27 20:52:38 +02:00
Alexandre Julliard
3d6febc997
include: Get rid of the DPRINTF() macro.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-04-08 19:34:44 +02:00
Piotr Caban
380d5dff85
wininet: Don't use strcasecmp.
...
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-04-03 20:27:55 +02:00
Michael Stefaniuc
73e5347739
wininet: Remove redundant not-NULL check (coccinellery).
...
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-09 02:10:17 +01:00
Sven Baars
3f05534ca8
wininet/tests: Fix some memory leaks (Valgrind).
...
Signed-off-by: Sven Baars <sven.wine@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-02-11 11:52:00 +01:00
Hans Leidekker
25b10ea4cc
wininet: Trace modifiers in hexadecimal in HttpAddRequestHeaders.
...
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-02-08 12:11:54 +01:00
Dmitry Timoshkov
ca29ac4650
wininet: Make GetUrlCacheConfigInfo() return actual dwQuota and dwCacheSize.
...
Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-01-28 22:27:55 +01:00
Dmitry Timoshkov
0cdca521e9
wininet: Return proper cache path from GetUrlCacheConfigInfo.
...
Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-01-24 20:10:01 +01:00
Dmitry Timoshkov
848d422977
wininet/tests: Add some tests for GetUrlCacheConfigInfo.
...
Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-01-09 08:30:36 -06:00
Daniel Lehman
9678045056
wininet: Always check if context can be deleted when freeing netconn.
...
Signed-off-by: Daniel Lehman <dlehman25@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-12-03 22:27:05 +01:00
André Hentschel
065ab77fc1
wininet/tests: Skip tests when querying INTERNET_OPTION_SECURITY_CERTIFICATE_STRUCT fails (newer win10).
...
Signed-off-by: André Hentschel <nerv@dawncrow.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-09-24 22:41:30 +02:00