Invalid Content Length Log Messages

Sometimes you may see the following types of messages in your log

java 2006-10-17 18:08:35,103 WARN log.mortbay.http.HttpConnection - <Invalid length: Content-Length=... written=... for ....>

It usually simply means that the connection has been closed before all the content was written. The client is allowed to do this.