Unverified Commit 2500a628 authored by Kenton Varda's avatar Kenton Varda Committed by GitHub

Merge pull request #773 from RReverser/copy-chunk-eof

Detect EOF in copyChunk
parents 8b9bd720 ac3fca56
......@@ -502,6 +502,7 @@ public:
default:
KJ_FAIL_SYSCALL("sendfile", error) { return fromPos - fromOffset; }
}
if (n == 0) break;
}
return fromPos - fromOffset;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment