Skip to content

Commit 36bb187

Browse files
committed
Merge branch 'rj/cygwin-exit' into jch
* rj/cygwin-exit: credential-cache: treat ECONNABORTED like ECONNRESET
2 parents 91d6781 + 468a7e4 commit 36bb187

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

builtin/credential-cache.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ static int connection_fatally_broken(int error)
3030

3131
static int connection_closed(int error)
3232
{
33-
return (error == ECONNRESET);
33+
return error == ECONNRESET || error == ECONNABORTED;
3434
}
3535

3636
static int connection_fatally_broken(int error)

0 commit comments

Comments
 (0)