On Mon, Aug 13, 2012 at 5:43 PM, Jimb Esser <[email protected]> wrote:

> Though stud can write the IP info, as far as I can tell there's still no
> way to pull that out on node without building your own version of node that
> supports a pre-parse event before passing the stream to the HTTP parser.
>  This is a pretty simple change and is what we do, but does require our own
> deployment of node.
>

Good to know. I probably don't need it on the node side though. It's mostly
just for logs, which stud can write. Am I missing a need for the real IP in
node?


> Also of note, until 3 days ago, to get stud to *read* the PROXY line with
> the IP address coming from HAProxy also required a version of stud other
> than their master one, but it looks like they finally merged one of the
> outstanding pull requests to add that, so you can use the --proxy-proxy
> option to pass the IP from HAProxy through stud.
>

Also good to know!

-- 
Job Board: http://jobs.nodejs.org/
Posting guidelines: 
https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
You received this message because you are subscribed to the Google
Groups "nodejs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/nodejs?hl=en?hl=en

Reply via email to