php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Return to Bug #66694
Patch php-7.0.12.patch revision 2016-11-09 19:43 UTC by christian at kuehnke dot de

Patch php-7.0.12.patch for FPM related Bug #66694

Patch version 2016-11-09 19:43 UTC

Return to Bug #66694 | Download this patch
Patch Revisions:

Developer: christian@kuehnke.de

diff -ur php-7.0.12~/sapi/fpm/fpm/events/port.c php-7.0.12/sapi/fpm/fpm/events/port.c
--- php-7.0.12~/sapi/fpm/fpm/events/port.c      2016-10-13 16:04:17.000000000 +0000
+++ php-7.0.12/sapi/fpm/fpm/events/port.c       2016-11-09 20:38:43.781141196 +0000
@@ -138,7 +138,7 @@
        for (i = 0; i < nget; i++) {

                /* do we have a ptr to the event ? */
-               if (!events[i].portev_user) {
+               if (events[i].portev_source == 0 || !events[i].portev_user) {
                        continue;
                }

 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Wed Apr 24 01:01:31 2024 UTC