Tim Clem
681ce692a0
wininet: Make heap_strndupAtoW stop at the first null.
...
The analogous heap_strndupW already does this. Fixes InternetCrackUrlA
behavior when passed a dwUrlLength that's past the end of the string.
Signed-off-by: Tim Clem <tclem@codeweavers.com>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-07-07 11:34:42 +02:00
Alexandre Julliard
3c31cc5836
wininet: Build with msvcrt.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-11-25 20:47:43 +01: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
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
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
Dmitry Timoshkov
24f3d50ccc
wininet: Remove unused parameter from create_netconn().
...
Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-09-07 19:27:22 +02:00
Michael Stefaniuc
a6a059f802
wininet: Use the global HeapAlloc() wrappers.
...
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-02-06 12:58:59 +01: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
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
86d14ad17e
wininet: Use INTERNET_SendCallback in ftp.c.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-06-21 11:23:50 +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
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
Jacek Caban
5b98186abf
wininet: Pass domain to get_cookie_domain as a substring.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-05-17 11:50:58 +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
9d3fda008f
wininet: Cache blocking state in netconn_t.
2015-06-22 19:16:49 +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
7fa7e9bd3b
wininet: Get rid of no longer needed read_chunked field.
2015-06-15 14:46:49 +09:00
Francois Gouget
ef0b22aabb
wininet; Mark internal symbols with hidden visibility.
2015-04-03 00:33:30 +09:00
Jacek Caban
8ef78d068f
wininet: Get rid of no longer needed sock_get_error.
2015-03-12 13:54:16 +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
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
Jacek Caban
cafbd54457
wininet: Use WSAGetLastError in sock_get_error in Windows builds.
2015-02-12 17:57:25 +09:00
Hans Leidekker
462f56d468
wininet: Protect the request headers array with a critical section.
2014-09-25 15:20:19 +02:00
Jacek Caban
e24ce4c128
wininet: Added new cookie_set_t type and use it in get_cookie.
2014-07-15 22:39:09 +02:00
Jacek Caban
db441cf58f
wininet: Added support for INTERNET_COOKIE_HTTPONLY flag to InternetGetCookieEx.
2014-07-04 14:51:44 +02:00
Jacek Caban
314e295820
wininet: Added support for INTERNET_COOKIE_HTTPONLY flag to InternetSetCookieEx.
2014-07-04 14:51:40 +02:00
Jacek Caban
b3cfae8108
wininet: Fixed InternetSetCookieExW return type and forward InternetSetCookieW to InternetSetCookieExW instead of the other way around.
2014-07-04 14:51:30 +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
Bruno Jesus
1b8d8ef372
wininet: Use a helper to send data and take care of EINTR.
2014-06-11 16:11:44 +02:00
Jacek Caban
0767e06044
wininet: Use blocking_mode_t instead of flags in NETCON_recv.
2014-03-05 19:16:46 +01:00
Hans Leidekker
6c7c15059a
wininet: Separate socket destruction from destruction of the connection object.
2013-12-11 12:57:01 +01:00
Jacek Caban
47f490e1f6
wininet: Added support for locking HTTP request files.
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
Jacek Caban
c58317b5b4
wininet: Moved request file info to separated struct.
2013-10-04 17:46:23 +02:00
Piotr Caban
422fb313d3
wininet: Get rid of rawHeaders field in request_t structure.
2013-04-30 18:44:47 +02:00
Jacek Caban
cde372700c
wininet: Use schannel for HTTPS connection by defaul and get rid of OpenSSL dependency.
2013-04-03 17:50:03 +02:00
Jacek Caban
6c6e084a7d
wininet: Added NETCON_recv support for schannel-based connections.
2013-04-03 17:49:41 +02:00
Jacek Caban
952588eac4
wininet: Use schannel in NETCON_secure_connect if OpenSSL is not available.
2013-04-03 17:49:18 +02:00
Piotr Caban
e4e79e7183
wininet: Store urlcache container prefix as ANSI string.
2013-04-01 14:10:37 +02:00
Jacek Caban
febbb85528
wininet: Renamed socketFD to socket.
2013-03-01 18:03:30 +01:00
Jacek Caban
c6ee6d6c9e
wininet: Renamed useSSL to secure and set it after secure connection is established.
2013-03-01 18:03:30 +01:00
Jacek Caban
f824e20010
wininet: Get rid of WORKREQ* types.
2013-01-30 13:05:28 +01:00
Jacek Caban
302fd67e61
wininet: Moved WORKREQ_FTPDELETEFILEW out of WORKREQUEST.
2013-01-30 13:05:28 +01:00
Jacek Caban
a489677fb5
wininet: Moved WORKREQ_FTPFINDNEXTW out of WORKREQUEST.
2013-01-30 13:05:23 +01:00