summaryrefslogtreecommitdiffstats
path: root/platform/web/api/api.cpp
diff options
context:
space:
mode:
authorFabio Alessandrelli <fabio.alessandrelli@gmail.com>2024-11-09 16:58:16 +0100
committerFabio Alessandrelli <fabio.alessandrelli@gmail.com>2024-11-09 17:20:10 +0100
commit35c223680a41d6ebad78a49933a242f11505b8e9 (patch)
tree2a19213bd4566a86da453355e5eb527d29c467d7 /platform/web/api/api.cpp
parent36e6207bb48fafd43b98a458d0c461ad982b4e68 (diff)
downloadredot-engine-35c223680a41d6ebad78a49933a242f11505b8e9.tar.gz
[mbedTLS] Keep reading/writing partial until "would block"
Them mbedTLS read and write functions will never read or write more than the negotiated fragment length at every iteration (which usually depends on MBEDTLS_SSL_IN_CONTENT_LEN and MBEDTLS_SSL_OUT_CONTENT_LEN). For this reason, when reading or writing partial data, we must always keep retrying until we receive a "would block" (no bytes read or wrote), or we have fulfilled the read or write.
Diffstat (limited to 'platform/web/api/api.cpp')
0 files changed, 0 insertions, 0 deletions