[SERVER-20628] AsyncMockStream doesn't return an error if incorrect number of bytes is read Created: 24/Sep/15  Updated: 15/Oct/15  Resolved: 07/Oct/15

Status: Closed
Project: Core Server
Component/s: Networking
Affects Version/s: 3.1.9
Fix Version/s: 3.2.0-rc0

Type: Bug Priority: Major - P3
Reporter: Samantha Ritter (Inactive) Assignee: Samantha Ritter (Inactive)
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
related to SERVER-20566 Add unit tests for malformed message ... Closed
Backwards Compatibility: Fully Compatible
Operating System: ALL
Sprint: Platform A (10/09/15)
Participants:

 Description   

When performing an async_read, we don't ever check that the number of bytes read matches the number of bytes we expected to read.



 Comments   
Comment by Githook User [ 07/Oct/15 ]

Author:

{u'username': u'samantharitter', u'name': u'samantharitter', u'email': u'samantha.ritter@10gen.com'}

Message: SERVER-20628 Async mock streams should return error for invalid reads
Branch: master
https://github.com/mongodb/mongo/commit/16f0c718d035f6f3bbfd0db4751cf414f58ab5d1

Generated at Thu Feb 08 03:54:47 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.