Since this allows specifying additional behaviours for the socket
through using SOCK_CLOEXEC and/or SOCK_NONBLOCK (when bitwise or'ed with
SOCK_STREAM).
Note that Guile/guile-gnutls currently doesn't support performing the
TLS handshake on a non-blocking socket, so this currently won't work.
* mo
Guile already supports chunked response bodies, but chunked request
bodies are allowed as well. This is useful when you're sending an
unknown amount of data in the request.
* module/web/request.scm (read-request-body): Support the request body
being chunked.
---
module/web/request.scm | 26 +
I'm looking at this since it's used in (web response)
read-response-body.
* module/ice-9/suspendable-ports.scm (get-bytevector-all): New
procedure.
(port-bindings): Add it.
---
module/ice-9/suspendable-ports.scm | 36 ++
1 file changed, 36 insertions(+)
diff --git a/m