ASF Bugzilla – Attachment 26576 Details for
Bug 50689
FormAuthenticator does not respond properly to 'Expect: 100-Continue' header
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
2011-01-30_tc6_50689.patch
2011-01-30_tc6_50689.patch (text/plain), 1.14 KB, created by
Konstantin Kolinko
on 2011-01-29 16:51:26 UTC
(
hide
)
Description:
2011-01-30_tc6_50689.patch
Filename:
MIME Type:
Creator:
Konstantin Kolinko
Created:
2011-01-29 16:51:26 UTC
Size:
1.14 KB
patch
obsolete
>Index: java/org/apache/catalina/authenticator/FormAuthenticator.java >=================================================================== >--- java/org/apache/catalina/authenticator/FormAuthenticator.java (revision 1065026) >+++ java/org/apache/catalina/authenticator/FormAuthenticator.java (working copy) >@@ -246,8 +246,9 @@ > return (false); > } > >- // Yes -- Validate the specified credentials and redirect >- // to the error page if they are not correct >+ // Yes -- Acknowledge the request, validate the specified credentials >+ // and redirect to the error page if they are not correct >+ response.sendAcknowledgement(); > Realm realm = context.getRealm(); > if (characterEncoding != null) { > request.setCharacterEncoding(characterEncoding); >@@ -511,6 +512,9 @@ > } > > if ("POST".equalsIgnoreCase(request.getMethod())) { >+ // May need to acknowledge a 100-continue expectation >+ request.getResponse().sendAcknowledgement(); >+ > ByteChunk body = new ByteChunk(); > body.setLimit(request.getConnector().getMaxSavePostSize()); >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 50689
: 26576