diff options
author | Wilmer van der Gaast <wilmer@gaast.net> | 2012-11-11 21:52:26 +0000 |
---|---|---|
committer | Wilmer van der Gaast <wilmer@gaast.net> | 2012-11-11 21:52:26 +0000 |
commit | dd672e2c4d0dcf73a30be3d8f7fc2ec38cb6450e (patch) | |
tree | c86fb7b4c7ef5a100bf9f904ac384a0dc41b02ea /lib/http_client.c | |
parent | 2fb1262a8200ec05d1b3334103fb7182dc2b2fa7 (diff) |
Detect and handle streaming connection loss.
Diffstat (limited to 'lib/http_client.c')
-rw-r--r-- | lib/http_client.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/http_client.c b/lib/http_client.c index 5fc7731f..793c5cc1 100644 --- a/lib/http_client.c +++ b/lib/http_client.c @@ -301,6 +301,8 @@ static gboolean http_incoming_data( gpointer data, int source, b_input_condition return FALSE; eof: + req->flags |= HTTPC_EOF; + /* Maybe if the webserver is overloaded, or when there's bad SSL support... */ if( req->bytes_read == 0 ) |