ASF Bugzilla – Attachment 26557 Details for
Bug 50651
NPE in InternalNioOutputBuffer.recycle
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
2011-01-27_tc6_50651_CoyoteAdapter.patch
2011-01-27_tc6_50651_CoyoteAdapter.patch (text/plain), 976 bytes, created by
Konstantin Kolinko
on 2011-01-26 20:38:58 UTC
(
hide
)
Description:
2011-01-27_tc6_50651_CoyoteAdapter.patch
Filename:
MIME Type:
Creator:
Konstantin Kolinko
Created:
2011-01-26 20:38:58 UTC
Size:
976 bytes
patch
obsolete
>Index: java/org/apache/catalina/connector/CoyoteAdapter.java >=================================================================== >--- java/org/apache/catalina/connector/CoyoteAdapter.java (revision 1063883) >+++ java/org/apache/catalina/connector/CoyoteAdapter.java (working copy) >@@ -349,9 +349,10 @@ > > Request request = (Request) req.getNote(ADAPTER_NOTES); > Response response = (Response) res.getNote(ADAPTER_NOTES); >+ boolean create = false; > > if (request == null) { >- >+ create = true; > // Create objects > request = connector.createRequest(); > request.setCoyoteRequest(req); >@@ -374,8 +375,10 @@ > connector.getService().getContainer().logAccess( > request, response, time, true); > >- request.recycle(); >- response.recycle(); >+ if (create) { >+ request.recycle(); >+ response.recycle(); >+ } > } > >
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 50651
:
26549
|
26554
| 26557