[SERVER-69175] Add transport::SocketOption template for making ASIO-style sockopt types Created: 26/Aug/22  Updated: 29/Oct/23  Resolved: 30/Aug/22

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

Type: Improvement Priority: Major - P3
Reporter: Billy Donahue Assignee: Billy Donahue
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Issue split
split from SERVER-57468 Enable TCP_USER_TIMEOUT by default Backlog
Problem/Incident
Backwards Compatibility: Fully Compatible
Sprint: Service Arch 2022-09-05
Participants:
Linked BF Score: 135

 Description   

There are some uses that dig in to the asio::detail namespace for similar types.
But it's limited and we should have one that we control and not go into third_party detail namespaces at all really.

(split from SERVER-57468)



 Comments   
Comment by Aaron Morand (Inactive) [ 14/Feb/23 ]

Setting this to 6.2.0-rc0 as the changes were never backported to 6.0, which puts them only in master prior to branching for 6.2.

Comment by Githook User [ 30/Aug/22 ]

Author:

{'name': 'Billy Donahue', 'email': 'billy.donahue@mongodb.com', 'username': 'BillyDonahue'}

Message: SERVER-69175 transport::SocketOption class template

This reverts commit 0fbba9495da3c621deddbee47cff3fda00b07bec.

ifdef TCP_USER_TIMEOUT
Branch: master
https://github.com/mongodb/mongo/commit/81c41bdfdc56f05973fae70e80e80919f18f50c9

Comment by Githook User [ 29/Aug/22 ]

Author:

{'name': 'Uladzimir Makouski', 'email': 'uladzimir.makouski@mongodb.com', 'username': 'umakouski'}

Message: Revert "SERVER-69175 transport::SocketOption class template"

This reverts commit a52ef30f9b84fa7b77a85e8bd14f6e54721b9085.
Branch: master
https://github.com/mongodb/mongo/commit/0fbba9495da3c621deddbee47cff3fda00b07bec

Comment by Githook User [ 26/Aug/22 ]

Author:

{'name': 'Billy Donahue', 'email': 'billy.donahue@mongodb.com', 'username': 'BillyDonahue'}

Message: SERVER-69175 transport::SocketOption class template
Branch: master
https://github.com/mongodb/mongo/commit/a52ef30f9b84fa7b77a85e8bd14f6e54721b9085

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