9fcfce3463
This PR fixes the issue described here: https://github.com/vercel/next.js/issues/20909 The _req passed to getRequestHandler doesn't have `on` function which is required by http-proxy. It throws the error e.on is not a function. We should also wait for buffer to finish writing before sending the response. Fixes: https://github.com/vercel/next.js/issues/20909 Closes: https://github.com/vercel/next.js/issues/24177 |
||
---|---|---|
.. | ||
lib | ||
server |