Commit 79d75f01 authored by Luca Boccassi's avatar Luca Boccassi

Problem: WS sockets return TCP protocol strings with ZMQ_LAST_ENDPOINT

Solution: use the correct address class when resolving
parent 75d9d841
......@@ -123,7 +123,7 @@ void zmq::ws_listener_t::in_event ()
std::string zmq::ws_listener_t::get_socket_name (zmq::fd_t fd_,
socket_end_t socket_end_) const
{
return zmq::get_socket_name<tcp_address_t> (fd_, socket_end_);
return zmq::get_socket_name<ws_address_t> (fd_, socket_end_);
}
int zmq::ws_listener_t::create_socket (const char *addr_)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment