From 55ccc9a0dffdc96b7a5c6d41de2e97d2cd1741d9 Mon Sep 17 00:00:00 2001 From: Wilmer van der Gaast Date: Sat, 22 Sep 2012 12:52:01 +0100 Subject: Solve a whole bunch of Twitter module crashes: Twitter responses seem to be getting truncated sometimes. Treat this as an error in http_client already instead of returning partial data. --- lib/http_client.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/http_client.h') diff --git a/lib/http_client.h b/lib/http_client.h index 27c484ff..623f17a0 100644 --- a/lib/http_client.h +++ b/lib/http_client.h @@ -58,7 +58,7 @@ struct http_request char *reply_headers; char *reply_body; int body_size; /* The number of bytes in reply_body. */ - int finished; /* Set to non-0 if the request was completed + /* int finished; Set to non-0 if the request was completed successfully. */ int redir_ttl; /* You can set it to 0 if you don't want http_client to follow them. */ -- cgit v1.2.3