Skip to content

port handling in incoming request #4

@jeromeetienne

Description

@jeromeetienne

in parsing the incoming request, there is a little glitch in the port handling

http://github.com/pkrumins/nodejs-proxy/blob/master/proxy.js#L86

here in fact the port may be in the header 'host'

for reference http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html Host = "Host" ":" host [ ":" port ] ; Section 3.2.2.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions