java: Close broken connections [THRIFT-73]
authorDavid Reiss <dreiss@apache.org>
Sun, 13 Jul 2008 23:15:55 +0000 (23:15 +0000)
committerDavid Reiss <dreiss@apache.org>
Sun, 13 Jul 2008 23:15:55 +0000 (23:15 +0000)
commitdb65e3dd68ad1a335996d319bee6c923974872f1
tree39bf2fec565fdba9f9afe9354b901325f6649df9
parent01e55c1c28547eaac74636790bb86617c890c4c2
java: Close broken connections [THRIFT-73]

Fixes a bug where TNonblockingServer (and by extension THsHaServer) could
permanently lose track of client connections if the message on-wire was
malformed. If the client sends a bad message now, the server will close the
transport at its earliest convenience.

git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@676456 13f79535-47bb-0310-9956-ffa450edef68
lib/java/src/com/facebook/thrift/server/TNonblockingServer.java