Bug #67339 [Nab]: HTTP v2 won't store persistent handles per process

From: Date: Mon, 26 May 2014 14:49:46 +0000
Subject: Bug #67339 [Nab]: HTTP v2 won't store persistent handles per process
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-185928@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=67339&edit=1 ID: 67339 Updated by: mike@php.net Reported by: pslawek83 at o2 dot pl Summary: HTTP v2 won't store persistent handles per process Status: Not a bug Type: Bug Package: HTTP related Operating System: Linux PHP Version: Irrelevant Block user comment: N Private report: N New Comment: Rasmus is right, though, the persistent handles in pecl_http v2 are maintained by pecl/raphf and not Zend, so "always" might be a bit misleading in this case. Previous Comments: ------------------------------------------------------------------------ [2014-05-25 14:10:34] rasmus@php.net Persistent resources in PHP are always per-process ------------------------------------------------------------------------ [2014-05-25 13:29:20] pslawek83 at o2 dot pl Description: ------------ Hi Guys, i think that's a bug, when using PHP_HTTP v2 module: $client = new http\Client('curl', 'FH'); Persistent connection handles are stored per-process, not globally, when PHP is used as PHP-fpm fcgi. Is that supposed to work like this? Expected result: ---------------- http\Client will pick one unused persistent connection from global, not per-process pool. Actual result: -------------- http\Client will pick one unused persistent connection from process local pool. ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=67339&edit=1

« previous php.bugs (#185928) next »