commit | 28e88ecac1cab801112587068ee4fbc6de457e49 | [log] [tgz] |
---|---|---|
author | David Reiss <dreiss@apache.org> | Tue Mar 09 05:19:27 2010 +0000 |
committer | David Reiss <dreiss@apache.org> | Tue Mar 09 05:19:27 2010 +0000 |
tree | 03bf1cc43953d72dc46fc7f2308aaa435926e61b | |
parent | 01fe15322f55a9aec5de6807fe0d4c54db7d79f6 [diff] |
cpp: Exit TNonBlockingServer on memmory allocation failure setrlimit causes bad_alloc exceptions, but undefined behavior occurs if we don't exit. It is not typical for libraries to call exit, but it is not clear what other behavior is possible. git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@920665 13f79535-47bb-0310-9956-ffa450edef68