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
e45ede49
Commit
e45ede49
authored
Feb 07, 2019
by
Simon Giesecke
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Problem: regression introduced by
68d520ef
, changing behaviour of unblocking sockets
Solution: move unblock call to original location
parent
db8c26fc
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
3 deletions
+6
-3
socks_connecter.cpp
src/socks_connecter.cpp
+3
-0
tcp.cpp
src/tcp.cpp
+0
-3
tcp_connecter.cpp
src/tcp_connecter.cpp
+3
-0
No files found.
src/socks_connecter.cpp
View file @
e45ede49
...
...
@@ -232,6 +232,9 @@ int zmq::socks_connecter_t::connect_to_proxy ()
}
zmq_assert
(
_addr
->
resolved
.
tcp_addr
!=
NULL
);
// Set the socket to non-blocking mode so that we get async connect().
unblock_socket
(
_s
);
const
tcp_address_t
*
const
tcp_addr
=
_addr
->
resolved
.
tcp_addr
;
int
rc
;
...
...
src/tcp.cpp
View file @
e45ede49
...
...
@@ -429,9 +429,6 @@ zmq::fd_t zmq::tcp_open_socket (const char *address_,
if
(
!
options_
.
bound_device
.
empty
())
bind_to_device
(
s
,
options_
.
bound_device
);
// Set the socket to non-blocking mode so that we get async connect().
unblock_socket
(
s
);
// Set the socket buffer limits for the underlying socket.
if
(
options_
.
sndbuf
>=
0
)
set_tcp_send_buffer
(
s
,
options_
.
sndbuf
);
...
...
src/tcp_connecter.cpp
View file @
e45ede49
...
...
@@ -182,6 +182,9 @@ int zmq::tcp_connecter_t::open ()
}
zmq_assert
(
_addr
->
resolved
.
tcp_addr
!=
NULL
);
// Set the socket to non-blocking mode so that we get async connect().
unblock_socket
(
_s
);
const
tcp_address_t
*
const
tcp_addr
=
_addr
->
resolved
.
tcp_addr
;
int
rc
;
...
...
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