Thrift-1454:Better handling of write on a closed TSocket
authorJake Farrell <jfarrell@apache.org>
Thu, 8 Dec 2011 02:02:20 +0000 (02:02 +0000)
committerJake Farrell <jfarrell@apache.org>
Thu, 8 Dec 2011 02:02:20 +0000 (02:02 +0000)
commit23bf35daa32231ca00b8a12d91f503f3f8ebf1f7
tree5f1bb0cf047b426403962382d2f8fbd75f6bdcc9
parent21f8dc900a1c05fcf7d2454068a9fef046c81997
Thrift-1454:Better handling of write on a closed TSocket
Client: cpp
Patch: Dave Watson

TSocket.send() was expecting a send() on the underlying socket
to fail by returning zero, but the actual behavior is to raise
an exception.

git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1211736 13f79535-47bb-0310-9956-ffa450edef68
compiler/cpp/src/generate/t_cpp_generator.cc
lib/cpp/Makefile.am
lib/cpp/src/TDispatchProcessor.h [new file with mode: 0644]
lib/cpp/src/async/TAsyncDispatchProcessor.h [new file with mode: 0644]