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

Provide an override to allow different types of connections to translate errors to a coherent supported list #1

Open
francois-normandin opened this issue Oct 19, 2020 · 0 comments
Assignees

Comments

@francois-normandin
Copy link
Member

For example, the TCP Connection returns error 66 for "Disconnected by Peer", but the Local Queue would return error code 1.
The session should be able to use a standard error code list to support some of the MQTT features, so an error mapping of some sort will be needed,

TCP Connection passes all tests. Websockets and Local Queue fail a few, all related to properly reporting when the server or client disconnected because of a protocol violation on either side.

image

@francois-normandin francois-normandin self-assigned this Oct 19, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant