[SERVER-54219] macOS synchronous SSL read code needs to handle errSSLWouldBlock Created: 02/Feb/21  Updated: 29/Oct/23  Resolved: 10/Feb/21

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 4.9.0

Type: Bug Priority: Major - P3
Reporter: Mark Benvenuto Assignee: Mark Benvenuto
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
Backwards Compatibility: Fully Compatible
Operating System: ALL
Sprint: Security 2021-02-22
Participants:
Linked BF Score: 50

 Description   

When SSLRead is called in the synchronous code, it may return errSSLWouldBlock which is incorrectly treated as an error today. The code needs to treat errSSLWouldBlock as an acceptable status code and simply ignore it.



 Comments   
Comment by Githook User [ 15/Mar/21 ]

Author:

{'name': 'Mark Benvenuto', 'email': 'mark.benvenuto@mongodb.com', 'username': 'markbenvenuto'}

Message: SERVER-54219 macOS synchronous SSL read code needs to handle errSSLWouldBlock

(cherry picked from commit 165cb840fe979e2f0d07289c5f7eceda3fdb6b28)
Branch: v4.4
https://github.com/mongodb/mongo/commit/7914208dd60044f912982210a9d02184e9da9aa2

Comment by Githook User [ 10/Feb/21 ]

Author:

{'name': 'Mark Benvenuto', 'email': 'mark.benvenuto@mongodb.com', 'username': 'markbenvenuto'}

Message: SERVER-54219 macOS synchronous SSL read code needs to handle errSSLWouldBlock
Branch: master
https://github.com/mongodb/mongo/commit/165cb840fe979e2f0d07289c5f7eceda3fdb6b28

Generated at Thu Feb 08 05:32:57 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.