Commit Graph

452 Commits

Author SHA1 Message Date
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
Bruno Jesus 36f6387e5c wininet: Forward InternetGetConnectedState to Ex function.
Signed-off-by: Bruno Jesus <bjesus@codeweavers.com>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-03-06 19:44:39 +01:00
Michael Müller 6caecb6e58 wininet: Handle query parameters for HTTPS urls in InternetOpenUrlW.
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>
2017-02-23 13:15:46 +01:00
Carlo Bramini 47ff95429a wininet: Use return value of sprintf() instead of calling strlen() and simplify code.
Signed-off-by: Carlo Bramini <carlo_bramini@users.sourceforge.net>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-11-14 11:07:09 -06:00
Michael Müller cacad1df98 wininet: Correctly set lpszUrlPath in InternetCrackUrlW for urls without path component.
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-07-08 23:07:20 +09:00
Jacek Caban 27ea3804dd wininet: Added semi-stub INTERNET_OPTION_END_BROWSER_SESSION implementation.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-07-06 23:10:28 +09:00
Thomas Faber 877a628aa6 wininet: Avoid buffer overrun in alloc_object.
Signed-off-by: Thomas Faber <thomas.faber@reactos.org>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-06-03 12:29:36 +09:00
Jacek Caban b72c2e85b4 wininet: Return NULL instead of FALSE in get_proxy_autoconfig_url.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-05-21 00:53:51 +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 1d5670c7c4 wininet: Removed maximum URL length assumption from get_proxy_autoconfig_url.
Also use correct encoding.

Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-05-18 10:34:01 +09:00
Jacek Caban 7d541b3fd3 wininet: Include config.h in internet.c for Mac configure macros.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-05-18 10:33:59 +09:00
Jacek Caban e0e0b6b7c6 wininet: Initialize url_w in InternetCrackUrlA.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-05-18 10:33:57 +09:00
Jacek Caban 41e45509b6 wininet: Don't assume maximal URL length in INTERNET_InternetOpenUrlW.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-05-18 10:33:55 +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 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 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 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 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 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 e5ce90ed1b wininet: Don't trace the password in InternetConnectW. 2015-08-27 22:14:05 +09:00
Hans Leidekker f7538bfe47 wininet: Add a stub implementation of INTERNET_OPTION_SUPPRESS_BEHAVIOR. 2015-07-29 21:44:02 +02:00
Daniel Lehman a57c91ed39 wininet: Trace loaded proxy settings. 2015-04-07 15:11:37 +09:00
Thomas Faber d742f6e821 wininet: Avoid empty initializer braces. 2015-02-17 22:04:17 +09:00
Jacek Caban 47778f95fa wininet: Moved inet_ntop call to GetAddress. 2015-02-16 19:19:10 +09:00
Jacek Caban 5436fef807 wininet: Always use winsock sockets. 2015-02-13 21:47:13 +09:00
Jacek Caban 7410bf5896 wininet: Moved INTERNET_GetNextLine to ftp.c. 2015-02-13 21:46:43 +09:00
Jacek Caban de5c1fb8e9 wininet: Initialize winsock before creating socket in Windows builds. 2015-02-12 22:12:04 +09:00
Bruno Jesus 5e13e7f809 wininet: Fix InternetGetConnectedStateEx[A|W]. 2014-10-28 13:53:44 +09:00
Jacek Caban 1cfee7da6e wininet: Moved DllInstall to internet.c. 2014-07-24 13:02:09 +02:00
Jacek Caban e1dbfb762c wininet: Fixed leak in InternetGetConnectedStateExA. 2014-07-24 13:01:17 +02:00
Frédéric Delanoy 2ab8729020 Assorted spelling/grammar fixes. 2014-06-20 12:19:31 +02:00
Bruno Jesus 8a15ea1190 wininet: Use a helper to receive data and take care of EINTR. 2014-06-12 18:05:06 +02:00
Hans Leidekker 654bef8f37 wininet: Fix build on Mac OS X 10.5.8. 2014-05-19 11:33:24 +02:00
Hans Leidekker 89d40b3de1 wininet: Add support for retrieving the proxy automatic configuration URL on Mac OS X. 2014-05-06 13:49:47 +02:00
Hans Leidekker 4036475dc6 wininet: Only parse proxy URLs taken from the environment.
Proxy server strings stored in the registry use a different format.
2014-05-06 13:49:05 +02:00
Hans Leidekker 9946e8a87e wininet: Fix a couple of memory leaks. 2014-05-06 13:49:00 +02:00
Hans Leidekker 282b9c7bb7 wininet: Use a semicolon to delimit registered proxy servers. 2014-05-06 13:48:57 +02:00
André Hentschel c8426495fc wininet: Use boolean return value in boolean function. 2014-02-04 11:15:30 +01:00
Bruno Jesus 2ef27a2322 wininet: InternetGetConnectedStateExW must return TRUE for success. 2014-01-30 10:31:42 +01:00
Frédéric Delanoy 21618deb40 wininet: Use BOOL type where appropriate. 2013-11-27 10:54:22 +01:00
Vijay Kiran Kamuju ebe121e360 wininet: Implement setting INTERNET_PER_CONN_PROXY_BYPASS. 2013-10-30 10:13:35 +01:00
Jacek Caban 47f490e1f6 wininet: Added support for locking HTTP request files. 2013-10-04 17:46:23 +02:00
Jacek Caban 817d6625a8 wininet: Added InternetUnlockRequestFile implementation. 2013-10-04 17:46:23 +02:00
Jacek Caban c1bab59e81 wininet: Forward InternetLockRequestFile to handle-specific functions. 2013-10-04 17:46:23 +02:00