Just for information....and little question at this end.

I'am testing TOMCAT with java API for IPV6 at the moment and my only problem with your product is about
traitment of number port in request Header which raise an NumberFormatException exception ...

Function parseHeaders() in class apache/catalina/connector/http/httpProcessor.java which manipulate
request header http and extract portNumber.
MyURL is using the format for literal IPv6 addresses (described in RFC 2732).
A literal IPv6 address in a URL is the address enclosed in square brackets and
eatch block is converted to hexadecimal and delimited with colons (eg: 1ffe:00D3:0000:2F3B:02AA:00FF:FE28:00AA)

So my only modification is to convert line (number 531 of source product 4.0-b1)
int n = value.IndexOf(":");
by
int n = value.lastIndexOf(":");
and that's run well....

My question for tomcat's developpers is
do you think this problem can find in other place of your product ?

Thanks for your help.


Jérôme Camilleri
Bull Echirolles

Reply via email to