mongoc_stream_should_retry()#

Synopsis#

bool
mongoc_stream_should_retry (mongoc_stream_t *stream);

Parameters#

Returns#

True if the stream is open and has encountered a retryable network error such as EAGAIN or if a TLS exchange is in progress and needs more data.