diff -uNr usr/src/libsoup-1.99.26/libsoup/soup-transfer.c tmp/libsoup-1.99.26/libsoup/soup-transfer.c --- usr/src/libsoup-1.99.26/libsoup/soup-transfer.c 2003-06-23 17:52:34.000000000 +0200 +++ tmp/libsoup-1.99.26/libsoup/soup-transfer.c 2003-10-19 01:51:03.000000000 +0200 @@ -198,7 +198,7 @@ GIOCondition condition, SoupReader *r) { - gboolean body_started = r->recv_buf->len > r->header_len; + gboolean body_started = r->header_len > 0; soup_transfer_read_stop (r); @@ -380,7 +381,7 @@ } } - return r->content_length == arr->len; + return arr->len >= r->content_length; } static gboolean