[GODRIVER-1491] OCSP cache and URI option Created: 14/Feb/20  Updated: 28/Oct/23  Resolved: 02/Mar/20

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

Type: Task Priority: Major - P3
Reporter: Divjot Arora (Inactive) Assignee: Divjot Arora (Inactive)
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
related to GODRIVER-1467 OCSP Support Closed
is related to GODRIVER-1467 OCSP Support Closed
Epic Link: Go MongoDB 4.4 Support

 Description   

We should cache OCSP responses so we don't have to send HTTP requests for every connection that does not have a stapled response.

See https://github.com/mongodb/specifications/commit/895fed92d3aa4daa78dc2f941851a1bc1b72392c for details about the cache key and maintenance policy.

EDIT: The spec has also been updated to add a URI option to opt out of reaching out to OCSP responders. I've updated the title of this ticket to reflect that it includes the URI option changes as well.



 Comments   
Comment by Githook User [ 12/Mar/20 ]

Author:

{'username': 'divjotarora', 'name': 'Divjot Arora', 'email': 'divjot.arora@10gen.com'}

Message: GODRIVER-1491 Resync URI options tests (#330)

Comment by Githook User [ 03/Mar/20 ]

Author:

{'username': 'divjotarora', 'name': 'Divjot Arora', 'email': 'divjot.arora@10gen.com'}

Message: GODRIVER-1491 Fixup OCSP URI option (#322)
Branch: master
https://github.com/mongodb/mongo-go-driver/commit/f429643407e6a1fc532048a6f81d8ea973ceda8a

Comment by Divjot Arora (Inactive) [ 02/Mar/20 ]

Follow-up PR to rename the field in connstring.Connstring for clarity: https://github.com/mongodb/mongo-go-driver/pull/321

Comment by Githook User [ 02/Mar/20 ]

Author:

{'name': 'Divjot Arora', 'username': 'divjotarora', 'email': 'divjot.arora@10gen.com'}

Message: GODRIVER-1491 Add OCSP caching and URI option (#315)
Branch: master
https://github.com/mongodb/mongo-go-driver/commit/4254702c3fb2c9e980214cbf7f9ee0fd16467c2e

Comment by Divjot Arora (Inactive) [ 27/Feb/20 ]

https://github.com/mongodb/mongo-go-driver/pull/314

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