Browse Source

Disable hio_set_keepalive_timeout

ithewei 3 years ago
parent
commit
2c69b914d6
1 changed files with 1 additions and 1 deletions
  1. 1 1
      examples/tinyhttpd.c

+ 1 - 1
examples/tinyhttpd.c

@@ -373,7 +373,7 @@ static void new_conn_event(hevent_t* ev) {
 
     hio_setcb_close(io, on_close);
     hio_setcb_read(io, on_recv);
-    hio_set_keepalive_timeout(io, HTTP_KEEPALIVE_TIMEOUT);
+    // hio_set_keepalive_timeout(io, HTTP_KEEPALIVE_TIMEOUT);
 
     http_conn_t* conn = NULL;
     HV_ALLOC_SIZEOF(conn);