Skip to content

Commit

Permalink
[XrdCl] Set proper socket status when async connection returns immedi…
Browse files Browse the repository at this point in the history
…ately

This affects Solaris (always) and MacOSX (rarely) when connecting
to a server located at localhost.
  • Loading branch information
ljanyst committed Jun 6, 2013
1 parent e51051b commit 66ab10d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/XrdCl/XrdClAsyncSocketHandler.cc
Expand Up @@ -109,6 +109,8 @@ namespace XrdCl
return st;
}

pSocket->SetStatus( Socket::Connecting );

//--------------------------------------------------------------------------
// We should get the ready to write event once we're really connected
// so we need to listen to it
Expand Down

0 comments on commit 66ab10d

Please sign in to comment.