Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[FIXED] JetStream: check stream and consumer names
Many APIs were not properly checking that the stream and/or consumer names were provided and valid (no "." in them), which could lead to requests being sent on a subject that the server has no interest on and no response was therefore sent to the client library, which would fail with a timeout/context deadline. Signed-off-by: Ivan Kozlovic <ivan@synadia.com>
- Loading branch information
Showing
4 changed files
with
152 additions
and
47 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.