thrift-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <>
Subject [jira] [Commented] (THRIFT-4600) Don't close the connection in flush for python
Date Fri, 14 Sep 2018 12:03:00 GMT


ASF GitHub Bot commented on THRIFT-4600:

jeking3 commented on issue #1572: THRIFT-4600: fix-flush-on-THttpClient
   @finncolman will you be able to resolve the new build failures?

This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:

> Don't close the connection in flush for python
> -------------------------------------------------------------
>                 Key: THRIFT-4600
>                 URL:
>             Project: Thrift
>          Issue Type: Bug
>          Components: Python - Library
>    Affects Versions: 0.11.0
>            Reporter: Finn Isaac Norris Colman
>            Priority: Major
>             Fix For: 0.11.0
>         Attachments: 1572.patch
> In thrift/lib/py/src/transport/ in the flush method it closes and reopens
the connection:
> {noformat}
> if self.isOpen():
>     self.close()
> This code is closing the connection on every flush request. The flush request occurs
for every message send, which means that keep alive cannot be used. Removing this code from
flush means that keep alive can be used as the user now has control over when the connection
is closed.

This message was sent by Atlassian JIRA

View raw message