diff options
author | Stefan Metzmacher <metze@samba.org> | 2007-04-22 23:00:22 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 14:51:29 -0500 |
commit | 1912124dbfc501c5109f6ac36e125406078d408c (patch) | |
tree | a863846bd767627125f22abd26be74db66d81664 /source4/librpc/rpc/dcerpc.h | |
parent | cc5ad07d84df94f8f2bc16fcb8015f1cf843c1e3 (diff) | |
download | samba-1912124dbfc501c5109f6ac36e125406078d408c.tar.gz samba-1912124dbfc501c5109f6ac36e125406078d408c.tar.bz2 samba-1912124dbfc501c5109f6ac36e125406078d408c.zip |
r22470: merge handling of broken connections from wins replication client code
to the rpc client code
we need to always ask for read events on the socket otherwise we never
get the connection error reported.
shutdown the transport when a request timeout.
metze
(This used to be commit 3403c0cb15e08ec838b0bc834f941051fb94d124)
Diffstat (limited to 'source4/librpc/rpc/dcerpc.h')
-rw-r--r-- | source4/librpc/rpc/dcerpc.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/source4/librpc/rpc/dcerpc.h b/source4/librpc/rpc/dcerpc.h index 8fed56584d..c6dbc35477 100644 --- a/source4/librpc/rpc/dcerpc.h +++ b/source4/librpc/rpc/dcerpc.h @@ -57,11 +57,14 @@ struct dcerpc_connection { const char *binding_string; struct event_context *event_ctx; + bool dead; + bool free_skipped; + struct dcerpc_transport { enum dcerpc_transport_t transport; void *private; - NTSTATUS (*shutdown_pipe)(struct dcerpc_connection *); + NTSTATUS (*shutdown_pipe)(struct dcerpc_connection *, NTSTATUS status); const char *(*peer_name)(struct dcerpc_connection *); |