# HG changeset patch # User diego # Date 1173711078 0 # Node ID 663139d56669873e7e3170c10c8dcfa35e5d0599 # Parent 174083eafc6c41ad19b3d9cd49ecab8d44b7fbf7 Properly initialize filesize during input buffer initialization. patch by Ronald S. Bultje, rbultje ronald.bitfreak net diff -r 174083eafc6c -r 663139d56669 http.c --- a/http.c Mon Mar 12 14:17:26 2007 +0000 +++ b/http.c Mon Mar 12 14:51:18 2007 +0000 @@ -242,6 +242,7 @@ s->buf_end = s->buffer; s->line_count = 0; s->off = 0; + s->filesize = -1; if (post) { sleep(1); return 0;