فهرست منبع

Update H2O to version 2.1.0-beta4 (#2445)

Anton Kirilov 8 سال پیش
والد
کامیت
28e311c6d0
2فایلهای تغییر یافته به همراه3 افزوده شده و 2 حذف شده
  1. 2 1
      frameworks/C/h2o/src/event_loop.c
  2. 1 1
      toolset/setup/linux/webservers/h2o.sh

+ 2 - 1
frameworks/C/h2o/src/event_loop.c

@@ -20,6 +20,7 @@
 #include <errno.h>
 #include <fcntl.h>
 #include <h2o.h>
+#include <stdint.h>
 #include <stdlib.h>
 #include <string.h>
 #include <unistd.h>
@@ -120,7 +121,7 @@ static void shutdown_server(h2o_socket_t *listener, const char *err)
 void event_loop(thread_context_t *ctx)
 {
 	while (!ctx->global_data->shutdown || ctx->event_loop.conn_num)
-		h2o_evloop_run(ctx->event_loop.h2o_ctx.loop);
+		h2o_evloop_run(ctx->event_loop.h2o_ctx.loop, INT32_MAX);
 }
 
 void free_event_loop(event_loop_t *event_loop, h2o_multithread_receiver_t *h2o_receiver)

+ 1 - 1
toolset/setup/linux/webservers/h2o.sh

@@ -6,7 +6,7 @@ RETCODE=$(fw_exists "${IROOT}/h2o.installed")
   return 0; }
 
 H2O_HOME="${IROOT}/h2o"
-VERSION="2.1.0-beta3"
+VERSION="2.1.0-beta4"
 ARCHIVE="v${VERSION}.tar.gz"
 BUILD_DIR="h2o-${VERSION}"