mirror of
https://github.com/sigmasternchen/CFloor
synced 2025-03-15 20:28:56 +00:00
removed debug output
This commit is contained in:
parent
7c193caa97
commit
253c2153bd
1 changed files with 4 additions and 2 deletions
|
@ -391,8 +391,6 @@ void dataHandler(int signo) {
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
debug("networking: header: %s", connection->currentHeader);
|
|
||||||
|
|
||||||
// \r is in the buffer
|
// \r is in the buffer
|
||||||
connection->currentHeaderLength--;
|
connection->currentHeaderLength--;
|
||||||
connection->currentHeader[connection->currentHeaderLength] = '\0';
|
connection->currentHeader[connection->currentHeaderLength] = '\0';
|
||||||
|
@ -535,6 +533,10 @@ void* listenThread(void* _bind) {
|
||||||
close(tmp);
|
close(tmp);
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
if (setsockopt(tmp, SOL_SOCKET, SO_REUSEPORT, &(int){ 1 }, sizeof(int)) < 0) {
|
||||||
|
close(tmp);
|
||||||
|
continue;
|
||||||
|
}
|
||||||
|
|
||||||
bindObj->_private.socketFd = tmp;
|
bindObj->_private.socketFd = tmp;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue