diff options
author | bug1 <bug1@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2003-08-28 21:55:22 +0000 |
---|---|---|
committer | bug1 <bug1@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2003-08-28 21:55:22 +0000 |
commit | 47dffd3ed441baec2f8a7b40b27f8673377540a5 (patch) | |
tree | 459bcd4f0aca9d75f883b91130fd4236e06b6d5c /sysdeps | |
parent | cdce876f5a1ed029890d7b853a4fc377e80d5357 (diff) | |
download | busybox-w32-47dffd3ed441baec2f8a7b40b27f8673377540a5.tar.gz busybox-w32-47dffd3ed441baec2f8a7b40b27f8673377540a5.tar.bz2 busybox-w32-47dffd3ed441baec2f8a7b40b27f8673377540a5.zip |
"When the filesize is known from content-length header, safe_fread is
always told to read sizeof(buf). This waits until the underlying
fread() to time-out for the last part of the downloaded body. Fix
this by sending the number of remaining bytes to read when known." -
junkio@
I reworked the logic in his patch
git-svn-id: svn://busybox.net/trunk/busybox@7274 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to 'sysdeps')
0 files changed, 0 insertions, 0 deletions