[ 
https://issues.apache.org/jira/browse/THRIFT-2033?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Alexander Karpinsky updated THRIFT-2033:
----------------------------------------

    Summary: Use keep-alive connections in THttpClient  (was: Use advantages of 
HTTP 1.1 in THttpClient)
    
> Use keep-alive connections 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

Reply via email to