[SERVER-26477] Use non-throwing variant of asio::basic_socket::cancel Created: 05/Oct/16  Updated: 22/Nov/16  Resolved: 06/Oct/16

Status: Closed
Project: Core Server
Component/s: Networking
Affects Version/s: 3.4.0-rc0
Fix Version/s: 3.2.11, 3.4.0-rc1

Type: Bug Priority: Major - P3
Reporter: Samantha Ritter (Inactive) Assignee: Samantha Ritter (Inactive)
Resolution: Done Votes: 0
Labels: code-only
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
Backwards Compatibility: Fully Compatible
Operating System: ALL
Backport Completed:
Sprint: Platforms 2016-10-10
Participants:
Linked BF Score: 0

 Description   

The asio socket API offers a throwing version of cancel() and a non-throwing version cancel(asio::error_code& ec). We are currently using the throwing version, which throws errors we cannot reasonably catch within NetworkInterfaceASIO.



 Comments   
Comment by Githook User [ 06/Oct/16 ]

Author:

{u'username': u'samantharitter', u'name': u'samantharitter', u'email': u'samantha.ritter@10gen.com'}

Message: SERVER-26477 Use non-throwing variant of asio::basic_socket::cancel
Branch: v3.2
https://github.com/mongodb/mongo/commit/3e343542c410515d1007e60d73402271b4be910d

Comment by Githook User [ 06/Oct/16 ]

Author:

{u'username': u'samantharitter', u'name': u'samantharitter', u'email': u'samantha.ritter@10gen.com'}

Message: SERVER-26477 Use non-throwing variant of asio::basic_socket::cancel
Branch: master
https://github.com/mongodb/mongo/commit/a2d34afd4330258e05c5ac1e9174338cfda29a10

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