Rob Shearman
8a87d916b4
rpcrt4: Convert bind ack and nack reject reasons into RPC status codes when binding.
2007-07-23 11:48:13 +02:00
Rob Shearman
69eeb8b1b7
rpcrt4: Return a fault packet if the proc num exceeds the index of the last function available for the interface.
2007-07-05 19:53:53 +02:00
Rob Shearman
234b8cbe0a
rpcrt4: Call RPCRT4_Send directly from PKT_RECEIVE handler in server.
...
Remove the WINE_RPCFLAG_EXCEPTION hack to pass exception information to
I_RpcSend.
2007-07-05 19:53:47 +02:00
Rob Shearman
9c77d7ac1f
rpcrt4: Translate between NCA and RPC status codes.
2007-07-05 19:53:29 +02:00
Rob Shearman
2de3d31a7a
rpcrt4: Translate STATUS_ACCESS_VIOLATION exceptions caught whilst executing the stub function to ERROR_NOACCESS to prevent confusing exceptions occurring in the client.
2007-06-25 23:21:53 +02:00
Rob Shearman
0d05685b68
rpcrt4: Return a fault packet if the interface/object pair in a request packet aren't registered.
2007-06-25 23:21:52 +02:00
Andrew Talbot
d5d056ef75
rpcrt4: Exclude unused headers.
2007-05-18 14:11:22 +02:00
Andrew Talbot
67813450b9
rpcrt4: Replace inline static with static inline.
2007-03-23 12:29:52 +01:00
Francois Gouget
62662d21dd
rpcrt4: Improve the prototypes Win64 compatibility by replacing long with LONG.
2007-02-06 13:23:53 +01:00
Rob Shearman
9fb15b4105
rpcrt4: Make the fixme for an unhandled packet type more useful by printing the code of the unhandled packet type.
2007-01-23 11:38:16 +01:00
Rob Shearman
98c87d0e70
rpcrt4: Pass WT_EXECUTELONGFUNCTION to QueueUserWorkItem since the
...
function being called can sometimes take a long time to return and we
almost always want a new thread to be created if there are no free
threads available.
2007-01-04 21:13:49 +01:00
Rob Shearman
776f81b3be
rpcrt4: A NULL IfSpec in RpcServerUnregisterIf should remove all interfaces, not crash.
2007-01-02 20:49:04 +01:00
Rob Shearman
29a9abff8a
rpcrt4: Implement RpcServerUnregisterIf.
2006-11-13 14:32:41 +01:00
Rob Shearman
0b1cc1061b
rpcrt4: Convert the server interfaces list into a standard Wine list.
2006-11-13 14:32:24 +01:00
Rob Shearman
61967ff4be
rpcrt4: Create one protseq object per used protocol sequence, not per RpcServerUseProtseq* function call.
2006-11-10 13:50:17 +01:00
Rob Shearman
e1561038d0
rpcrt4: Don't store the endpoint in the protseq.
2006-11-10 13:50:12 +01:00
Rob Shearman
e0acc8d276
rpcrt4: Fix a crash in RpcServerUseProtseqEpExA/W when using an unsupported protseq.
2006-11-10 13:50:07 +01:00
Michael Stefaniuc
de21efbadd
rpcrt4: Win64 printf format warning fixes.
2006-11-10 11:31:59 +01:00
Rob Shearman
8b6c30ab4b
rpcrt4: Open the endpoint from the caller of RpcServerUseProtseq* instead of the protseq server thread.
...
This allows errors to be returned to the caller and to create more than
one connection for an endpoint.
2006-11-09 10:36:47 +01:00
Rob Shearman
c3918d9be4
rpcrt4: Move transport-specific server functions to rpc_transport.c.
2006-10-25 20:21:41 +02:00
Robert Shearman
2f6e643d56
rpcrt4: Add a critical section to protect the connection list in each
...
protseq to avoid taking the process-wide server_cs in the hot path for
each protocol.
2006-10-16 19:58:17 +02:00
Robert Shearman
9ea03d7077
rpcrt4: Convert the protseq list into a standard Wine list.
2006-10-16 19:57:01 +02:00
Robert Shearman
1ceeb058e3
rpcrt4: Abstract out the way incoming connections are waited for so that we no longer need to wait on Win32 handles.
2006-10-16 19:56:38 +02:00
Robert Shearman
e906424178
rpcrt4: Create a server thread for each protseq.
2006-10-16 19:44:42 +02:00
Francois Gouget
4794dc0e38
rpcrt4: Add RPC_CSTR, RPC_WSTR and update the prototypes accordingly.
2006-10-13 11:54:58 +02:00
Thomas Weidenmueller
bc0f9c49b0
rpcrt4: Fix RpcMgmtSetServerStackSize prototype.
2006-09-28 14:03:50 +02:00
Robert Shearman
e7df38c27f
rpcrt4: Add a stub for RpcMgmtSetServerStackSize.
2006-06-30 20:43:53 +02:00
Robert Shearman
45d42528a0
rpcrt4: Add stub for RpcMgmtEnableIdleCleanup.
2006-06-21 13:39:38 +02:00
Robert Shearman
0da8836ff7
rpcrt4: Move the packet manipulation from the exception filter to the exception handler.
...
Remove the unused server_sem variable.
2006-06-19 23:04:19 +02:00
Robert Shearman
1437f8bd8c
rpcrt4: Use the thread pool in the RPC server for processing packets.
2006-06-19 10:28:50 +02:00
Jonathan Ernst
360a3f9142
Update the address of the Free Software Foundation.
2006-05-23 14:11:13 +02:00
Mike McCormack
0f8f927aed
rpcrt4: Add a stub implementation for RpcMgmtIsServerListening.
2006-05-18 16:36:21 +02:00
Robert Shearman
217ec275b8
rpcrt4: Store non-connection-specific authentication information in a ref-counted structure that is shared between connections and bindings.
2006-05-18 10:36:07 +02:00
Mike McCormack
9b791e0983
rpcrt4: Allocate RpcServerProtseq in a single place.
2006-04-21 11:28:39 +02:00
Mike McCormack
fe99f330ab
rpcrt4: Abstract the transport layer functionality.
2006-04-20 19:48:15 +02:00
Mike McCormack
3a4a76be2f
rpcrt4: Abstract access to the connection's waitable object.
2006-04-20 15:17:06 +02:00
Robert Shearman
b36d5fa11f
rpcrt4: Fix some memory leaks.
2006-04-20 15:11:51 +02:00
Mike McCormack
a0f8623e2e
rpcrt4: Stub implementation for rpcrt4.RpcMgmtEpEltInqBegin().
2006-04-19 12:00:26 +02:00
Mike McCormack
f0c49daedf
rpcrt4: Add a stub implementation for rpcrt4.RpcMgmtInqIfIds().
2006-04-19 12:00:09 +02:00
Robert Shearman
196829663a
rpcrt4: Fix race condition in RpcServerListen.
...
The DontWait parameter is used for forcing the function not to wait
for the server to finish.
2006-01-03 12:07:04 +01:00
Ge van Geldorp
1a1583a364
Match PSDK STATUS_* definitions.
2005-11-28 17:32:54 +01:00
Alexandre Julliard
20a1a203c6
Use a more portable scheme for storing the name of a critical
...
section.
2005-09-09 10:19:44 +00:00
Mike McCormack
4a5378efcd
Fix some gcc 4.0 warnings.
2005-08-30 08:56:35 +00:00
Mike McCormack
bda7ace2e9
Interlocked LONG* gcc warning fixes.
2005-07-13 11:59:15 +00:00
Robert Shearman
ff4ba9573c
Fix an RPC server startup race introduced by me.
2005-06-08 18:32:30 +00:00
Robert Shearman
b5eacf9a8d
- Fix RpcServerListen so that it doesn't return
...
RPC_S_ALREADY_LISTENING when the only interfaces it is listening on
are auto listens.
- Only synchronize with server thread when necessary and move this
into RpcMgmtWaitServerListen.
2005-05-13 13:55:24 +00:00
Robert Shearman
16779f1e5e
Fix deadlock caused by not leaving the critical section on all code
...
paths.
2005-03-19 17:05:41 +00:00
Robert Shearman
64280a6de4
- RpcMgmtStopServerListen should not affect auto-listen interfaces.
...
- Implement stub for RpcRevertToSelfEx.
- Change the more verbose files to use a new debug channel, "rpc."
2005-03-14 10:11:04 +00:00
Robert Shearman
c5bb5182e8
Fix RPC server thread race.
2005-02-15 15:03:26 +00:00
Mike McCormack
4a0f999859
Use CreateEventW in preference to CreateEventA for unnamed events.
2005-01-07 15:40:09 +00:00