-
Hello, In req-rep protocol I see that in the client after sending the request while waiting for reply if you don't set recv timeout on the socket and the server disconnects you still wait on Shouldn't it exit with some kind of error like |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
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 |
Beta Was this translation helpful? Give feedback.
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.