fix #6768: do not use TCP-specific syscalls on UNIX domain sockets

This commit is contained in:
Evgeny Grin (Karlson2k)
2021-04-16 10:25:37 +02:00
committed by Christian Grothoff
parent ddf368bb6d
commit fadba1133c
5 changed files with 84 additions and 14 deletions
+10
View File
@@ -1,3 +1,13 @@
Fri 16 Apr 2021 10:23:39 AM CEST
Thu 15 Apr 2021 18:56:00 MSK
Fixed configure '--enable-sanitizer' paramenter.
Stopped pushing of patrial responses when limited by system maximum size
for sendmsg(). -EG
Fri 16 Apr 2021 10:23:39 AM CEST
Detect if a socket is a UNIX domain socket and do not try to play
with TCP corking options in this case (avoids useless failed
syscalls). -CG
Web 14 Apr 2021 22:20:00 MSK
Fixed: use sendmsg() in POSIX-compatible way, do not try to send more
than IOV_MAX elements per single call. -EG