Changeset 10470
- Timestamp:
- 04/27/11 09:55:15 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/FACT++/src/dclient5.cc
r10426 r10470 54 54 // 125: Operation canceled 55 55 56 if (error && error!=b s::error_code(125, bs::system_category))56 if (error && error!=ba::error::basic_errors::operation_aborted) 57 57 { 58 58 stringstream str; 59 59 60 60 str << "HandleReadTimeout: " << error.message() << " (" << error << ")";// << endl; 61 if (error==bs::error _code(2, ba::error::misc_category))61 if (error==bs::error::misc_errors::eof) 62 62 Warn(str); // Connection: EOF (closed by remote host) 63 63 else … … 84 84 // 107: Transport endpoint is not connected 85 85 // 125: Operation canceled 86 if (error && error!=bs:: error_code(107, bs::system_category))86 if (error && error!=bs::basic_errors::not_connected) 87 87 { 88 88 stringstream str; … … 90 90 Error(str); 91 91 } 92 PostClose(error!=b s::error_code(125, bs::system_category));92 PostClose(error!=ba::error::basic_errors::operation_aborted); 93 93 return; 94 94 }
Note:
See TracChangeset
for help on using the changeset viewer.