/[Apache-SVN]
ViewVC logotype

Revision 665648


Jump to revision: Previous Next
Author: dreiss
Date: Tue Apr 8 06:26:05 2008 UTC (16 years, 7 months ago)
Changed paths: 10
Log Message:
Thrift error logging improvements

Summary: - Move strerror_s to Thrift.h (was previously in TTransportException.h)
         - Capture errno as soon as syscall returns failure and make it part of error message.
         - Cleaned up several instances of the wrong error value being printed.
         - More consistently pass the errno in the TTransport Exception
         - Add more consistent error logging for the various transport failure modes

Reviewed By: dreiss

Test Plan: - compile everything.
           - test on search tier

Revert: OK

TracCamp Project: Thrift

DiffCamp Revision: 11077


Changed paths

Path Details
Directoryincubator/thrift/trunk/lib/cpp/src/Thrift.cpp modified , text changed
Directoryincubator/thrift/trunk/lib/cpp/src/Thrift.h modified , text changed
Directoryincubator/thrift/trunk/lib/cpp/src/server/TNonblockingServer.cpp modified , text changed
Directoryincubator/thrift/trunk/lib/cpp/src/server/TNonblockingServer.h modified , text changed
Directoryincubator/thrift/trunk/lib/cpp/src/transport/TFileTransport.cpp modified , text changed
Directoryincubator/thrift/trunk/lib/cpp/src/transport/TServerSocket.cpp modified , text changed
Directoryincubator/thrift/trunk/lib/cpp/src/transport/TSocket.cpp modified , text changed
Directoryincubator/thrift/trunk/lib/cpp/src/transport/TSocket.h modified , text changed
Directoryincubator/thrift/trunk/lib/cpp/src/transport/TTransportException.cpp modified , text changed
Directoryincubator/thrift/trunk/lib/cpp/src/transport/TTransportException.h modified , text changed

infrastructure at apache.org
ViewVC Help
Powered by ViewVC 1.1.26