Changeset 0602496


Ignore:
Timestamp:
2006-05-25T11:22:06Z (18 years ago)
Author:
Wilmer van der Gaast <wilmer@…>
Branches:
master
Children:
5d9b792
Parents:
936ded6
Message:

Better handling of completely empty HTTP replies in http_client.c.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • protocols/http_client.c

    r936ded6 r0602496  
    240240
    241241got_reply:
     242        /* Maybe if the webserver is overloaded, or when there's bad SSL
     243           support... */
     244        if( req->bytes_read == 0 )
     245                goto cleanup;
     246       
    242247        /* Zero termination is very convenient. */
    243248        req->reply_headers[req->bytes_read] = 0;
Note: See TracChangeset for help on using the changeset viewer.