On Sep 21, 2009, at 5:09 AM, Mattias Jiderhamn wrote:

> Is there any setting which would allow Resin to silently ignore
> connections that cause the following error?
>
> com.caucho.server.dispatch.BadRequestException: HTTP/1.1 requires host

That's not something Resin should do.  A HTTP/1.1 request without a  
host is incorrect and the client must be fixed.

However, if the issue is filling up the logs, we can certainly change  
the internal logging behavior.  It's the HTTP protocol response that  
needs to return the error.

-- Scott

>
>       at  
> com.caucho.server.http.HttpRequest.handleRequest(HttpRequest.java:261)
>       at  
> com 
> .caucho.server.port.TcpConnection.handleRequests(TcpConnection.java: 
> 579)
>       at com.caucho.server.port.TcpConnection 
> $AcceptTask.doAccept(TcpConnection.java:1357)
>       at com.caucho.server.port.TcpConnection 
> $KeepaliveTask.run(TcpConnection.java:1435)
>       at com.caucho.util.ThreadPool$PoolThread.runTasks(ThreadPool.java: 
> 874)
>       at com.caucho.util.ThreadPool$PoolThread.run(ThreadPool.java:787)
>
> -- 
>
>  </Mattias>
>
>
>
> _______________________________________________
> resin-interest mailing list
> resin-interest@caucho.com
> http://maillist.caucho.com/mailman/listinfo/resin-interest



_______________________________________________
resin-interest mailing list
resin-interest@caucho.com
http://maillist.caucho.com/mailman/listinfo/resin-interest

Reply via email to