Changeset cbfc8b7 in mainline for uspace/app/download/main.c


Ignore:
Timestamp:
2013-10-05T20:49:27Z (11 years ago)
Author:
Martin Sucha <sucha14@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
4f086417
Parents:
c42f50d
Message:

libhttp: Allow to specify limits when receiving HTTP response

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/app/download/main.c

    rc42f50d rcbfc8b7  
    171171       
    172172        http_response_t *response = NULL;
    173         rc = http_receive_response(&http->recv_buffer, &response);
     173        rc = http_receive_response(&http->recv_buffer, &response, 16 * 1024,
     174            100);
    174175        if (rc != EOK) {
    175176                fprintf(stderr, "Failed receiving response: %s\n", str_error(rc));
Note: See TracChangeset for help on using the changeset viewer.