Open joacub opened 1 year ago
this is the issue,
transport = await this.handshake(
req._query.transport,
req,
(errorCode, errorContext) =>
this.abortRequest(res, errorCode, errorContext)
);
if (!transport) {
return;
}
you can not await and use httprequest after that
we already have see what is the issue on this, the new alien mode is not allowing you to access the getHeader function, so you should cache them for later uses.
there is other issues in here about this mode.
pull request:
I'm looking into this.
Error: Using uWS.HttpRequest / uWS.Http3Request past its request handler return is forbidden (it is stack allocated). at callback (/app/node_modules/.pnpm/engine.io@6.4.2/node_modules/engine.io/build/userver.js:157:20)