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
Alexandre Julliard
aded9e4091
rpcrt4: Fix compiler warnings on 64-bit.
2009-05-28 11:56:30 +02:00
Francois Gouget
082147d906
rpcrt4: Remove WINAPI on static functions where not needed.
2009-05-06 12:20:10 +02:00
Rob Shearman
324b4d0243
rpcrt4: Add a Win32 implementation of ncacn_ip_tcp transport.
2009-04-08 16:01:42 +02:00
Rob Shearman
06c2982a39
rpcrt4: Factor out non-Win32 compatible parts of the ncacn_ip_tcp client code to allow it to be compiled in.
2009-04-08 16:01:34 +02:00
Rob Shearman
ce747f3fac
rpcrt4: Compile in RPC over HTTP support even if HAVE_SOCKETPAIR is not defined.
2009-04-07 14:53:34 +02:00
Rob Shearman
317edfd7da
rpcrt4: Free the memory allocated for the protseq and endpoint strings allocated in RpcServerUseProtseq* functions.
...
Make a copy of the protseq string in alloc_serverprotoseq to simplify
memory management in higher-level functions.
2009-03-30 13:58:01 +02:00
Rob Shearman
524a99a2da
rpcrt4: Ensure that only the IP/IPv6 address families are considered in rpcrt4_protseq_ncacn_ip_tcp_open_endpoint/rpcrt4_ncacn_ip_tcp_open.
2009-03-26 16:11:07 +01:00
Rob Shearman
a42d4dbfb6
rpcrt4: Allow listening on dynamically generated ncacn_ip_tcp endpoints.
2009-03-26 16:10:59 +01:00
Alexandre Julliard
ce3ce9be8f
rpcrt4: Disable HTTP support if we don't have socketpair and related networking functions.
2009-03-26 14:02:01 +01:00
Huw Davies
eaf4492c70
rpcrt4: Dynamically allocate the buffer if the fixed size one isn't large enough. Don't return an inappropriate error if we fail to get the status text, it's only used for diagnostics.
2009-03-26 11:50:50 +01:00
Rob Shearman
5f6ae94ad0
rpcrt4: Implement RPC over HTTP support.
...
CodeWeavers did this work for supporting the optional HTTP connection
method of Outlook 2003/2007 (must be running with Windows versions set
to XP or higher to see this option).
This was written before Microsoft publicly released a specification
for the RPC over HTTP protocol and so was developed by examining
traffic flowing between a Windows client and an IIS server.
2009-03-25 15:20:52 +01:00
Rob Shearman
cdf509d71f
rpcrt4: Fix crash when calling RpcServerUseProtseq for ncacn_np and ncalrpc.
...
Add tests for these protocol sequences and for ncacn_ip_tcp.
2009-03-24 13:12:11 +01:00
Juan Lang
76f4b9b053
rpcrt4: Don't abort reading from a pipe if a single read is short.
2009-02-09 12:09:01 +01:00
Andrew Talbot
273b40656b
rpcrt4: Declare some functions static.
2009-01-19 13:36:26 +01:00