uNetworking / uWebSockets

Simple, secure & standards compliant web server for the most demanding of applications
Apache License 2.0
17.3k stars 1.75k forks source link

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

Open uNetworkingAB opened 1 year ago

uNetworkingAB commented 1 year ago

Collecting all API-breaking ideas and issues

uNetworkingAB commented 1 year ago
uNetworkingAB commented 1 year ago

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 commented 1 year ago

Question is if this is needed also in uWS.