Introduction
Introduction Statistics Contact Development Disclaimer Help
changed default timeout value - fiche - A pastebin adjusted for gopher use
git clone git://vernunftzentrum.de/fiche.git
Log
Files
Refs
LICENSE
---
commit cb774abf27c10a8ba300a4e4ae11a5c8c2d174df
parent 6ee6fa3100537bfbe10bef2c0e11b19b1a88ef84
Author: solusipse <[email protected]>
Date: Tue, 17 Sep 2013 01:28:36 +0200
changed default timeout value
Diffstat:
fiche.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/fiche.c b/fiche.c
@@ -113,7 +113,7 @@ void perform_connection(int listen_socket)
int connection_socket = accept(listen_socket, (struct sockaddr *) &client_…
struct timeval timeout;
- timeout.tv_sec = 120;
+ timeout.tv_sec = 5;
timeout.tv_usec = 0;
if (setsockopt (connection_socket, SOL_SOCKET, SO_RCVTIMEO, (char *)&timeo…
You are viewing proxied material from vernunftzentrum.de. The copyright of proxied material belongs to its original authors. Any comments or complaints in relation to proxied material should be directed to the original authors of the content concerned. Please see the disclaimer for more details.