Components | All | New | MacOS | Windows | Linux | iOS | ||||
Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old |
CURL.GetEarlyDataSent
Get the number of bytes sent as TLS early data.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
CURL | 15.0 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes |
MBS( "CURL.GetEarlyDataSent"; curl ) More
Parameters
Parameter | Description | Example |
---|---|---|
curl | The CURL session handle. | $curl |
Result
Returns number or error.
Description
Get the number of bytes sent as TLS early data.TLS early data is only attempted when kSSLOptionEarlyData is set for the transfer. In addition, it is only used by libcurl when a TLS session exists that announces support.
The amount is negative when the sent data was rejected by the server. TLS allows a server that announces support for early data to reject any attempt to use it at its own discretion. When for example 127 bytes had been sent, but were rejected, it reports -127 as the amount "sent".
Blog Entries
This function is free to use.
Created 12nd December 2024, last changed 12nd December 2024
