public void testIgnoreInvalidKeepAlive() throws Exception {
BasicHttpEntity entity = new BasicHttpEntity();
entity.setChunked(false);
entity.setContentLength(-1);
StatusLine statusline = new StatusLine(HttpVersion.HTTP_1_0, 200, "OK");
HttpResponse response = new BasicHttpResponse(statusline);
response.addHeader(new Header("Connection", "keep-alive"));
response.setEntity(entity);
ConnectionReuseStrategy s = new DefaultConnectionReuseStrategy();