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

Handle properly issue when write happens to closed session #6

Open
Gormartsen opened this issue Mar 8, 2019 · 0 comments
Open

Handle properly issue when write happens to closed session #6

Gormartsen opened this issue Mar 8, 2019 · 0 comments

Comments

@Gormartsen
Copy link
Member

Gormartsen commented Mar 8, 2019

When callback called second time and respond already sent.

Error: write after end
    at write_ (_http_outgoing.js:625:15)
    at ServerResponse.write (_http_outgoing.js:620:10)
    at WebServer.callbackExecutor (xxxxxxx/node_modules/@microservice-framework/microservice-cluster/includes/web.js:204:14)
    at WebServer.callbackExecutor (xxxxxxx/node_modules/@microservice-framework/microservice-cluster/includes/web.js:10:63)
    at xxxxxxx/node_modules/@microservice-framework/microservice-cluster/includes/web.js:173:14
Gormartsen added a commit that referenced this issue Mar 11, 2019
…put error and other data

Helpful for debugging
Gormartsen added a commit that referenced this issue Mar 11, 2019
#6 prevent writing to socket after connection closed and make and out…
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