parser for the node-proxy-protocol based on node-strtok
JavaScript
Switch branches/tags
Nothing to show
Latest commit a49bf6c Oct 8, 2012 Brandon Philips Brandon Philips index: add a longer ipv6 address
the address was short by 2 bytes

README.md

Node.js Proxy Protocol Parser

Parses the HA Proxy/stud proxy protocol line using strtok.

Usage

var proxy_protocol = require("./");

proxy_protocol.parse(tcp4, function(err, obj) {
  console.log('Got proxy details');
  console.log(obj);
});