that was fast. thanks. Frank
-----Original Message----- From: Mark Thomas [mailto:ma...@apache.org] Sent: Wednesday, June 29, 2016 3:41 PM To: Tomcat Users List Subject: Re: AW: wrong request.getServerPort value reported on upgraded HTTP/2 connector ? On 29/06/2016 09:49, Mark Thomas wrote: > On 29/06/2016 07:50, Frank Taffelt wrote: >> i have no other connectors than the one on port 443. > > I can reproduce this. I'll look at getting this fixed for the next release. Fixed. The fix will be in 9.0.0.M9 onwards and 8.5.4 onwards. Mark > > Mark > > >> >> -----Ursprüngliche Nachricht----- >> Von: Christopher Schultz [mailto:ch...@christopherschultz.net] >> Gesendet: Dienstag, 28. Juni 2016 17:56 >> An: Tomcat Users List >> Betreff: Re: wrong request.getServerPort value reported on upgraded HTTP/2 >> connector ? >> >> Frank, >> >> On 6/28/16 11:02 AM, Frank Taffelt wrote: >>> Calling the method request.getServerPort() returns 80 on http/2 >>> upgraded requests for the https connector. I would expect that this >>> method should return 443 in these calls. My current workarround is >>> to disable the APR Listener as this results in correct value for the >>> https connector. So is this a bug? >> >> Definitely seems like a bug. You have no other connectors defined other than >> the one on port 443? >> >> -chris >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org >> For additional commands, e-mail: users-h...@tomcat.apache.org >> >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org >> For additional commands, e-mail: users-h...@tomcat.apache.org >> > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org > For additional commands, e-mail: users-h...@tomcat.apache.org > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org