]> granicus.if.org Git - curl/commit
sws: restrict TCP_NODELAY to IP sockets
authorPeter Wu <peter@lekensteyn.nl>
Thu, 27 Nov 2014 22:59:20 +0000 (23:59 +0100)
committerDaniel Stenberg <daniel@haxx.se>
Thu, 4 Dec 2014 01:52:18 +0000 (02:52 +0100)
commitfb7d7e0022f22035449bbc506068004f0568f8ae
tree14f73e54a70018bb28d0991ff32f5133786a41fb
parent8ef77547d089a1c59c50a2d9c0ea66005cba5ceb
sws: restrict TCP_NODELAY to IP sockets

TCP_NODELAY does not make sense for Unix sockets, so enable it only if
the socket is using IP.

Signed-off-by: Peter Wu <peter@lekensteyn.nl>
tests/server/sws.c