Browse Source

Using keep alive in unit test

Sergey Lyubka 12 năm trước cách đây
mục cha
commit
9baf2d4ba4
1 tập tin đã thay đổi với 1 bổ sung0 xóa
  1. 1 0
      test/unit_test.c

+ 1 - 0
test/unit_test.c

@@ -247,6 +247,7 @@ static const struct mg_callbacks CALLBACKS = {
 static const char *OPTIONS[] = {
   "document_root", ".",
   "listening_ports", LISTENING_ADDR,
+  "enable_keep_alive", "yes",
   "ssl_certificate", "build/ssl_cert.pem",
   NULL,
 };