File tree Expand file tree Collapse file tree 2 files changed +5
-4
lines changed
Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Original file line number Diff line number Diff line change 1- using GitHub . Services . Common . Diagnostics ;
2- using System ;
1+ using System ;
2+ using System . Collections . Generic ;
33using System . ComponentModel ;
44using System . Diagnostics ;
5+ using System . Linq ;
56using System . Net ;
67using System . Net . Http ;
78using System . Net . Sockets ;
89using System . Threading ;
910using System . Threading . Tasks ;
10- using System . Collections . Generic ;
11- using System . Linq ;
11+ using GitHub . Services . Common . Diagnostics ;
1212using GitHub . Services . Common . Internal ;
1313
1414namespace GitHub . Services . Common
Original file line number Diff line number Diff line change @@ -146,6 +146,7 @@ private static bool IsTransientNetworkExceptionHelper(
146146 sockEx . SocketErrorCode == SocketError . TimedOut ||
147147 sockEx . SocketErrorCode == SocketError . HostDown ||
148148 sockEx . SocketErrorCode == SocketError . HostUnreachable ||
149+ sockEx . SocketErrorCode == SocketError . HostNotFound ||
149150 sockEx . SocketErrorCode == SocketError . TryAgain )
150151 {
151152 return true ;
You can’t perform that action at this time.
0 commit comments