Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
L
libzmq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
libzmq
Commits
79d75f01
Commit
79d75f01
authored
Nov 23, 2019
by
Luca Boccassi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Problem: WS sockets return TCP protocol strings with ZMQ_LAST_ENDPOINT
Solution: use the correct address class when resolving
parent
75d9d841
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
ws_listener.cpp
src/ws_listener.cpp
+1
-1
No files found.
src/ws_listener.cpp
View file @
79d75f01
...
...
@@ -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_
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment