summaryrefslogtreecommitdiff
path: root/source4/librpc/rpc/dcerpc.h
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2012-03-14 14:57:32 +0100
committerStefan Metzmacher <metze@samba.org>2012-03-15 07:35:28 +0100
commit080549f4675484d0de16c5bfae162513f13fcab6 (patch)
treee5251fbba65f096944edcb87ba94b47776d852f5 /source4/librpc/rpc/dcerpc.h
parent553a8921a453d839b87b941719b1ad44c694904f (diff)
downloadsamba-080549f4675484d0de16c5bfae162513f13fcab6.tar.gz
samba-080549f4675484d0de16c5bfae162513f13fcab6.tar.bz2
samba-080549f4675484d0de16c5bfae162513f13fcab6.zip
s4:librpc/rpc: ship requests via an immediate event
Deep inside dcerpc_ship_next_request() some code path could trigger dcerpc_connection_dead(), which means it's not safe to do any processing after calling dcerpc_ship_next_request(). metze
Diffstat (limited to 'source4/librpc/rpc/dcerpc.h')
-rw-r--r--source4/librpc/rpc/dcerpc.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/source4/librpc/rpc/dcerpc.h b/source4/librpc/rpc/dcerpc.h
index 22afdf880f..359efdabc0 100644
--- a/source4/librpc/rpc/dcerpc.h
+++ b/source4/librpc/rpc/dcerpc.h
@@ -63,6 +63,9 @@ struct dcecli_connection {
const char *binding_string;
struct tevent_context *event_ctx;
+ struct tevent_immediate *io_trigger;
+ bool io_trigger_pending;
+
/** Directory in which to save ndrdump-parseable files */
const char *packet_log_dir;