1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-05-19 03:00:25 +02:00
guile/module/web
Ludovic Courtès 00d3ecf274 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.
2015-03-01 23:41:01 +01:00
..
server web server http: 400 Bad Request on bad requests 2012-03-11 10:29:06 +01:00
client.scm web: Keep the default size for the client's in-kernel receive buffer. 2014-05-23 22:02:30 +02:00
http.scm http: Do not buffer HTTP chunks. 2015-03-01 23:41:01 +01:00
request.scm syncronize web module docstrings with manual 2012-11-24 15:40:14 +01:00
response.scm web: Don't throw if a response is longer than its Content-Length says. 2014-01-15 23:41:49 +01:00
server.scm Web: Use functional setters in extend-request and extend-response. 2013-09-12 18:45:13 -04:00
uri.scm web: uri-encode hexadecimal percent-encoding is now uppercase 2013-05-02 17:13:55 -04:00