/[Apache-SVN]
ViewVC logotype

Revision 665121


Jump to revision: Previous Next
Author: aditya
Date: Wed May 23 02:14:58 2007 UTC (17 years, 5 months ago)
Changed paths: 3
Log Message:
-- fix read timeout handling in TSocket

Summary:
- turns out that EAGAIN can be returned both when there is a transmission timeout and when there
  is a lack of system resources.

This diff has a hacky fix for respecting a user specified read timeout.

Reviewed By: Steve Grimm, Marc, Slee

Test Plan:
- Tested by trying to crash an srp machine

Revert Plan: No.

Notes:
- Also added functionality to allow users to specify the max number of recv retries (in the case
  when EAGAIN is returned due to a lack of system resources)


Changed paths

Path Details
Directoryincubator/thrift/trunk/lib/cpp/src/concurrency/Exception.h 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

infrastructure at apache.org
ViewVC Help
Powered by ViewVC 1.1.26