diff options
author | Wilmer van der Gaast <wilmer@gaast.net> | 2012-09-22 12:52:01 +0100 |
---|---|---|
committer | Wilmer van der Gaast <wilmer@gaast.net> | 2012-09-22 12:52:01 +0100 |
commit | 55ccc9a0dffdc96b7a5c6d41de2e97d2cd1741d9 (patch) | |
tree | b407d8065a10cefca3835ddd9b4a7884c09f66b9 /lib/http_client.h | |
parent | daf544ac6a08ce2fc0f9bd2b07c70ea349a41e30 (diff) |
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.
Diffstat (limited to 'lib/http_client.h')
-rw-r--r-- | lib/http_client.h | 2 |
1 files changed, 1 insertions, 1 deletions
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. */ |