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

close connection on error in $connect action handler #726

Merged
merged 1 commit into from Jul 2, 2019

Conversation

frsechet
Copy link
Contributor

@frsechet frsechet commented Jul 2, 2019

If an error occurs in the $connect action handler, AWS does not let the connection be established. In order to mimic that behaviour, let's close the connection if the $connect handler throws.

see #711 (comment)

@frsechet frsechet mentioned this pull request Jul 2, 2019
6 tasks
@frsechet
Copy link
Contributor Author

frsechet commented Jul 2, 2019

force-pushed to rebase because of linting issue

@frsechet
Copy link
Contributor Author

frsechet commented Jul 2, 2019

@dherault what is needed in order to merge? Maybe some approval from @dnalborczyk?

@dherault dherault merged commit b9b1d72 into dherault:websocket-fixes Jul 2, 2019
@dherault
Copy link
Owner

dherault commented Jul 2, 2019

Sorry work happened between my review and now :)

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

Successfully merging this pull request may close these issues.

None yet

2 participants