Pre-process PROXY protocol headers from node tcp sockets
This will allow a regular node server to accept PROXY protocol v2 connections
Just pass in your server to get running:
const server = ;server;const proxied = ;
Server can be net, http, https, tls, etc
All available options:
Load test shows neglible latency difference with a vanilla http server
This project is licensed under the ISC License - see the LICENSE file for details.