thrift-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "James E. King III (JIRA)" <j...@apache.org>
Subject [jira] [Closed] (THRIFT-617) Add EINTR handling to Python socket code
Date Sat, 26 Jan 2019 14:40:00 GMT

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

James E. King III closed THRIFT-617.
------------------------------------
    Resolution: Not A Problem

This was resolved inside python (if you use python 3.4 or later, I believe):
https://www.python.org/dev/peps/pep-0475/

> Add EINTR handling to Python socket code
> ----------------------------------------
>
>                 Key: THRIFT-617
>                 URL: https://issues.apache.org/jira/browse/THRIFT-617
>             Project: Thrift
>          Issue Type: Bug
>          Components: Python - Library
>    Affects Versions: 0.2
>            Reporter: Manish Singh
>            Assignee: James E. King III
>            Priority: Major
>         Attachments: thrift-python-socket-eintr.patch
>
>
> One of my thrift services does special handling upon receiving SIGHUP. This causes spurious
exceptions about EINTR to be logged. Attached patch adds EINTR retry logic akin to the C++
implementation to handle this.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message