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

From: Date: Sun, 25 May 2014 13:29:21 +0000
Subject: Bug #67339 [NEW]: HTTP v2 won't store persistent handles per process
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-185923@lists.php.net to get a copy of this message
From:             pslawek83 at o2 dot pl
Operating system: Linux
PHP version:      Irrelevant
Package:          HTTP related
Bug Type:         Bug
Bug description:HTTP v2 won't store persistent handles per process

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 bug report at https://bugs.php.net/bug.php?id=67339&edit=1
-- 
Try a snapshot (PHP 5.4):   https://bugs.php.net/fix.php?id=67339&r=trysnapshot54
Try a snapshot (PHP 5.5):   https://bugs.php.net/fix.php?id=67339&r=trysnapshot55
Try a snapshot (trunk):     https://bugs.php.net/fix.php?id=67339&r=trysnapshottrunk
Fixed in SVN:               https://bugs.php.net/fix.php?id=67339&r=fixed
Fixed in release:           https://bugs.php.net/fix.php?id=67339&r=alreadyfixed
Need backtrace:             https://bugs.php.net/fix.php?id=67339&r=needtrace
Need Reproduce Script:      https://bugs.php.net/fix.php?id=67339&r=needscript
Try newer version:          https://bugs.php.net/fix.php?id=67339&r=oldversion
Not developer issue:        https://bugs.php.net/fix.php?id=67339&r=support
Expected behavior:          https://bugs.php.net/fix.php?id=67339&r=notwrong
Not enough info:            https://bugs.php.net/fix.php?id=67339&r=notenoughinfo
Submitted twice:            https://bugs.php.net/fix.php?id=67339&r=submittedtwice
register_globals:           https://bugs.php.net/fix.php?id=67339&r=globals
PHP 4 support discontinued: https://bugs.php.net/fix.php?id=67339&r=php4
Daylight Savings:           https://bugs.php.net/fix.php?id=67339&r=dst
IIS Stability:              https://bugs.php.net/fix.php?id=67339&r=isapi
Install GNU Sed:            https://bugs.php.net/fix.php?id=67339&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=67339&r=float
No Zend Extensions:         https://bugs.php.net/fix.php?id=67339&r=nozend
MySQL Configuration Error:  https://bugs.php.net/fix.php?id=67339&r=mysqlcfg



Thread (3 messages)

« previous php.bugs (#185923) next »