Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ADDED] natsOptions_SetFailRequestsOnDisconnect() option #392

Merged
merged 1 commit into from Dec 29, 2020
Merged

Commits on Dec 28, 2020

  1. [ADDED] natsOptions_SetFailRequestsOnDisconnect() option

    If enabled, any pending request (using new style) will fail with
    NATS_CONNECTION_DISCONNECTED status.
    
    Also fixed the failing of pending flush requests which was done
    in the doReconnect thread while it should be done prior to
    creating the pending buffer and starting the reconnect thread.
    
    Resolves #391
    
    Signed-off-by: Ivan Kozlovic <ivan@synadia.com>
    kozlovic committed Dec 28, 2020
    Configuration menu
    Copy the full SHA
    e7b0332 View commit details
    Browse the repository at this point in the history