Changeset ddc2de5 for lib/http_client.c


Ignore:
Timestamp:
2012-11-10T23:52:21Z (11 years ago)
Author:
Wilmer van der Gaast <wilmer@…>
Branches:
master
Children:
dff0e0b
Parents:
8bd866f
Message:

Very immature code for reading from the streaming API. It reads from a
fixed URL and tried to parse individual JSON objects. Not doing anything
useful with it.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • lib/http_client.c

    r8bd866f rddc2de5  
    282282                        req->bytes_read += st;
    283283                        req->sblen += st;
     284                        req->sbuf[req->sblen] = '\0';
    284285                        req->reply_body = req->sbuf + pos;
    285286                        req->body_size = req->sblen - pos;
Note: See TracChangeset for help on using the changeset viewer.