Scroll to navigation

MONGOC_STREAM_SHOULD_RETRY(3) libmongoc MONGOC_STREAM_SHOULD_RETRY(3)

SYNOPSIS

bool
mongoc_stream_should_retry (mongoc_stream_t *stream);


PARAMETERS

stream: A mongoc_stream_t <>.

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.

Author

MongoDB, Inc

Copyright

2009-present, MongoDB, Inc.

December 11, 2025 2.2.1