r11819: simplified the async rpc bind code a little.
commit938e372bffbee1982ad8268b83c43514fd2e5633
authorAndrew Tridgell <tridge@samba.org>
Mon, 21 Nov 2005 06:01:02 +0000 (21 06:01 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 18:46:33 +0000 (10 13:46 -0500)
tree4ef54f118bbe207a4bde1328f07cd05803852a2a
parent180c209c1bb48f6421043de2d0d48c29fc7f9274
r11819: simplified the async rpc bind code a little.

 - removed the struct dcerpc_request_state as all the state
   information is already available on the dcerpc_pipe structure, so just
   use that

 - added a single dcerpc_recv_data() handler for receiving packets
   from the transport layer. This then does the initial decoding of
   the dcerpc packet, and then looks at the packet type in order to
   work out who to dispatch it to. This should allow in-flight async
   rpc requests to still work while a new bind or alter context is
   happening

 - ensure that if the transport indicates the connection is dead that
   any in-flight bind or alter context requests are given an error

 - removed full_request_private and instead use separate bind_private
   and alter_private pointers

 - added a few comments for some bits I found hard to understand
source/librpc/rpc/dcerpc.c
source/librpc/rpc/dcerpc.h