Procházet zdrojové kódy

fixing #5278 as suggested by reporter

Christian Grothoff před 8 roky
rodič
revize
9bf8e55fe1
5 změnil soubory, kde provedl 7 přidání a 3 odebrání
  1. 3 0
      ChangeLog
  2. 1 0
      configure.ac
  3. 1 1
      src/include/microhttpd.h
  4. 1 1
      src/lib/connection_add.c
  5. 1 1
      src/microhttpd/daemon.c

+ 3 - 0
ChangeLog

@@ -1,3 +1,6 @@
+Fri Feb 16 03:09:33 CET 2018
+	Fixing #5278 as suggested by reporter. -CG/texec
+
 Thu Feb  1 10:12:22 CET 2018
 	Releasing GNU libicrohttpd 0.9.59. -CG
 

+ 1 - 0
configure.ac

@@ -2022,6 +2022,7 @@ doc/examples/Makefile
 m4/Makefile
 src/Makefile
 src/include/Makefile
+src/lib/Makefile
 src/microhttpd/Makefile
 src/examples/Makefile
 src/testcurl/Makefile

+ 1 - 1
src/include/microhttpd.h

@@ -126,7 +126,7 @@ typedef intptr_t ssize_t;
  * Current version of the library.
  * 0x01093001 = 1.9.30-1.
  */
-#define MHD_VERSION 0x00095900
+#define MHD_VERSION 0x00095901
 
 /**
  * MHD-internal return code for "YES".

+ 1 - 1
src/lib/connection_add.c

@@ -288,7 +288,7 @@ thread_main_handle_connection (void *data)
 	  num_ready = MHD_SYS_select_ (maxsock + 1,
                                        &rs,
                                        &ws,
-                                       NULL,
+                                       &es,
                                        tvp);
 	  if (num_ready < 0)
 	    {

+ 1 - 1
src/microhttpd/daemon.c

@@ -1938,7 +1938,7 @@ thread_main_handle_connection (void *data)
 	  num_ready = MHD_SYS_select_ (maxsock + 1,
                                        &rs,
                                        &ws,
-                                       NULL,
+                                       &es,
                                        tvp);
 	  if (num_ready < 0)
 	    {