summaryrefslogtreecommitdiff
path: root/source4/ntvfs
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2007-05-21 23:35:14 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:52:45 -0500
commit31f047f734d763ac6661f33afae8f39cf2fd4bd4 (patch)
tree4c3f11d1b63e1b699b98a0f6c25ce5322af9e6ca /source4/ntvfs
parent4378af38ec9fcf2bd848355123f22d7a67130f9b (diff)
downloadsamba-31f047f734d763ac6661f33afae8f39cf2fd4bd4.tar.gz
samba-31f047f734d763ac6661f33afae8f39cf2fd4bd4.tar.bz2
samba-31f047f734d763ac6661f33afae8f39cf2fd4bd4.zip
r23057: only call the async recv function for the first pending receive, not
all pending receives, when the transport dies. This is because the async callback most commonly shuts down the connection (it's the only reasonable thing to do when it's dead), and that frees the whole context. That means that if we loop more than once, we'll end up using freed memory. (This used to be commit 75d537d3a5e3fc5258ce48bfec0c0ce6160978f6)
Diffstat (limited to 'source4/ntvfs')
0 files changed, 0 insertions, 0 deletions