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
74ae19ac
Commit
74ae19ac
authored
Apr 21, 2012
by
Sergey KHripchenko
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
spaces deleted
parent
06b2eae8
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
4 deletions
+5
-4
pipe.cpp
src/pipe.cpp
+1
-1
session_base.cpp
src/session_base.cpp
+4
-3
No files found.
src/pipe.cpp
View file @
74ae19ac
...
...
@@ -359,7 +359,7 @@ void zmq::pipe_t::terminate (bool delay_)
// active state.
else
if
(
state
==
delimited
)
{
send_pipe_term
(
peer
);
state
=
terminated
;
state
=
terminated
;
}
// There are no other states.
...
...
src/session_base.cpp
View file @
74ae19ac
...
...
@@ -357,6 +357,7 @@ void zmq::session_base_t::proceed_with_term ()
void
zmq
::
session_base_t
::
timer_event
(
int
id_
)
{
// Linger period expired. We can proceed with termination even though
// there are still pending messages to be sent.
zmq_assert
(
id_
==
linger_timer_id
);
...
...
@@ -376,13 +377,13 @@ void zmq::session_base_t::detached ()
}
// Reconnect.
if
(
options
.
reconnect_ivl
!=
-
1
)
start_connecting
(
true
);
if
(
options
.
reconnect_ivl
!=
-
1
)
start_connecting
(
true
);
// For subscriber sockets we hiccup the inbound pipe, which will cause
// the socket object to resend all the subscriptions.
if
(
pipe
&&
(
options
.
type
==
ZMQ_SUB
||
options
.
type
==
ZMQ_XSUB
))
pipe
->
hiccup
();
pipe
->
hiccup
();
}
void
zmq
::
session_base_t
::
start_connecting
(
bool
wait_
)
...
...
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