sdamm / asio_dtls

A DTLS implementation using the ASIO library
51 stars 11 forks source link

Fix acceptor to use io_context #8

Closed wegylexy closed 5 years ago

wegylexy commented 5 years ago

Since asio::ip::udp::socket constructor template is specialized for execution_context, casting context to executor_type causes segmentation fault in the generic constructor implementation (line 78 in the old file changed to line 72 in the new file).