Opened 11 years ago
Closed 10 years ago
#5742 closed Bugs (wontfix)
cancel() for not connected socket causes "Bad file descriptor" exception
| Reported by: | Owned by: | chris_kohlhoff | |
|---|---|---|---|
| Milestone: | To Be Determined | Component: | asio |
| Version: | Boost 1.47.0 | Severity: | Problem |
| Keywords: | Cc: |
Description
If socket is not connected, doing cancel() for it causes the following exception:
terminate called after throwing an instance of 'boost::exception_detail::clone_impl<boost::exception_detail::error_info_injector<boost::system::system_error> >'
what(): Bad file descriptor
Abort (core dumped) Exit 134
Test program attached. This affects at least tcp and local::stream_protocol sockets, and possibly other sockets.
Attachments (1)
Change History (2)
by , 11 years ago
comment:1 by , 10 years ago
| Resolution: | → wontfix |
|---|---|
| Status: | new → closed |
Note:
See TracTickets
for help on using tickets.

As designed.