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

Disallow responding to http from an uncorked state (enforce use of res.cork) #1516

Open
uNetworkingAB opened this issue Nov 6, 2022 · 3 comments

Comments

@uNetworkingAB
Copy link
Contributor

Collecting all API-breaking ideas and issues

@uNetworkingAB
Copy link
Contributor Author

  • Disallow responding to http from an uncorked state (enforce use of res.cork)

@uNetworkingAB uNetworkingAB changed the title v21 Disallow responding to http from an uncorked state (enforce use of res.cork) Nov 6, 2022
@uNetworkingAB
Copy link
Contributor Author

This was kind of fixed already in uWS.js. Instead of an error it just shows a warning. That's a good middle solution for now

@uNetworkingAB
Copy link
Contributor Author

Question is if this is needed also in uWS.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant