Changeset 5f2f728 for lib


Ignore:
Timestamp:
2012-11-24T19:20:57Z (12 years ago)
Author:
Wilmer van der Gaast <wilmer@…>
Branches:
master
Children:
c9b5817
Parents:
f26d9a3e
Message:

Increasing http_client buffersize to 4KB. You'd think that with things like
MTU in mind it's not a very useful change, but I seem to be getting data in
bigger chunks most of the time. Likely because with SSL you have record (?)
boundaries and compression.

This should reduce I/O overhead just a little bit.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • lib/http_client.c

    rf26d9a3e r5f2f728  
    198198{
    199199        struct http_request *req = data;
    200         char buffer[2048];
     200        char buffer[4096];
    201201        char *s;
    202202        size_t content_length;
Note: See TracChangeset for help on using the changeset viewer.