Further to my previous email I've rediscovered where I got the suggestion
to use HTTP 1.0. It's in the Tomcat 4.01 release notes:
> --------------------------------
> Tomcat 4.0 and Apache Cocoon 2.0:
> --------------------------------
>
> For optimal performance with Apache Cocoon 2.0, it is recommended to use
> the
> HTTP/1.0 connector.
>
Stuart.
On Friday, December 7, 2001, at 02:42 pm, Stuart Roebuck wrote:
>
> On Friday, December 7, 2001, at 02:03 pm, J�rg Prante wrote:
>
>> Stuart,
>>
>> this is a Tomcat HTTP 1.0 connector bug, if you ask me. The Tomcat HTTP
>> 1.
>> 1
>> connector uses
>>
>> if (!request.isRequestedSessionIdFromCookie()) { ... }
>>
>> to control the session ID cookie setting correctly. In HTTP 1.0 code,
>> this
>> conditional is missing in the Tomcat code and cookies are dropped from
>> the
>> request after a session cookie has been found.
>
> yes thanks, that's why I renamed the email: "[Tomcat 4] HTTP 1.0
> connector Cookie bug"!
>
>> Stuart, why do you prefer HTTP 1.0? There are major drawbacks comparing
>> to
>> 1.1 according to secure connections.
>
> I originally tried the HTTP 1.0 connector because there was (and maybe
> still is) a page on either the Cocoon or Tomcat site indicating that
> Cocoon would run faster with this connector.
>
> When I tried it the difference was like night and day. Unfortunately I
> didn't have time to investigate why, but I took the existence of a
> message on the site as an indication that it was a known issue probably
> without an easy workaround.
>
>> Do you use any HTTP proxies or complex DNS settings This slows down HTTP
>> 1.1
>> connections.
>
> I don't think so, but could you elaborate a little on why this makes a
> difference - or point me to some documentation that mentions this? Does
> HTTP 1.1 carry out DNS lookups that don't happen with HTTP 1.0? What
> would represent a complex DNS setting?
>
> My apologies if I'm asking something obvious, HTTP specs are not my
> strong point!
>
> Stuart.
>
>
>> Cheers, J�rg
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, email: [EMAIL PROTECTED]
>>
>>
>
> Public Key - 1024D/88DD65AF 2001-11-23 Stuart Roebuck (Adolos)
> Key fingerprint = 89D9 E405 F8B1 9B22 0FA2 F2C1 9E57 5AB1 88DD 65AF
> -------------------------------------------------------------------------
> Stuart Roebuck [EMAIL PROTECTED]
> Lead Developer Java, XML, MacOS X, XP, etc.
> ADOLOS <http://www.adolos.com/>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, email: [EMAIL PROTECTED]
>
>
Public Key - 1024D/88DD65AF 2001-11-23 Stuart Roebuck (Adolos)
Key fingerprint = 89D9 E405 F8B1 9B22 0FA2 F2C1 9E57 5AB1 88DD 65AF
-------------------------------------------------------------------------
Stuart Roebuck [EMAIL PROTECTED]
Lead Developer Java, XML, MacOS X, XP, etc.
ADOLOS <http://www.adolos.com/>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]