← Commit list

15b4b96188

Stefan Eissing
Stefan Eissing
2025-09-25
FAILED Duration: 354s

Subject

rustls: fix comment describing cr_recv()

Binary

No binary (build failed)

Architecture & Compiler Flags

Architecture: x86_64-linux-gnu Compiler: gcc (Ubuntu 11.4.0-1ubuntu1~22.04.3) 11.4.0

—

Build Log

(log yok)

Commit Diff GitHub →

lib/vtls/rustls.c+2 -10
@@ -188,16 +188,8 @@ static ssize_t tls_recv_more(struct Curl_cfilter *cf,
}
/*
- * On each run:
- * - Read a chunk of bytes from the socket into Rustls' TLS input buffer.
- * - Tell Rustls to process any new packets.
- * - Read out as many plaintext bytes from Rustls as possible, until hitting
- * error, EOF, or EAGAIN/EWOULDBLOCK, or plainbuf/plainlen is filled up.
- *
- * it is okay to call this function with plainbuf == NULL and plainlen == 0. In
- * that case, it will copy bytes from the socket into Rustls' TLS input
- * buffer, and process packets, but will not consume bytes from Rustls'
- * plaintext output buffer.
+ * Filter receive method implementation. `plainbuf` and `plainlen`
+ * are always not NULL/0.
*/
static CURLcode
cr_recv(struct Curl_cfilter *cf, struct Curl_easy *data,