summaryrefslogtreecommitdiff
path: root/source4/lib/socket_wrapper
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2006-09-26 11:27:09 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:20:21 -0500
commita0c614ede22e629eea267b54d3b1852fe9cc2aad (patch)
treeabece16f84b8ca9df4caf7c1c0ac03ba5a3aac0d /source4/lib/socket_wrapper
parent00cb032c0f012dc535ff443af8f760ff0696f24f (diff)
downloadsamba-a0c614ede22e629eea267b54d3b1852fe9cc2aad.tar.gz
samba-a0c614ede22e629eea267b54d3b1852fe9cc2aad.tar.bz2
samba-a0c614ede22e629eea267b54d3b1852fe9cc2aad.zip
r18916: fixed the messaging layer on *BSD systems. When a socket was full we
were getting ENOBUFS, which mapped to NT_STATUS_NO_MEMORY, which in turn caused the messaging code to loop trying until it gave up. Now it correctly falls back to select. Messaging speed goes from 3 messages per second to over 7000 on my test vmware box. Not bad for a one line change :) (This used to be commit 6568f30adf980c572f9ffd6ff884336ebe652f90)
Diffstat (limited to 'source4/lib/socket_wrapper')
0 files changed, 0 insertions, 0 deletions