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

From: Date: Sun, 25 May 2014 14:10:36 +0000
Subject: Bug #67339 [Opn->Nab]: HTTP v2 won't store persistent handles per process
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-185924@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: rasmus@php.net Reported by: pslawek83 at o2 dot pl Summary: HTTP v2 won't store persistent handles per process -Status: Open +Status: Not a bug Type: Bug Package: HTTP related Operating System: Linux PHP Version: Irrelevant Block user comment: N Private report: N New Comment: Persistent resources in PHP are always per-process Previous Comments: ------------------------------------------------------------------------ [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 (#185924) next »