ASF Bugzilla – Attachment 17478 Details for
Bug 38346
InputBuffer breaks request.readLine()
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch for InputBuffer fixing 1) and 2)
patch.txt (text/plain), 688 bytes, created by
Rainer Jung
on 2006-01-21 21:36:57 UTC
(
hide
)
Description:
Patch for InputBuffer fixing 1) and 2)
Filename:
MIME Type:
Creator:
Rainer Jung
Created:
2006-01-21 21:36:57 UTC
Size:
688 bytes
patch
obsolete
>--- InputBuffer.java.rev306195 Sat Jan 21 20:44:57 2006 >+++ InputBuffer.java Sat Jan 21 20:47:09 2006 >@@ -216,6 +216,7 @@ > if (cb.getChars().length > size) { > cb = new CharChunk(size); > cb.setLimit(size); >+ cb.setOptimizedWrite(false); > cb.setCharInputChannel(this); > cb.setCharOutputChannel(this); > } else { >@@ -337,6 +338,9 @@ > cb.setEnd(0); > } > >+ int limit = bb.getLength()+cb.getStart(); >+ if ( cb.getLimit() < limit ) >+ cb.setLimit(limit); > conv.convert(bb, cb); > bb.setOffset(bb.getEnd()); > state = CHAR_STATE; >
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 38346
: 17478 |
17479
|
17480