commit | 2991a0f376ab7640b7259ac8db0af820054998cd | [log] [tgz] |
---|---|---|
author | David Reiss <dreiss@apache.org> | Wed Oct 06 17:10:47 2010 +0000 |
committer | David Reiss <dreiss@apache.org> | Wed Oct 06 17:10:47 2010 +0000 |
tree | 547bdf08001c92482eb4eb32c54aea7e86119335 | |
parent | ece1a089eccad21f093de72b5fe6d730d132812c [diff] |
THRIFT-926. cpp: TFramedTransport: Uphold the strong exception safety guarantee Previously, if we had a new[] failure when growing a TFramedTransport write buffer, we would leave the buffer in an invalid state (wBufSize_ would reflect the desired size, rather than the actual size). Now, we make no change to any member variables if new[] fails. git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@1005166 13f79535-47bb-0310-9956-ffa450edef68