Hans Leidekker
ca56f99280
winhttp: Use winsock sockets.
...
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-08-27 17:35:00 +02:00
Hans Leidekker
498042e0ee
winhttp: Escape untrusted URL paths.
...
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-08-24 20:12:05 +02:00
Zhiyi Zhang
b55f568383
winhttp: Add support for WINHTTP_ENABLE_SSL_REVOCATION.
...
This also fixes a regression caused by 0b61334b9d
,
which is causing Office 2013 to fail to login, saying that there is a problem
with your account.
Signed-off-by: Zhiyi Zhang <zzhang@codeweavers.com>
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-08-24 20:12:05 +02:00
Hans Leidekker
f5ea51d360
winhttp: Store the server certificate context in the request.
...
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-06-11 16:35:51 +02:00
Hans Leidekker
2752da05db
winhttp: Ignore empty proxy strings read from the environment.
...
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-05-23 17:34:01 +02:00
Hans Leidekker
0b61334b9d
winhttp: Fix invalid option error returned from WinHttpSetOption.
...
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-05-03 17:56:23 +02:00
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
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
Jacek Caban
e27ff36fc6
winhttp: Added WINHTTP_OPTION_CLIENT_CERT_CONTEXT option stub.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-10-06 19:17:40 +02:00
Jacek Caban
9bc3e9614f
winhttp: Added WINHTTP_OPTION_MAX_CONNS_PER_SERVER and WINHTTP_OPTION_MAX_CONNS_PER_1_0_SERVER options stub.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-09-08 19:44:24 +09: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
Andrew Eikum
668d4299b0
winhttp: Indicate that WinHttpCrackUrl should return string pointers.
...
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:31 +09:00
Jeremy Audiger
6c0fdc0516
winhttp: Prevent console spamming in get_system_proxy_autoconfig_url.
...
Signed-off-by: Jérémy Audiger <audiger@live.fr>
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-08-08 18:42:00 +09:00
Hans Leidekker
1def0982f1
winhttp: Always clear last error on success.
2015-08-03 20:50:33 +02:00
Huw Davies
1709635f29
winhttp: Implement WINHTTP_OPTION_UNLOAD_NOTIFY_EVENT.
2015-07-22 10:33:39 +02:00
Huw Davies
50d9d187c5
winhttp: Don't wait for the task thread to exit.
...
Instead, have the task thread call the destructor before it exits.
Previously, if the task thread held the final reference, it would call
request_destroy which would then wait for itself to finish.
2015-07-21 17:38:13 +02:00
Huw Davies
65319e811b
winhttp: Fix a reference leak.
2015-07-21 16:37:58 +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
1c5e704af6
winhttp: Fix a memory leak (valgrind).
2015-04-21 22:21:43 +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
Hans Leidekker
9a25a59dc2
winhttp: Fix build on Mac OS X 10.5.8.
2014-05-19 11:33:26 +02:00
Hans Leidekker
50c710bd91
winhttp: Add support for retrieving the proxy automatic configuration URL on Mac OS X.
2014-05-15 19:04:45 +02:00
Hans Leidekker
5522256328
winhttp: Reimplement WinHttpGetProxyForUrl on top of jsproxy.
2014-05-15 19:04:44 +02:00
Nikolay Sivov
2c880e5271
winhttp: Use proper deallocator (Coverity).
2014-04-14 20:19:02 +02:00
Hans Leidekker
8946346f51
winhttp: Fix a test failure on Windows 8 and conform to the more recent behavior.
2013-10-14 17:26:15 +02:00
Hans Leidekker
a506d0aa3b
winhttp: Add support for NTLM and Negotiate authentication.
2013-04-30 11:50:40 +02:00
Hans Leidekker
02f2ab9437
winhttp: Implement WINHTTP_OPTION_CONNECTION_INFO.
2013-03-15 11:45:09 +01:00
Andrew Talbot
a9983e6cd2
winhttp: Avoid signed-unsigned integer comparisons.
2013-03-06 11:42:56 +01:00
Jacek Caban
42750e340e
winhttp: Removed no longer used netconn_init argument.
2013-02-21 19:16:32 +01:00
Marcus Meissner
ab6369231f
winhttp: Do not free name too early (Coverity).
2012-12-28 11:25:58 +01:00
Hans Leidekker
1611123267
winhttp: Use the hostname instead of the IPv4 address in the URL returned from WinHttpDetectAutoProxyConfigUrl.
2012-12-18 12:37:34 +01:00
Hans Leidekker
e6ab87ccfa
winhttp: Check the server response when downloading a PAC script.
2012-12-18 12:37:28 +01:00
Detlef Riekenberg
8a3211af4c
winhttp: Accept WINHTTP_OPTION_CONFIGURE_PASSPORT_AUTH as session option.
2012-11-05 11:36:38 +01:00
Hans Leidekker
8ca3e80ddd
winhttp: Fix the error returned from WinHttpGetProxyForUrl when autodetection fails.
2012-11-01 15:42:39 +01:00
Hans Leidekker
b59efd66e8
winhttp: Pass the redirect policy setting down to request objects.
2012-10-22 11:44:34 +02:00
Hans Leidekker
8f108a0f4d
winhttp: Use platform-specific versions of IActiveScriptParse methods.
2012-07-27 17:05:34 +02:00
Heiko Hund
1ba968821a
winhttp: Make strings in WINHTTP_PROXY_INFO non-const.
2012-07-19 16:01:18 +02:00
Jaime Rave
37431c5b88
winhttp: Show discovery via DHCP not supported just one time.
2012-07-02 10:55:07 +02:00
Jacek Caban
f69445adeb
winhttp: Trace accept types in WinHttpOpenRequest.
2012-04-23 17:53:27 +02:00
Hans Leidekker
f37b94e69a
winhttp: Download PAC scripts in a separate session.
2012-01-20 13:32:27 +01:00
Hans Leidekker
e950e89867
winhttp: Avoid a null pointer dereference (clang).
2011-12-09 21:15:26 +01:00
Hans Leidekker
7d8730f8c5
winhttp: Resolve the server name only on the first request.
2011-11-25 16:22:02 +01:00
Marcus Meissner
ad5340f63a
winhttp: Check return value of CLSIDFromProgID (Coverity).
2011-11-24 17:17:23 +01:00
Hans Leidekker
9990f6c4a5
winhttp: Make the standard utilities available to PAC scripts.
2011-11-21 13:44:39 +01:00
Hans Leidekker
b81b3d1af5
winhttp: Fix a memory leak in run_script.
2011-11-21 13:43:05 +01:00
Hans Leidekker
654b0eeaea
winhttp: Reverse the order of arguments passed to Invoke.
2011-11-21 13:42:59 +01:00
Hans Leidekker
768300c8aa
winhttp: Implement WinHttpGetProxyForUrl.
2011-11-18 15:37:05 +01:00
Hans Leidekker
f6c46dd074
winhttp: Implement WinHttpGetIEProxyConfigForCurrentUser.
2011-11-16 16:59:37 +01:00