Tom Dong created THRIFT-4464:
--------------------------------

             Summary: Potentially server-crashing typo in Python 
TNonblockingServer
                 Key: THRIFT-4464
                 URL: https://issues.apache.org/jira/browse/THRIFT-4464
             Project: Thrift
          Issue Type: Bug
          Components: Python - Library
    Affects Versions: 0.11.0
         Environment: n/a
            Reporter: Tom Dong


The line 
[https://github.com/apache/thrift/blob/bfba370bf163425823ce7b660f9d123f5fc67c79/lib/py/src/server/TNonblockingServer.py#L177]
 
{code:java}
self._wbuf = self.message[sent:]
{code}
 

But self.message is never assigned. Maybe should be
{code:java}
self._wbuf = self._wbuf[sent:]{code}



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

Reply via email to