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

fix: issue that comes up with node versions > 16 #337

Conversation

DominicAlthaus
Copy link

Fix an issue where the highcharts export server would think that the client closed the connection prematurely when running on node version >= 16.

Based my fix on this discussion and searching the node documentation for alternative events that can be used to determine aborted connections. I came up with checking the response for being closed. This will either be fired when the response is done when it doesn't matter anymore or when the client lost connection before receiving the result.

see: "the client closed the connection before the chart was done processing"
when running as server
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