php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #68449 Pipelining support
Submitted: 2014-11-19 11:47 UTC Modified: 2019-03-26 12:00 UTC
Votes:2
Avg. Score:4.5 ± 0.5
Reproduced:2 of 2 (100.0%)
Same Version:0 (0.0%)
Same OS:1 (50.0%)
From: cameron at datashovel dot com Assigned:
Status: Wont fix Package: cURL related
PHP Version: 5.6.3 OS: Linux Mint 17
Private report: No CVE-ID: None
 [2014-11-19 11:47 UTC] cameron at datashovel dot com
Description:
------------
It appears Pipelining support (though the CONSTANT exists) does not behave as the user would expect.

Came across this issue here:
  http://stackoverflow.com/questions/24599720/how-to-send-php-curl-handles-through-a-single-tcp-socket-using-http-pipelining

Did some testing of my own, got same results as the person who submitted above StackOverflow question.

Looked a bit further and found this:
  http://curl.haxx.se/mail/lib-2014-06/0219.html

Looked in source code for the curl extension and did not see any evidence that the named CONSTANTS are available in the PHP implementation.

Test script:
---------------
The stackoverflow question points to the following test script:

https://github.com/anovikov1984/pipelining-example/blob/master/pipeline.php

Expected result:
----------------
netstat feedback should show that only 1 connection (or up to some MAX#) was made during the curl_multi_* session

netstat -t -u -c

Actual result:
--------------
based on the script provided, the netstat feedback shows 3 connections were made during the curl_multi_* session.

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2019-03-26 12:00 UTC] mike@php.net
-Status: Open +Status: Wont fix
 [2019-03-26 12:00 UTC] mike@php.net
Pipelining support has alreadyx been dropped upstream.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Dec 21 12:01:31 2024 UTC