karlisolte

Results 4 issues of karlisolte

Couldn't find any discussion on this. User can of course check if value is in the range, but this is such a common case that it would be a useful...

Hello! I would like to verify TLS certificate. A convenient way of doing that seems to be `ctx->set_verify_callback(asio::ssl::rfc2818_verification("host.name"));`, but it needs a hostname passed to it. Handler for `set_tls_init_handler` has...

Library claims to be thread safe, so I would expect `endpoint` to be thread safe, but `stop_listening()` methods modifies [m_state](https://github.com/zaphoyd/websocketpp/blob/master/websocketpp/transport/asio/endpoint.hpp#L614) while is_listening() reads [m_state](https://github.com/zaphoyd/websocketpp/blob/master/websocketpp/transport/asio/endpoint.hpp#L636) (`m_state` is just an enum). This...

https://github.com/zaphoyd/websocketpp/blob/master/websocketpp/common/network.hpp#L66-L85 Write on line 75: `typ = (x.c[7] == 0x01ULL) ? TYP_BIGE : TYP_SMLE;` Read on line 73: `if (typ == TYP_INIT) {` can happen concurrently and hence constitute a...