Skip to content

Commit 18ec25e

Browse files
committed
Merge 'fix-ssh-hangs-reloaded'
This commit merges the backport of the fix for freezes during Git clones of large repositories via SSH. That should fix git-for-windows/git#5682, git-for-windows/git#5688 and potentially also git-for-windows/git#5663. Signed-off-by: Johannes Schindelin <[email protected]>
2 parents d973094 + 95b4ba8 commit 18ec25e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

winsup/cygwin/fhandler/pipe.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -561,7 +561,7 @@ fhandler_pipe_fifo::raw_write (const void *ptr, size_t len)
561561
ULONG len1;
562562
DWORD waitret = WAIT_OBJECT_0;
563563

564-
if (left > chunk && !is_nonblocking ())
564+
if (left > chunk && !real_non_blocking_mode)
565565
len1 = chunk;
566566
else
567567
len1 = (ULONG) left;

0 commit comments

Comments
 (0)