ASF Bugzilla – Attachment 35175 Details for
Bug 61086
Some clients hang when HTTP responses give status 205 Reset Content
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch 0-length content for 205 status
61086.patch (text/plain), 432 bytes, created by
Alexandr Saperov
on 2017-07-26 09:50:12 UTC
(
hide
)
Description:
Patch 0-length content for 205 status
Filename:
MIME Type:
Creator:
Alexandr Saperov
Created:
2017-07-26 09:50:12 UTC
Size:
432 bytes
patch
obsolete
>--- java/org/apache/coyote/http11/Http11Processor.java (date 1501062228000) >+++ java/org/apache/coyote/http11/Http11Processor.java (revision ) >@@ -1163,7 +1163,7 @@ > } > > MimeHeaders headers = response.getMimeHeaders(); >- if (!entityBody) { >+ if (!entityBody && statusCode != 205) { > response.setContentLength(-1); > } > // A SC_NO_CONTENT response may include entity headers
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 61086
:
34992
|
34993
| 35175 |
35179