You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "James E. King, III (JIRA)" <ji...@apache.org> on 2018/01/24 05:14:00 UTC
[jira] [Resolved] (THRIFT-4464) Potentially server-crashing typo in
Python TNonblockingServer
[ https://issues.apache.org/jira/browse/THRIFT-4464?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
James E. King, III resolved THRIFT-4464.
----------------------------------------
Resolution: Fixed
Fix Version/s: 0.12.0
Committed - thanks!
> 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
> Assignee: James E. King, III
> Priority: Major
> Labels: EasyFix, Typo
> Fix For: 0.12.0
>
>
> 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)