Return how many bytes the peer half of a BIO pair last tried to read while the buffer was empty.

Synopsis

Declared in <openssl/bio.h>

size_t
BIO_ctrl_get_read_request(BIO* b);

Return Value

Requested byte count (capped by the write guarantee), or 0 after a successful read or once the request is satisfied.

Parameters

Name

Description

b

BIO‐pair endpoint to query.

Created with MrDocs