Hi, On Mon, Apr 8, 2013 at 5:15 PM, Simone Bordet <[email protected]> wrote: > Martijn, > > On Mon, Apr 8, 2013 at 10:47 AM, martijn.list <[email protected]> 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.
What Jetty version, BTW ? We can handle this in Jetty 9 by adding a secureHost property to HttpConfiguration (along with already existing securePort and secureScheme). -- 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. _______________________________________________ jetty-users mailing list [email protected] https://dev.eclipse.org/mailman/listinfo/jetty-users
