[CSHARP-868] MaxDocumentSize verification Created: 05/Dec/13  Updated: 11/Mar/19  Resolved: 06/Apr/15

Status: Closed
Project: C# Driver
Component/s: None
Affects Version/s: 1.8.3
Fix Version/s: None

Type: Task Priority: Major - P3
Reporter: Sridhar Nanjundeswaran Assignee: Unassigned
Resolution: Won't Fix Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   

Currently MaxDocumentSize is always set to be what the server says it is on the IsMaster call. When reading Bson from the server it has to be the lesser of MaxDocumentSize from IsMaster and MessageSize



 Comments   
Comment by Robert Stam [ 20/Mar/14 ]

I think I understand now... I was thinking MaxMessageSize, but you're talking about the actual size of the message returned, right?

Comment by Robert Stam [ 20/Mar/14 ]

Isn't MaxDocumentSize always less than MessageSize?

Let me know if I'm missing something.

Generated at Wed Feb 07 21:38:03 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.