diff options
Diffstat (limited to 'opentracker.c')
-rw-r--r-- | opentracker.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/opentracker.c b/opentracker.c index 270f6c1..1490177 100644 --- a/opentracker.c +++ b/opentracker.c | |||
@@ -388,7 +388,6 @@ void help( char *name ) { | |||
388 | void handle_read( int64 clientsocket ) { | 388 | void handle_read( int64 clientsocket ) { |
389 | struct http_data* h = io_getcookie( clientsocket ); | 389 | struct http_data* h = io_getcookie( clientsocket ); |
390 | int l = io_tryread( clientsocket, static_scratch, sizeof static_scratch ); | 390 | int l = io_tryread( clientsocket, static_scratch, sizeof static_scratch ); |
391 | tai6464 t; | ||
392 | 391 | ||
393 | if( l <= 0 ) { | 392 | if( l <= 0 ) { |
394 | if( h ) { | 393 | if( h ) { |
@@ -407,11 +406,6 @@ void handle_read( int64 clientsocket ) { | |||
407 | httperror(clientsocket,h,"500 request too long","You sent too much headers"); | 406 | httperror(clientsocket,h,"500 request too long","You sent too much headers"); |
408 | else if ((l=header_complete(h))) | 407 | else if ((l=header_complete(h))) |
409 | httpresponse(clientsocket,h); | 408 | httpresponse(clientsocket,h); |
410 | else { | ||
411 | taia_now(&t); | ||
412 | taia_addsec(&t,&t,OT_CLIENT_TIMEOUT); | ||
413 | io_timeout(clientsocket,t); | ||
414 | } | ||
415 | } | 409 | } |
416 | 410 | ||
417 | void handle_accept( int64 serversocket ) { | 411 | void handle_accept( int64 serversocket ) { |