Skip to content

CSHARP-3538: CSOT: Auth #1720

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 6 commits into
base: main
Choose a base branch
from
Open

Conversation

sanych-sun
Copy link
Member

This PR contains changes related to multiple CSOT-related tickets:

CSHARP-3545: CSOT: MongoDB Handshake
CSHARP-3548: CSOT: Server Discovery and Monitoring
@sanych-sun sanych-sun requested a review from a team as a code owner July 7, 2025 19:05
readTimeout: heartbeatSocketTimeout,
writeTimeout: heartbeatSocketTimeout
readTimeout: null,
writeTimeout: null
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do not have to set the timeouts on the stream level, now we are using OperationContext to enforce the timeouts.

@@ -32,12 +31,10 @@ internal interface IConnection : IDisposable
bool IsExpired { get; }
ConnectionSettings Settings { get; }

// TODO: CSOT: remove this in scope of MongoDB Handshake
void SetReadTimeout(TimeSpan timeout);
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This method was used in a single place, where we were setting the timeout for streaming heartbeat. Now we are using OperationContext instead.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant