Commit Graph

157 Commits

Author SHA1 Message Date
Jacek Caban 41f93d8f59 rpcrt4: Added support for binding argument in RpcMgmtIsServerListening.
Based on patch by Andrew Eikum.

Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-10-28 12:45:01 +09:00
Jacek Caban 6c40b63d3e rpcrt4: Moved formatting pipe names to helper functions.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-10-28 12:45:01 +09:00
Michael Müller ab82b446a0 rpcrt4: Fix arguments of HttpAddRequestHeaders. 2015-06-25 21:01:16 +09:00
Hans Leidekker 0877e4cbb2 rpcrt4: Remove a couple of unused assignments. 2015-05-21 17:53:40 +09:00
Hans Leidekker 852721863a rpcrt4: Use InternetSetCookie to set the session cookie.
This ensures that the cookie is preserved when the server sets an additional cookie.
2015-05-21 17:53:30 +09:00
Marcus Meissner 7b9efb1f45 rpcrt4: Make sure we do not have *data allocated on error (Coverity). 2015-05-21 13:56:47 +09:00
Hans Leidekker f4c5940656 rpcrt4: Allow all HTTP read requests to be cancelled. 2015-05-14 00:06:57 +09:00
Hans Leidekker e34cb91399 rpcrt4: Also set the Content-Length header explicitly on the in pipe request. 2015-05-14 00:06:57 +09:00
Hans Leidekker 9002780015 rpcrt4: Use the Unicode version of InternetReadFileEx. 2015-05-14 00:06:56 +09:00
Hans Leidekker 49a2fb660b rpcrt4: Make sure the Content-Length header is set correctly when preparing the out pipe. 2014-12-19 22:36:17 +01:00
Marcus Meissner 906c341781 rpcrt4: Fixed memory leak on error exit (Coverity). 2014-07-15 15:30:44 +02:00
Bruno Jesus d4278ce0ed rpcrt4: Take care of EINTR on send/recv. 2014-06-12 18:05:03 +02:00
Frédéric Delanoy 44c1ba9f9e rpcrt4: Constify a character string. 2013-12-18 11:39:29 +01:00
Hans Leidekker 057c98323e rpcrt4: Don't try to decode the authorization value in the first leg. 2013-09-11 16:10:05 +02:00
Hans Leidekker 6f2c4bac58 rpcrt4: Don't remove the authorization header if the scheme is Basic. 2013-09-11 16:10:01 +02:00
Hans Leidekker 9ea95f4105 rpcrt4: Add support for NTLM and Negotiate. 2013-09-05 13:26:15 +02:00
Marcus Meissner d138a1e43d rpcrt4: Free url in error paths (Coverity). 2013-09-02 18:03:49 +02:00
Hans Leidekker 0b900f2fd4 rpcrt4: Only accept status code HTTP_STATUS_OK. 2013-08-28 16:14:36 +02:00
Hans Leidekker 35468903cd rpcrt4: Don't follow HTTP redirects. 2013-08-28 16:14:36 +02:00
Hans Leidekker 9d213312f1 rpcrt4: Remove an unneeded parameter from RPCRT4_BuildHttpConnectHeader. 2013-08-28 16:14:36 +02:00
Hans Leidekker a2f6e92acd rpcrt4: Add support for session cookies. 2013-08-28 16:14:36 +02:00
Hans Leidekker d5b2c8e943 rpcrt4: Try to authorize with the first HTTP request instead of waiting for a challenge. 2013-08-20 13:01:28 +02:00
Hans Leidekker 30c00ea16d rpcrt4: Specify INTERNET_FLAG_NO_CACHE_WRITE for the HTTP transport pipes. 2013-05-31 16:39:31 +02:00
Hans Leidekker 9967aed09d rpcrt4: Use the right port for https connections. 2013-03-25 16:27:17 +01:00
Andrew Talbot 49992c3a5e rpcrt4: Avoid signed-unsigned integer comparisons. 2013-02-26 11:26:58 +01:00
Hans Leidekker 164ddbca8c rpcrt4: Accept HTTP idle packets while waiting for the second prepare header. 2013-02-21 18:02:40 +01:00
Alexandre Julliard af734f9623 rpcrt4: Fix wrap-around bug in tick count comparison. 2013-01-24 15:15:16 +01:00
Frédéric Delanoy 9c63a30c25 rpcrt4: Fix resources leaks. 2012-10-31 16:12:27 +01:00
Jacek Caban ee40973b2b rpcrt4: Moved sending echo request to separated function. 2012-08-15 12:18:31 +02:00
Jacek Caban 07cb28c641 rpcrt4: Fixed memory leak. 2012-08-15 12:18:24 +02:00
Jacek Caban cbdb58476a rpcrt4: Added cancelling support for all HTTP requests. 2012-08-15 12:18:20 +02:00
Jacek Caban 1de4129b0a rpcrt4: Properly handle async HTTP failures. 2012-08-14 17:42:07 +02:00
Jacek Caban 9eeedc2723 rpcrt4: Optimize buffer allocation in rpcrt4_ncacn_http_read. 2012-08-14 17:42:07 +02:00
Jacek Caban 5e6aca7955 rpcrt4: Use helper for handling async call wait. 2012-08-14 17:42:06 +02:00
Jacek Caban cba1cfc645 rpcrt4: Added prepare_async_request helper. 2012-08-14 17:42:06 +02:00
Alexandre Julliard d2ca9f4b02 rpcrt4: Add ref counting to RPC connections, and grab a reference while processing an RPC packet. 2012-02-14 17:59:27 +01:00
Francois Gouget 86d8217aea rpcrt4: Give a name to the critical sections. 2011-11-14 20:15:26 +01:00
Bernhard Loos c2feafb96c rpcrt4: Switch to non-overlapped named pipe operations and use a thread for the async listen operation. 2011-09-19 17:59:35 +02:00
Bernhard Loos a57312d873 rpcrt4: The named pipe can be used for multiple operations at the same time, so use overlapped operations for ReadFile and WriteFile. 2011-09-14 17:28:38 +02:00
Bernhard Loos d599813b74 rpcrt4: Create pipes with FLAG_OVERLAPPED. 2011-07-15 16:25:18 +02:00
Damjan Jovanovic ec2f513690 rpcrt4: Implement RpcNetworkInqProtseqs. 2011-06-28 16:45:56 -05:00
Damjan Jovanovic acc112bad7 rpcrt4: Implement RpcProtseqVectorFree. 2011-06-20 19:32:02 +02:00
Rob Shearman f823f2181e rpcrt4: Override inquire_auth_client for ncalrpc transport to always indicate that the connection is authenticated. 2009-12-14 12:19:37 +01:00
Rob Shearman 3dbf356f8f rpcrt4: Allow the authentication details of the client to be transport-specific. 2009-12-14 12:19:33 +01:00
Rob Shearman d918587f1d rpcrt4: Implement client impersonation. 2009-12-14 12:19:27 +01:00
Rob Shearman 95026f9d6b rpcrt4: Override authentication functions for ncalrpc protocol to do nothing.
The protocol is local only and therefore encryption/decryption isn't
necessary to keep the data private, and methods are built into the
protocol for impersonating the user of the calling thread.
2009-12-14 12:19:21 +01:00
Rob Shearman deae193ac8 rpcrt4: Allow the connection to override the authentication mechanism for a connection type. 2009-12-14 12:19:16 +01:00
Rob Shearman ceb7fda374 rpcrt4: Fix rpcrt4_conn_tcp_read and rpcrt4_conn_tcp_write for reading/writing zero-sized data. 2009-12-14 12:18:47 +01:00
Hans Leidekker 4b33527f51 rpcrt4: Correct spelling of RPC_C_QOS_IDENTITY_STATIC and RPC_C_QOS_IDENTITY_DYNAMIC. 2009-11-04 13:07:56 +01:00
Alexandre Julliard e01420d72a rpcrt4: Assign a unique id to the connection instead of changing it for each message. 2009-08-18 20:15:01 +02:00