[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: |
|
||||
| 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: |
| Comment by Githook User [ 06/Oct/16 ] |
|
Author: {u'username': u'samantharitter', u'name': u'samantharitter', u'email': u'samantha.ritter@10gen.com'}Message: |