parser for the node-proxy-protocol based on node-strtok
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

Node.js Proxy Protocol Parser

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


var proxy_protocol = require("./");

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