transform-hub
transform-hub copied to clipboard
Forwarding request with VerserConnection
Describe the bug Not a bug but a place to improvement.
VerserConnection.forward(req: IncomingMessage, res: ServerResponse): Promise<void>
https://github.com/scramjetorg/transform-hub/blob/devel/packages/verser/src/lib/verser-connection.ts#L80-L136
could utilize
VerserConnection.makeRequest
https://github.com/scramjetorg/transform-hub/blob/devel/packages/verser/src/lib/verser-connection.ts#L144-L162
instead of implementing low level http chunked transfer on its own