tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bill Barker" <wbar...@wilshire.com>
Subject Re: How to disable "HTTP/100 Continue" on Tomcat
Date Thu, 07 Sep 2006 05:48:52 GMT

"Bruno Vilardo" <bruno.vilardo@gmail.com> wrote in message 
news:c7eb567e0609050746m296ecf19jce1d3dbf54aa0417@mail.gmail.com...
> Hello Bill,
>
> Thanks a lot for the info. I could not find this Paramenter.
>

It's not a parameter, and never will be.  Sending "100 Continue" is required 
by the HTTP/1.1 RFC, so Tomcat does that.  What you can do is edit the 
source code and disable Tomcat from actually doing this.  IMHO, this is a 
very bad thing to do, since it will break all working clients.  But as I 
said before, it's your copy of Tomcat.

> We are trying to configure in TomCat the Http 1.0 instead of http1.1 which
> sends the "100/Continue".
>
> To do this we have edited the server.xml and commented the http1.1 and
> uncommented the http1.0 option. But we are still seeing the "100/Continue"
> message even known that the Http1.0 is configured.
>
> Best Regards,
>
> Bruno
>
>
>
> On 9/4/06, Bill Barker <wbarker@wilshire.com> wrote:
>>
>>
>> "Bruno Vilardo" <bruno.vilardo@gmail.com> wrote in message
>> news:c7eb567e0609041436k5522ba17g6c6f051b893ce843@mail.gmail.com...
>> > THe correct is "The "100 Continue" is telling the client that it is ok
>> to
>> > start sending the request body". But the "request body" does not reach.
>> > We have log files that keep the response and the log has only the "100
>> > Continue" response and it should have the "request body" on the log.
>> >
>> > What is the file in TOMCAT to simply disable this "100 Continue" 
>> > Message
>> ?
>> >
>>
>> Probably Http11Processor.java.  Search for "expectation".  However, with 
>> a
>> working client, this will slow down your app considerably as the client
>> will
>> likely wait several seconds before sending the request body.  But, it's
>> your
>> Tomcat ;-).
>>
>> > Thanks a lot,
>> > Best Regards,
>> >
>> > Bruno
>> >
>> > Which is correct.  The "100 Continue" is telling the client that it is
>> ok
>> > to
>> > start sending the request body.  Tomcat sends this before control has
>> even
>> > reached your servlet, and only if the client asked it to.
>> >
>> >
>> >
>> > On 9/4/06, Bill Barker <wbarker@wilshire.com> wrote:
>> >>
>> >>
>> >> "Bruno Vilardo" <bruno.vilardo@gmail.com> wrote in message
>> >> news:c7eb567e0609041337n561fc657k34b6cd0fc33f8f3a@mail.gmail.com...
>> >> > Hello Bill ,
>> >> >
>> >> > This is the sequence.
>> >> >
>> >> > The sequence of events to delivery a QDoc using Sonic is:
>> >> > - Outbound generates the QDoc and then send to Sonic;
>> >> > - Sonic receive this QDoc and send to Inbound;
>> >> > - Inbound process the QDoc and creates a Response, sending it to
>> Sonic;
>> >> > - Sonic should delivery this response to outbound; But only the
>> >> > "100Continue" message is send.
>> >> >
>> >>
>> >> Which is correct.  The "100 Continue" is telling the client that it is
>> ok
>> >> to
>> >> start sending the request body.  Tomcat sends this before control has
>> >> even
>> >> reached your servlet, and only if the client asked it to.
>> >>
>> >> > HTH.
>> >> > Thanks a lot,
>> >> >
>> >> > Best Regards,
>> >> >
>> >> > Bruno
>> >> >
>> >> >
>> >> >
>> >> > On 9/4/06, Bill Barker <wbarker@wilshire.com> wrote:
>> >> >>
>> >> >>
>> >> >> "Bruno Vilardo" <bruno.vilardo@gmail.com> wrote in message
>> >> >> news:c7eb567e0609041227h5d50d97el49bb1d5ad5847ce6@mail.gmail.com...
>> >> >> > Hello All,
>> >> >> >
>> >> >> > I am a new user of TOMCAT sorry for any dumb question;-)
>> >> >> >
>> >> >> > TOMCAT version is *"jakarta-tomcat-4.1.31".*
>> >> >> > **
>> >> >> > We current have an application that replicates data.
>> >> >> >
>> >> >> > But we are having some issue because our Application is receiving
>> >> >> > the
>> >> >> > "HTTP/100 Continue" response before the "Application" response
>> >> >> > saying
>> >> >> that
>> >> >> > everything was processed OK at the other side.
>> >> >> >
>> >> >> Which is exactly the order they should come in.
>> >> >>
>> >> >> > Is there a way to disable this "HTTP/100 Continue" Message
on
>> >> >> > TOMCAT?
>> >> >> >
>> >> >>
>> >> >> Yes, have your client stop sending
>> >> >> Expect: 100-Continue
>> >> >> headers in the request.
>> >> >>
>> >> >> > Thanks a lot in Advance.
>> >> >> > Best Regards,
>> >> >> >
>> >> >> > Bruno Vilardo
>> >> >> >
>> >> >>
>> >> >>
>> >> >>
>> >> >>
>> >> >>
>> ---------------------------------------------------------------------
>> >> >> To start a new topic, e-mail: users@tomcat.apache.org
>> >> >> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
>> >> >> For additional commands, e-mail: users-help@tomcat.apache.org
>> >> >>
>> >> >>
>> >> >
>> >> >
>> >> > --
>> >> > Bruno Vilardo
>> >> > MFG/Pro Admin & Database Specialist
>> >> > QAD Brazil
>> >> > Office - 55 11 5508-2700
>> >> > Mobile - 55 11 9999-8869
>> >> > bruno.vilardo@gmail.com
>> >> >
>> >>
>> >>
>> >>
>> >>
>> >> ---------------------------------------------------------------------
>> >> To start a new topic, e-mail: users@tomcat.apache.org
>> >> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
>> >> For additional commands, e-mail: users-help@tomcat.apache.org
>> >>
>> >>
>> >
>> >
>> > --
>> > Bruno Vilardo
>> > MFG/Pro Admin & Database Specialist
>> > QAD Brazil
>> > Office - 55 11 5508-2700
>> > Mobile - 55 11 9999-8869
>> > bruno.vilardo@gmail.com
>> >
>>
>>
>>
>>
>> ---------------------------------------------------------------------
>> To start a new topic, e-mail: users@tomcat.apache.org
>> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
>> For additional commands, e-mail: users-help@tomcat.apache.org
>>
>>
>
>
> -- 
> Bruno Vilardo
> MFG/Pro Admin & Database Specialist
> QAD Brazil
> Office - 55 11 5508-2700
> Mobile - 55 11 9999-8869
> bruno.vilardo@gmail.com
> 




---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message