[SERVER-11031] Remove irrelevant socket recv error message Created: 03/Oct/13  Updated: 11/Jul/16  Resolved: 03/Oct/13

Status: Closed
Project: Core Server
Component/s: Logging
Affects Version/s: 2.5.2
Fix Version/s: 2.5.3

Type: Improvement Priority: Major - P3
Reporter: Andreas Nilsson Assignee: Andreas Nilsson
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Backwards Compatibility: Fully Compatible
Participants:

 Description   

If recv read less bytes then expected we log an error message in Socket:recv() in util/net/sock.cpp. This is not an error condition (especially not for OpenSSL) and is handled gracefully by the while-loop.

Remove the if-clause and the log msg.



 Comments   
Comment by Andreas Nilsson [ 03/Oct/13 ]

http://codereview.10gen.com/12152011

Comment by auto [ 03/Oct/13 ]

Author:

{u'username': u'agralius', u'name': u'Andreas Nilsson', u'email': u'andreas.nilsson@10gen.com'}

Message: SERVER-11031 Remove irrelevant Socket::recv error message
Branch: master
https://github.com/mongodb/mongo/commit/ed276d0dfa27d9a53cbc5bb674be0e195f8d035d

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