You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "Alexander Karpinsky (JIRA)" <ji...@apache.org> on 2013/06/17 01:40:19 UTC
[jira] [Updated] (THRIFT-2033) Use advantages of HTTP 1.1 in
THttpClient
[ https://issues.apache.org/jira/browse/THRIFT-2033?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Alexander Karpinsky updated THRIFT-2033:
----------------------------------------
Attachment: thrift-2033-use-advantages-of-http-11.patch
> Use advantages of HTTP 1.1 in THttpClient
> -----------------------------------------
>
> Key: THRIFT-2033
> URL: https://issues.apache.org/jira/browse/THRIFT-2033
> Project: Thrift
> Issue Type: Improvement
> Components: Python - Library
> Reporter: Alexander Karpinsky
> Attachments: thrift-2033-use-advantages-of-http-11.patch
>
>
> Currently THttpClient uses deprecated httplib.HTTP class (it is even not documented now). httplib.HTTP only supports HTTP 1.0 connections. As a result every Thrift call results new http or https connection. This is very expensive, especially for https. I suggest use urllib3 library which implements pool of keep-alive http connections.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira