Synchronet now requires the libarchive development package (e.g. libarchive-dev on Debian-based Linux distros, libarchive.org for more info) to build successfully.

Commit 9d7d1f71 authored by rswindell's avatar rswindell

For H-exempt users, don't disconnect upon timeout waiting for a request.

parent f2c57eca
......@@ -154,9 +154,11 @@ while(client.socket.is_connected && !quit) {
cmdline = client.socket.recvline(1024 /*maxlen*/, 300 /*timeout*/);
if(cmdline==null) {
if(client.socket.is_connected)
if(client.socket.is_connected) {
if(user.security.exemptions&UFLAG_H)
continue;
log(LOG_WARNING, "!TIMEOUT waiting for request");
else
} else
log(LOG_WARNING, "!client disconnected");
break;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment