[GODRIVER-2631] Always close internal.DefaultHTTPClient on Client.Disconnect Created: 01/Nov/22  Updated: 28/Oct/23  Resolved: 07/Nov/22

Status: Closed
Project: Go Driver
Component/s: None
Affects Version/s: None
Fix Version/s: 1.11.0

Type: Bug Priority: Unknown
Reporter: Eric Daniels Assignee: Unassigned
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   

https://jira.mongodb.org/browse/GODRIVER-2050 introduced an internal HTTP client to close upon client Disconnect but in most cases it's never called.



 Comments   
Comment by Githook User [ 01/Nov/22 ]

Author:

{'name': 'Eric Daniels', 'email': 'eric@erdaniels.com', 'username': 'edaniels'}

Message: GODRIVER-2631 - Always close internal.DefaultHTTPClient on Client.Disconnect (#1114)
Branch: master
https://github.com/mongodb/mongo-go-driver/commit/956727161e0d765d1546fb8be46cbed1ec061fe4

Comment by Eric Daniels [ 01/Nov/22 ]

Totally my bad. https://github.com/mongodb/mongo-go-driver/pull/1114

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