please hold https connection open
Bug #522957 reported by
Martin Pool
This bug affects 4 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
launchpadlib |
Triaged
|
Low
|
Leonard Richardson |
Bug Description
At the moment launchpadlib opens a new ssl connection for every api call. This is very expensive, about 1.25s for me, before it even gets to start sending the request. It would be nice if it held the connection open.
I don't know if this needs changes to the server, client, or something else. Launchpad doesn't specifically say "connection: close" so it may be willing to leave it open.
Changed in launchpadlib: | |
assignee: | nobody → Leonard Richardson (leonardr) |
Changed in launchpadlib: | |
status: | New → Confirmed |
To post a comment you must log in.
I'll note that bzr's http transports do hold the connection open, using urllib2 as the basic library. (With a fair amount of extension, however.)
So the core python libraries are capable of maintaining the connection.