diff --git a/opentracker.c b/opentracker.c index 7c368b8..a5b8b0d 100644 --- a/opentracker.c +++ b/opentracker.c @@ -185,6 +185,10 @@ static void handle_read( const int64 sock, struct ot_workstruct *ws ) { ws->request = array_start( &cookie->request ); ws->request_size = array_bytes( &cookie->request ); http_handle_request( sock, ws ); +#ifdef WANT_KEEPALIVE + if( !ws->keep_alive ) +#endif + return; } }