diff options
author | Ludovic Courtès <ludo@gnu.org> | 2015-03-01 23:41:01 +0100 |
---|---|---|
committer | Andy Wingo <wingo@pobox.com> | 2016-05-22 18:43:28 +0200 |
commit | 751a55e3552547c84cc3cc0ad69fc6f26bd7251e (patch) | |
tree | 9c8447ea2649b47ea2e19c04a274fcf28495d268 /libguile/strings.c | |
parent | c6d88d12345a3722bf78b124c69f15d73da23dc0 (diff) | |
download | guile-751a55e3552547c84cc3cc0ad69fc6f26bd7251e.tar.gz |
http: Do not buffer HTTP chunks.
Fixes <http://bugs.gnu.org/19939>.
* module/web/http.scm (read-chunk, read-chunk-body): Remove.
(make-chunked-input-port)[next-chunk, buffer-, buffer-size,
buffer-pointer]: Remove.
[chunk-size, remaining]: New variables.
[read!]: Rewrite to write directly to BV.
* test-suite/tests/web-http.test ("chunked encoding")["reads chunks
without buffering", "reads across chunk boundaries"]: New tests.
Diffstat (limited to 'libguile/strings.c')
0 files changed, 0 insertions, 0 deletions