Skip to content

Commit

Permalink
doc: ipcc.c: explain why client would timebox recv from server
Browse files Browse the repository at this point in the history
Also refer to commit d633b4e.

Signed-off-by: Jan Pokorný <[email protected]>
  • Loading branch information
jnpkrn committed Jun 29, 2017
1 parent 518b357 commit 58da838
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/ipcc.c
Original file line number Diff line number Diff line change
Expand Up @@ -323,6 +323,8 @@ qb_ipcc_sendv_recv(qb_ipcc_connection_t * c,
}

do {
/* following is a liveness-driven interleaving
(for cases the server side failed/exited) */
if (timeout_rem > QB_IPC_MAX_WAIT_MS || ms_timeout == -1) {
timeout_now = QB_IPC_MAX_WAIT_MS;
} else {
Expand Down

0 comments on commit 58da838

Please sign in to comment.