git://git.exim.org
/
exim.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix: proxy-protocol (CVE-2023-41227) Bug 3031
[exim.git]
/
test
/
src
/
client.c
diff --git
a/test/src/client.c
b/test/src/client.c
index 9190af0689295a1bde2a926d9118828d2a44b2b3..9beaf25bb74a4ef154b35c94db1036f150b71f88 100644
(file)
--- a/
test/src/client.c
+++ b/
test/src/client.c
@@
-1234,6
+1234,13
@@
if (rc < 0)
exit(85);
}
exit(85);
}
+#ifdef TCP_QUICKACK
+ {
+ int off = 0;
+ (void) setsockopt(srv.sock, IPPROTO_TCP, TCP_QUICKACK, US &off, sizeof(off));
+ }
+#endif
+
printf("connected\n");
printf("connected\n");