DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=30770>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=30770

Crash on missing "user-agent" / compression enabled

           Summary: Crash on missing "user-agent" / compression enabled
           Product: Tomcat 5
           Version: 5.0.27
          Platform: All
        OS/Version: Linux
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Connector:HTTP
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


When accessing tomcat (in standalone mode and compression="on") the server
refuses to handle any request if there is no user-agent transferred.

In catalina.out there is an exception noted:

SCHWERWIEGEND: Error finishing response
java.lang.NullPointerException
        at
org.apache.coyote.http11.Http11Processor.isCompressable(Http11Processor.java:1379)
        at
org.apache.coyote.http11.Http11Processor.prepareResponse(Http11Processor.java:1441)
        at org.apache.coyote.http11.Http11Processor.action(Http11Processor.java:892)
        at org.apache.coyote.Response.action(Response.java:180)
        at
org.apache.coyote.http11.InternalOutputBuffer.endRequest(InternalOutputBuffer.java:388
        at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:836)
        at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http
        at
org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:577)
        at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683)
        at java.lang.Thread.run(Thread.java:536)

The problem can be reproduced with the "konqueror" browser, there is an option
not to send browser identification. If browser-identification is send everything
goes right, if the switch is changed the error does occurr.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to