ASF Bugzilla – Attachment 21873 Details for
Bug 44494
Requests greater than 8k being truncated.
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch for TC 5.5 Part 2 - container (InputBuffer)
bz44494-tc55-container.patch (text/plain), 1.05 KB, created by
Rainer Jung
on 2008-04-28 11:48:39 UTC
(
hide
)
Description:
Patch for TC 5.5 Part 2 - container (InputBuffer)
Filename:
MIME Type:
Creator:
Rainer Jung
Created:
2008-04-28 11:48:39 UTC
Size:
1.05 KB
patch
obsolete
>Index: container/catalina/src/share/org/apache/catalina/connector/InputBuffer.java >=================================================================== >--- container/catalina/src/share/org/apache/catalina/connector/InputBuffer.java (Revision 652071) >+++ container/catalina/src/share/org/apache/catalina/connector/InputBuffer.java (Arbeitskopie) >@@ -319,8 +319,11 @@ > cb.setOffset(0); > cb.setEnd(0); > } >+ int limit = bb.getLength()+cb.getStart(); >+ if ( cb.getLimit() < limit ) >+ cb.setLimit(limit); > state = CHAR_STATE; >- conv.convert(bb, cb, len); >+ conv.convert(bb, cb, bb.getLength()); > bb.setOffset(bb.getEnd()); > > return cb.getLength(); >@@ -403,11 +406,7 @@ > cb.setOffset(0); > } > } >- int offset = readAheadLimit; >- if (offset < size) { >- offset = size; >- } >- cb.setLimit(cb.getStart() + offset); >+ cb.setLimit(cb.getStart() + readAheadLimit + size); > markPos = cb.getStart(); > } >
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 44494
:
21683
|
21684
|
21685
|
21686
|
21700
|
21705
|
21717
|
21832
|
21872
| 21873