mirror of
git://erdgeist.org/opentracker
synced 2025-02-05 11:36:24 +00:00
the keep-alive loop must not run, if no keep alive is configured or requested for connection
This commit is contained in:
parent
426c5f30c2
commit
a75c824187
@ -185,6 +185,10 @@ static void handle_read( const int64 sock, struct ot_workstruct *ws ) {
|
|||||||
ws->request = array_start( &cookie->request );
|
ws->request = array_start( &cookie->request );
|
||||||
ws->request_size = array_bytes( &cookie->request );
|
ws->request_size = array_bytes( &cookie->request );
|
||||||
http_handle_request( sock, ws );
|
http_handle_request( sock, ws );
|
||||||
|
#ifdef WANT_KEEPALIVE
|
||||||
|
if( !ws->keep_alive )
|
||||||
|
#endif
|
||||||
|
return;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user