[root] Repository:
ViewVC logotype

Revision 38221


Jump to revision: Previous Next
Author: rdm
Date: Fri Feb 25 10:26:55 2011 UTC (23 months, 3 weeks ago)
Log Message:
From Gerri:
Few fixes to improve/reduce verbosity in case of connection broken or
reset by peer
- In TSocket:
  - Add bit  kBrokenConn and set it when the connection is broken or reset
    by peer
  - Add missing checks of return codes from Send and Recv operations
  - In CreateAuthSocket, add an optional argument to extract the error code
    in case of failure; set the error to kErrConnectionRefused when the
    failure is due to a broken or reset by peer connection.
- In TPSocket:
  - Add bit  kBrokenConn and set it when the connection is broken or reset
    by peer
  - Add missing checks of return codes from Send and Recv operations
  - In the main constructor, fix a bug causing a double connection attempt
    in case of failure
- In TNetFile:
  - Extract a more correct error code via CreateAuthSocket instead of
    setting the generic authentication error code
  - Fix a typo in a error message
- In TNetSystem:
  - Fix a bug in ConsistentWith causing always a new helper (and connection)
    instance to be created when repeating the request with the same path.

Changed paths:

Path Details
Directorytrunk/net/net/inc/TSocket.h modified , text changed
Directorytrunk/net/net/src/TNetFile.cxx modified , text changed
Directorytrunk/net/net/src/TPSocket.cxx modified , text changed
Directorytrunk/net/net/src/TSocket.cxx modified , text changed

Subversion Admin
ViewVC Help
Powered by ViewVC 1.0.9