Re: Handling empty Host in HTTP Header

2018-10-27 Thread Mani
‐‐‐ Original Message ‐‐‐
On Saturday, October 27, 2018 8:52 PM, Mark Thomas  wrote:

> On 27/10/18 14:38, Caldarale, Charles R wrote:
>
> > > From: Mani [mailto:mani.chandraseka...@protonmail.com.INVALID]
> > > Subject: Handling empty Host in HTTP Header
> >
> > > May I know, when is the next official tomcat release planned?
> >
> > Releases for Tomcat versions under active development (including the 8.5
> > leg) normally occur in the first week of each calendar month. Last-minute
> > glitches can affect the schedule, of course.
>
> Note the October release never happened due to a combination of
> ApacheCon, working on getting TRLSv1.3 support working, needing a Tomcat
> Native release etc.
>
> Currently, I don't see anything that would add delay to the November
> release.
>
> Mark
>
> 
>
> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
> For additional commands, e-mail: users-h...@tomcat.apache.org


Thanks Mark.


Mani

-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



Re: HTTP/2 SETTINGS Parameters and WINDOW_UPDATE : Tomcat:9.0.11

2018-10-27 Thread Mark Thomas
On 27/10/18 17:27, S Abirami wrote:
> Hi All,
> 
> I want your guidance how to set the below Setting Parameters and 
> Wndows_Update using  Tomcat.
> SETTINGS_HEADER_TABLE_SIZE,

Defaults to 4k. Not configurable.

> SETTINGS_ENABLE_PUSH,

Defaults to true. Not configurable.

> SETTINGS_INITIAL_WINDOW_SIZE

See http://tomcat.apache.org/tomcat-9.0-doc/config/http2.html

> etc which is mentioned 6.5.2 section in RFC 7540
> 
> Similarly How to set the Windows_Update using Tomcat which is mentioned in 
> the 6.9 section in RFC 7540.

You don't. Tomcat handles that.

Mark

-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



HTTP/2 SETTINGS Parameters and WINDOW_UPDATE : Tomcat:9.0.11

2018-10-27 Thread S Abirami
Hi All,

I want your guidance how to set the below Setting Parameters and 
Wndows_Update using  Tomcat.
SETTINGS_HEADER_TABLE_SIZE, SETTINGS_ENABLE_PUSH, SETTINGS_INITIAL_WINDOW_SIZE 
etc which is mentioned 6.5.2 section in RFC 7540

Similarly How to set the Windows_Update using Tomcat which is mentioned in the 
6.9 section in RFC 7540.
We are using jdk 1.8u181 for java.

Please help me here.

Regards,
Abirami.S

-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



Re: Handling empty Host in HTTP Header

2018-10-27 Thread Mark Thomas
On 27/10/18 14:38, Caldarale, Charles R wrote:
>> From: Mani [mailto:mani.chandraseka...@protonmail.com.INVALID] 
>> Subject: Handling empty Host in HTTP Header
> 
>> May I know, when is the next official tomcat release planned? 
> 
> Releases for Tomcat versions under active development (including the 8.5
> leg) normally occur in the first week of each calendar month.  Last-minute
> glitches can affect the schedule, of course.

Note the October release never happened due to a combination of
ApacheCon, working on getting TRLSv1.3 support working, needing a Tomcat
Native release etc.

Currently, I don't see anything that would add delay to the November
release.

Mark

-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



RE: Handling empty Host in HTTP Header

2018-10-27 Thread Mani


‐‐‐ Original Message ‐‐‐
On Saturday, October 27, 2018 7:08 PM, Caldarale, Charles R 
 wrote:

> > From: Mani [mailto:mani.chandraseka...@protonmail.com.INVALID]
> > Subject: Handling empty Host in HTTP Header
>
> > May I know, when is the next official tomcat release planned?
>
> Releases for Tomcat versions under active development (including the 8.5
> leg) normally occur in the first week of each calendar month. Last-minute
> glitches can affect the schedule, of course.
>
> -   Chuck
>
> THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
> MATERIAL and is thus for use only by the intended recipient. If you 
> received
> this in error, please contact the sender and delete the e-mail and its
> attachments from all computers.
>


Thanks for the info Chuck..

Mani

-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



RE: Handling empty Host in HTTP Header

2018-10-27 Thread Caldarale, Charles R
> From: Mani [mailto:mani.chandraseka...@protonmail.com.INVALID] 
> Subject: Handling empty Host in HTTP Header

> May I know, when is the next official tomcat release planned? 

Releases for Tomcat versions under active development (including the 8.5
leg) normally occur in the first week of each calendar month.  Last-minute
glitches can affect the schedule, of course.

  - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
MATERIAL and is thus for use only by the intended recipient. If you received
this in error, please contact the sender and delete the e-mail and its
attachments from all computers.



smime.p7s
Description: S/MIME cryptographic signature


Handling empty Host in HTTP Header

2018-10-27 Thread Mani
Hi,

  We are using tomcat-8.5.34. One of our client code is sending a POST 
request with HTTP header parameter "Host", as an empty string. And 8.5.34 
version of tomcat is rejecting the connection with a 400 Error. After 
debugging, we found that the parseHost API in 
org.apache.coyote.AbstractProcessor is throwing an InvalidArgumentException 
(Seems to be introduced in 8.5.31). Then we checked out the latest tomcat code 
from SVN and found that the issue has been already addressed ( 
https://bz.apache.org/bugzilla/show_bug.cgi?id=62739 ) . So, we hope, the fix 
would be available in 8.5.35.

May I know, when is the next official tomcat release planned? So that we can 
decide on how to handle this issue in our product.

Thanks,

Mani