PiniH
PiniH
I would love to help investigate and assist with all the investigation/integration between the new http2 and express, however I would need guidance on how/where to start. @jasnell
@dougwilson From quick investigation - the first problem starts in the init function, it sets the wrong prototype - it's Http2Request/Response all the way until ```js setPrototypeOf(req, app.request) setPrototypeOf(res, app.response)...
Aye, it's a different constructor, I just started playing with it today, I will look into it more tomorrow and post my findings.
I played with it some more, exposing Http2ServerRequest and Http2ServerResponse from node internal http2 files, and used them in the request/response files, (also had to define an empty setter for...
From what I'm seeing, the getPathname is working properly, until the layer that's called expressInit is running (I guess that's an internal layer?), and then the getPathname fails with stackoverflow,...
Amusing... Http2ServerRequest defines getter for 'url' property as return this.path, express request.js defines 'path' as ```js return parse(this).pathname; ``` which calls - you guessed it, request.url :) resulting in stack...