Changeset 55ccc9a0 for lib/http_client.h


Ignore:
Timestamp:
2012-09-22T11:52:01Z (12 years ago)
Author:
Wilmer van der Gaast <wilmer@…>
Branches:
master
Children:
d0752e8
Parents:
daf544a
Message:

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.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • lib/http_client.h

    rdaf544a r55ccc9a0  
    5959        char *reply_body;
    6060        int body_size;          /* The number of bytes in reply_body. */
    61         int finished;           /* Set to non-0 if the request was completed
     61        /* int finished;          Set to non-0 if the request was completed
    6262                                   successfully. */
    6363        int redir_ttl;          /* You can set it to 0 if you don't want
Note: See TracChangeset for help on using the changeset viewer.