ASF Bugzilla – Attachment 19634 Details for
Bug 41675
Add a debug statement when some necessary header information is missing
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Http11Processor.patch
Http11Processor.patch (text/plain), 1.34 KB, created by
Ralf Hauser
on 2007-02-26 01:22:52 UTC
(
hide
)
Description:
Http11Processor.patch
Filename:
MIME Type:
Creator:
Ralf Hauser
Created:
2007-02-26 01:22:52 UTC
Size:
1.34 KB
patch
obsolete
>Index: Http11Processor.java >=================================================================== >--- Http11Processor.java (revision 511555) >+++ Http11Processor.java (working copy) >@@ -1203,6 +1203,10 @@ > http11 = false; > error = true; > // Send 505; Unsupported HTTP version >+ if (log.isDebugEnabled()) { >+ log.debug(sm.getString("http11processor.request.prepare")+ >+ " Unsupported HTTP version \""+protocolMB+"\""); >+ } > response.setStatus(505); > } > >@@ -1311,6 +1315,10 @@ > // Unsupported transfer encoding > error = true; > // 501 - Unimplemented >+ if (log.isDebugEnabled()) { >+ log.debug(sm.getString("http11processor.request.prepare")+ >+ " Unsupported transfer encoding \""+encodingName+"\""); >+ } > response.setStatus(501); > } > } >@@ -1329,6 +1337,10 @@ > if (http11 && (valueMB == null)) { > error = true; > // 400 - Bad request >+ if (log.isDebugEnabled()) { >+ log.debug(sm.getString("http11processor.request.prepare")+ >+ " host header missing"); >+ } > response.setStatus(400); > } >
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 41675
: 19634