r11627: give the caller much more control over the stream to packet process,
authorAndrew Tridgell <tridge@samba.org>
Thu, 10 Nov 2005 04:26:00 +0000 (04:26 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 18:46:01 +0000 (13:46 -0500)
commit79b3a3afb51947437edbf6804a18a99526e3e281
tree5536ca632cc740beb6aea2be0d2176a65799c641
parent0eeedb97a5b28c20edcf13d37e52b8e8b98567f6
r11627: give the caller much more control over the stream to packet process,
allowing it to specify the initial read size (thus preventing
over-reading) and to stop the recv process when needed. This is used
by the dcerpc socket code, which relies on not getting packets when it
isn't ready for them
(This used to be commit f869fd674ec4b148dc9a264e94d19ce79d35131d)
source4/lib/stream/packet.c
source4/lib/stream/packet.h
source4/librpc/rpc/dcerpc_sock.c