[SERVER-66153] Improve HTTPClient error reporting Created: 03/May/22  Updated: 29/Oct/23  Resolved: 06/Jun/22

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: 5.0.0
Fix Version/s: 6.1.0-rc0

Type: Improvement Priority: Major - P3
Reporter: Sara Golemon Assignee: Gabriel Marks
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Backports
Related
Backwards Compatibility: Fully Compatible
Backport Requested:
v6.0, v5.0, v4.4
Sprint: Security 2022-05-16, Security 2022-05-30, Security 2022-06-13
Participants:
Case:

 Description   

Currently, an HTTPClient failure during may inadvertantly swallow the content of the error message by not relaying the underlying cURL status.

Connect any thrown exception such as this one up to the original caller rather than replacing it with "unknown error".



 Comments   
Comment by Githook User [ 06/Jun/22 ]

Author:

{'name': 'Gabriel Marks', 'email': 'gabriel.marks@mongodb.com', 'username': 'marksg07'}

Message: SERVER-66153 Propagate HTTPClient errors to connection pool
Branch: master
https://github.com/mongodb/mongo/commit/9230dc2431142873d295d0262af3a3b39e98d230

Comment by Githook User [ 06/Jun/22 ]

Author:

{'name': 'Gabriel Marks', 'email': 'gabriel.marks@mongodb.com', 'username': 'marksg07'}

Message: SERVER-66153 Add check for connection pool error propagation
Branch: master
https://github.com/10gen/mongo-enterprise-modules/commit/adb220fff51cc23e42e7a6eb7e9ba9d5fa3049dc

Generated at Thu Feb 08 06:04:38 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.