mirror of
https://github.com/sigmasternchen/CFloor
synced 2025-03-15 04:18:55 +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;
|
||||
}
|
||||
|
||||
debug("networking: header: %s", connection->currentHeader);
|
||||
|
||||
// \r is in the buffer
|
||||
connection->currentHeaderLength--;
|
||||
connection->currentHeader[connection->currentHeaderLength] = '\0';
|
||||
|
@ -535,6 +533,10 @@ void* listenThread(void* _bind) {
|
|||
close(tmp);
|
||||
continue;
|
||||
}
|
||||
if (setsockopt(tmp, SOL_SOCKET, SO_REUSEPORT, &(int){ 1 }, sizeof(int)) < 0) {
|
||||
close(tmp);
|
||||
continue;
|
||||
}
|
||||
|
||||
bindObj->_private.socketFd = tmp;
|
||||
|
||||
|
|
Loading…
Reference in a new issue