curl multiplexing problem with some curl versions

Bug #1277535 reported by mattfarina
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack-SDK-PHP
Fix Released
High
mattfarina

Bug Description

Architecturally, there is a pluggable transport layer and out of the box there is an implementation to use the built in PHP methods and a second one that uses curl.

The curl transport layer does connection pooling and reuse. So, when you connect to an endpoint it keeps reusing the connection rather than renegotiate it each time. This provides for some nice performance improvements in the network layer.

Some recent versions of curl (e.g., on the lastest mac and ubuntu) and Windows are now having trouble with this setup.

We could repair this or look into using Guzzle to help. We just need to make sure we keep the connection pooling.

Revision history for this message
mattfarina (mattfarina) wrote :

Implementing https://blueprints.launchpad.net/openstack-sdk-php/+spec/guzzle-transport should fix this bug and I'm working on it now.

Changed in openstack-sdk-php:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to openstack-sdk-php (master)

Reviewed: https://review.openstack.org/86137
Committed: https://git.openstack.org/cgit/stackforge/openstack-sdk-php/commit/?id=948eb89ba80d4babf8e1b5188a05b3d43b9a2451
Submitter: Jenkins
Branch: master

commit 948eb89ba80d4babf8e1b5188a05b3d43b9a2451
Author: Matt Farina <email address hidden>
Date: Tue Apr 8 14:16:47 2014 -0400

    Migrating the transport layer to use the proposed FIG PSR for http
    messages and to use Guzzle 4 as the default transport layer.

    implements blueprint guzzle-transport
    Closes-Bug: 1277535

    Change-Id: I287587b75f42bb48e945335a7b734cadaedc684f

Changed in openstack-sdk-php:
status: In Progress → Fix Committed
mattfarina (mattfarina)
Changed in openstack-sdk-php:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.