mirror of
https://github.com/zeromq/libzmq.git
synced 2024-12-28 16:15:23 +08:00
Problem: WS sockets return TCP protocol strings with ZMQ_LAST_ENDPOINT
Solution: use the correct address class when resolving
This commit is contained in:
parent
75d9d84100
commit
79d75f017c
@ -123,7 +123,7 @@ void zmq::ws_listener_t::in_event ()
|
|||||||
std::string zmq::ws_listener_t::get_socket_name (zmq::fd_t fd_,
|
std::string zmq::ws_listener_t::get_socket_name (zmq::fd_t fd_,
|
||||||
socket_end_t socket_end_) const
|
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_)
|
int zmq::ws_listener_t::create_socket (const char *addr_)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user