← Commit list

3d8e15650c

Daniel Stenberg
Daniel Stenberg
2025-09-21
FAILED Duration: 487s

Subject

vtls_int.h: clarify data_pending

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/vtls_int.h+4 -0
@@ -153,6 +153,10 @@ struct Curl_ssl {
size_t (*version)(char *buffer, size_t size);
CURLcode (*shut_down)(struct Curl_cfilter *cf, struct Curl_easy *data,
bool send_shutdown, bool *done);
+
+ /* data_pending() shall return TRUE when it wants to get called again to
+ drain internal buffers and deliver data instead of waiting for the socket
+ to get readable */
bool (*data_pending)(struct Curl_cfilter *cf,
const struct Curl_easy *data);