Support = in socket options, make TCP_NODELAY default

This commit is contained in:
Vladimir Dubrovin committed 2026-10-11 20:56:49 +03:00
1 parent 0e8d757464
commit c827f77137
7 files changed
+144 -81

No files matched your search

+1 -1
View File
@@ -184,7 +184,7 @@ void * sockschild(struct clientparam* param) {
param->operation = command == 2?BIND:UDPASSOC;
if(command == 2){
if ((param->remsock=param->srv->so._socket(param->sostate, SASOCK(&param->req), SOCK_STREAM, IPPROTO_TCP)) == INVALID_SOCKET) {RETURN (11);}
setopts(param->remsock, param->srv->lissockopts);
setopts(param->remsock, &param->srv->lissockopts);
if(extbindtodevice(param, param->remsock)) {RETURN (12);}
}
break;