Skip to content

Question about req-rep recv timeout #1853

Answered by gdamore
mikisch81 asked this question in Q&A
Discussion options

You must be logged in to vote

So the request can be resent later to another server, or the same server might reconnect. This is part of the self-healing nature of the REQ/REP protocol. The resend happens underneath the hood.

Obviously if you're using this capability, you should use idempotent requests.

To avoid the retry please try using NNG_OPT_REQ_RESENDTIME set to 0.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by gdamore
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants