https://issues.apache.org/bugzilla/show_bug.cgi?id=50689
Summary: FormAuthenticator does not respond property to
'Expect: 100-Continue' header
Product: Tomcat 6
Version: 6.0.20
Platform: PC
Status: NEW
Severity: normal
Priority: P2
Component: Catalina
AssignedTo: [email protected]
ReportedBy: [email protected]
Hi guys,
First, thank you for creating Tomcat! I've used it over and over again for more
than a decade and it's been a wonderful help to me.
I've been tracking a bug in my app which seemed like a bug in HttpClient and
now (according to the HttpClient guys) appears to be a bug in Tomcat.
Details of the bug, including analysis and test case, attached here:
https://issues.apache.org/jira/browse/HTTPCLIENT-1048
Essentially if FormAuthenticator receives an HTTP request containing a 'Expect:
100-Continue' header, it is meant to respond with either a 100 or a 417 in
order to request the body of the request. But instead, Tomcat is not responding
at all. Luckily a 'fallback' use case of the spec is that the client should
wait, say, 2 seconds then send the body anyway.
The result is that logging in takes much longer (2 longers versus 10ms) than
expected, which can be a problem for people doing automated testing against
FormAuthenticator.
Note the issue may affect use cases beyond FormAuthenticator too.
Regards,
Richard.
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]