-
Notifications
You must be signed in to change notification settings - Fork 42
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Don't raise exceptions from within AMQP callbacks
Raising exceptions from within AMQP callbacks (defained in MessagingHandler) prevents qpid_proton gem from closing TCP connection properly which results in file descriptor leakage (see https://issues.apache.org/jira/browse/PROTON-1791). It's a bug in gem (sockets shouldn't leak no matter what) which will be resolved with next release (qpid_proton 0.22.0) in a month, but with this commit we avoid raising exceptions in callbacks to resolve file descriptor problem immediately. Signed-off-by: Miha Pleško <[email protected]>
- Loading branch information
1 parent
bb7a1a2
commit acf3949
Showing
3 changed files
with
38 additions
and
15 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