Hans Leidekker
2b77b0bb6b
winhttp: Implement WINHTTP_OPTION_SECURE_PROTOCOLS.
...
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-09-12 10:24:54 +02:00
Hans Leidekker
d71fcc93e4
winhttp: Allocate a credential handle for each session.
...
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-09-12 10:24:52 +02:00
Sebastian Lackner
5a61913e90
winhttp: Rename host_t to hostdata_t.
...
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-07-19 22:52:54 +02:00
Jacek Caban
2a99f0e3b3
winhttp: Periodically free outdated connections.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-07-18 20:43:32 +02:00
Jacek Caban
5226865c53
winhttp: Cache and reuse persistent HTTP connections.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-07-18 20:43:32 +02:00
Jacek Caban
e0e8a3ff77
winhttp: Introduce global connected hosts store and keep reference to host in netconn_t.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-07-18 20:43:32 +02:00
Jacek Caban
d1d65c9b21
winhttp: Merge netconn_create and netconn_connect implementations.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-07-18 20:43:32 +02:00
Jacek Caban
3e60241677
winhttp: Store socked address in netconn_t.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-07-18 20:43:31 +02:00
Jacek Caban
e129023eb7
winhttp: Pass socket address as sockaddr_storage to netconn_connect.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-07-18 20:43:31 +02:00
Jacek Caban
c2f464decb
winhttp: Get rid of no longer needed netconn_init.
...
Spotted by Hans.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-07-14 22:54:03 +02:00
Jacek Caban
c502629819
winhttp: Allocate netconn_t separately from request_t.
...
Once persistent connections will be supported, life time of connection
may exceed life time of request object.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-07-13 18:34:45 +02:00
Jacek Caban
c06104c62a
winhttp: Store security_flags in request_t instead of netconn_t.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-07-13 18:34:43 +02:00
Francois Gouget
c43dd195de
winhttp: Add __WINE_ALLOC_SIZE attributes to heap_xxx() functions.
...
Signed-off-by: Francois Gouget <fgouget@free.fr>
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-02-15 16:16:40 +01:00
Andrew Eikum
c8b166e3bf
winhttp: Also pass hostname to jsproxy.
...
Signed-off-by: Andrew Eikum <aeikum@codeweavers.com>
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-09-01 21:21:32 +09:00
Huw Davies
1709635f29
winhttp: Implement WINHTTP_OPTION_UNLOAD_NOTIFY_EVENT.
2015-07-22 10:33:39 +02:00
Hans Leidekker
3b8a8d31dc
winhttp: Store credentials set with WinHttpSetCredentials separately from username and password set through options.
2015-06-15 14:45:51 +09:00
Hans Leidekker
d6c9c984e5
winhttp: Implement a task queue for asynchronous requests.
...
This ensures that asynchronous calls are completed in the right order.
2015-02-16 23:28:22 +09:00
Nikolay Sivov
e606551c21
winhttp: Release typeinfos and typelib on dll unload.
2015-01-14 13:18:59 +01:00
Hans Leidekker
cd7806b223
winhttp: Double the size of the internal read buffer.
2014-12-09 13:16:52 +01:00
Jacek Caban
d2886a05f9
wine/debug.h: Added debugstr_variant and debugstr_vt aliases and removed all duplicated implementations.
2014-07-24 17:05:55 +02:00
Dmitry Timoshkov
f8d79c83b4
winhttp: Remove unused IUnknown *outer parameter from object constructor.
2014-01-07 15:22:24 +01:00
Jacek Caban
92426b5136
winhttp: Use netconn_query_data_available in get_available_data when possible.
2013-11-01 11:03:29 +01:00
Hans Leidekker
59b0374710
winhttp: Don't assume that end of chunk means end of stream.
2013-09-23 11:56:38 +02:00
Hans Leidekker
52ef52e085
winhttp: Get rid of the flags parameter to netconn_send.
2013-05-01 16:01:02 +02:00
Hans Leidekker
a506d0aa3b
winhttp: Add support for NTLM and Negotiate authentication.
2013-04-30 11:50:40 +02:00
Hans Leidekker
d63ef4d855
winhttp: Resend any request data when handling an authentication or redirect response.
2013-04-30 11:50:31 +02:00
Francois Gouget
fbe7ab5c5a
winhttp: netconn_get_next_line() is not used anymore so remove it.
2013-03-26 17:41:46 +01:00
Hans Leidekker
bb3097f01e
winhttp: Add a read-ahead buffer to allow WinHttpQueryDataAvailable to return the right values in chunked mode.
...
This is a port of wininet commit 3d02c42b39
.
2013-03-25 16:27:34 +01:00
Jacek Caban
42750e340e
winhttp: Removed no longer used netconn_init argument.
2013-02-21 19:16:32 +01:00
Jacek Caban
5b38dac7ac
winhttp: Use schannel for HTTPS connection by defaul and get rid of OpenSSL dependency.
2013-01-23 23:41:27 +01:00
Jacek Caban
db22753a05
winhttp: Added schannel-based netconn_recv implementation.
2013-01-23 23:41:15 +01:00
Jacek Caban
de0d75312b
winhttp: Use schannel in netconn_secure_connect if OpenSSL is not available.
2013-01-23 23:41:12 +01:00
Hans Leidekker
ebc4fd1462
winhttp: Don't attempt to read data after receiving a response to a HEAD request.
2012-01-27 18:05:48 +01:00
Hans Leidekker
7d8730f8c5
winhttp: Resolve the server name only on the first request.
2011-11-25 16:22:02 +01:00
Hans Leidekker
050058c5bf
winhttp: Add accept types to the request headers.
2011-07-26 10:23:26 +02:00
Hans Leidekker
4aeec1b88d
winhttp: Implement IWinHttpRequest::Open.
2011-07-21 15:36:38 +02:00
Hans Leidekker
fd7538d38c
winhttp: Add a stub implementation of IWinHttpRequest.
2011-07-08 17:34:48 +02:00
Marcus Meissner
974326bfac
winhttp: Mark internal symbols as hidden.
2011-04-29 14:21:41 +02:00
Juan Lang
4127062a3e
winhttp: Support querying the cipher strength of an SSL connection.
2010-10-01 13:43:04 +02:00
Juan Lang
7c7d00a12f
winhttp: Store security flags in netconn_t.
2010-05-18 08:48:21 +02:00
Hans Leidekker
41e147e68f
winhttp: Support setting security flags on request handles.
2010-05-14 18:03:03 +02:00
Hans Leidekker
b467efb5c8
winhttp: Add support for resolve timeouts.
2010-02-22 13:15:56 +01:00
Matijn Woudt
d0983e9ec2
winhttp: Add timeout for session handles and implement for WinHttpSetTimeouts.
2010-01-29 17:28:03 +01:00
Juan Lang
a33c4bfd0b
winhttp: Pass hostname to netconn_secure_connect.
2009-12-04 12:02:50 +01:00
Juan Lang
d7d8a0eec4
winhttp: Unload OpenSSL when unloading winhttp.
2009-10-05 13:23:17 +02:00
Gerald Pfeifer
8c189d78ee
winhttp: Include <sys/socket.h> from winhttp_private.h. Remove now redundant inclusion from request.c.
2009-08-03 14:56:22 +02:00
Juan Lang
68039dcaff
winhttp: Implement connect timeout.
2009-07-24 11:09:46 +02:00
Juan Lang
64d69b55f9
winhttp: Store send and receive timeouts in request_t, and only set them in a netconn_t if it's connected.
2009-07-22 12:04:09 +02:00
Juan Lang
31545206fb
winhttp: Use proxy server when redirecting.
2009-07-15 14:10:35 +02:00
Juan Lang
646b9cae80
winhttp: Convert connect_t's address type from a struct sockaddr_in to a struct sockaddr_storage.
2009-07-09 12:00:23 +02:00