commit | f471fa0b837913d1ad861164497e361365a7f74b | [log] [tgz] |
---|---|---|
author | Michal Vasko <mvasko@cesnet.cz> | Wed Feb 15 10:48:12 2017 +0100 |
committer | Michal Vasko <mvasko@cesnet.cz> | Wed Feb 15 10:48:12 2017 +0100 |
tree | 31f8f378f02de64fc40a56d29dc86b8fdcebcf44 | |
parent | 50d2a5c6be56556565fc28b6efa4ac5a74064943 [diff] [blame] |
session CHANGE new timeout introduced Also described with other options in README.
diff --git a/src/session_client.c b/src/session_client.c index 15fa4a8..5b9902c 100644 --- a/src/session_client.c +++ b/src/session_client.c
@@ -216,7 +216,7 @@ } do { - msg = nc_recv_reply(session, rpc, msgid, NC_READ_TIMEOUT * 1000, 0, &reply); + msg = nc_recv_reply(session, rpc, msgid, NC_READ_ACT_TIMEOUT * 1000, 0, &reply); } while (msg == NC_MSG_NOTIF); nc_rpc_free(rpc); if (msg == NC_MSG_WOULDBLOCK) {