vtls_int.h: clarify data_pending

Suggested-by: Joseph Birr-Pixton

Closes #18644
This commit is contained in:
Daniel Stenberg 2025-09-20 17:44:32 +02:00
parent fd61ed062b
commit 3d8e15650c
No known key found for this signature in database
GPG key ID: 5CC908FDB71E12C2

View file

@ -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);