Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [jetty-users] NAT with HTTP 1.0 returns internal IP address

Martijn,

On Mon, Apr 8, 2013 at 10:47 AM, martijn.list <martijn.list@xxxxxxxxx> wrote:
> Connect with telnet to a Jetty server on port 89 (in this example I use
> www.webtide.com) issue a GET with the HTTP 1.0 protocol:
>
> telnet www.webtide.com 80
>
> Trying 72.32.76.94...
> Connected to www.webtide.com.
> Escape character is '^]'.
> GET index.html HTTP/1.0
>
> HTTP/1.1 302 Found
> Location: https://192.168.100.94:443index.html
> Content-Length: 0
> Server: Jetty(9.0.1-SNAPSHOT)
>
> Connection closed by foreign host.
>
>
> The Location header in the HTTP response tells me to connect to an internal
> IP address 192.168.100.94. There are two problems with this:

So I tried and I can reproduce; if I use HTTP 1.1, then I get the
correct Location header.
Reproducible test cases make miracles in reply speed :)

Seems a bug, investigating.

Can you please open an issue regarding this, and report here the bugzilla ID ?

Thanks !

--
Simone Bordet
----
http://cometd.org
http://webtide.com
http://intalio.com
Developer advice, training, services and support
from the Jetty & CometD experts.
Intalio, the modern way to build business applications.


Back to the top