Skip to content

Commit

Permalink
[XrdCl] Do read/write recovery on errSocketTimeout.
Browse files Browse the repository at this point in the history
  • Loading branch information
simonmichal authored and gganis committed Nov 23, 2021
1 parent 846b36d commit e689750
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/XrdCl/XrdClFileStateHandler.cc
Original file line number Diff line number Diff line change
Expand Up @@ -2942,7 +2942,7 @@ namespace XrdCl
bool FileStateHandler::IsRecoverable( const XRootDStatus &status ) const
{
if( status.code == errSocketError || status.code == errInvalidSession ||
status.code == errTlsError )
status.code == errTlsError || status.code == errSocketTimeout )
{
if( IsReadOnly() && !pDoRecoverRead )
return false;
Expand Down

0 comments on commit e689750

Please sign in to comment.