commit | d90cd1f539f5837858aa64256d187b4444560b81 | [log] [tgz] |
---|---|---|
author | David Reiss <dreiss@apache.org> | Wed Oct 29 22:50:34 2008 +0000 |
committer | David Reiss <dreiss@apache.org> | Wed Oct 29 22:50:34 2008 +0000 |
tree | d8de41e092bed047cf12db66f902ecfce06c9def | |
parent | f33e03c6fad10465ac4867b27c63a35cb2de0cbe [diff] |
THRIFT-168. cpp: Clear transport buffers before a flush Previously, TBufferedTransport and TFramedTransport could leave data in their buffers if a flush threw an exception. This patch makes them reset their internal pointers before flushing to the underlying transport. git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@709037 13f79535-47bb-0310-9956-ffa450edef68