From: florian Date: Thu, 9 Apr 2015 16:48:29 +0000 (+0000) Subject: Revert previous as this breaks stuff. X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=d9f7a923655a4054fb5e916a3a090478aa70cb8b;p=openbsd Revert previous as this breaks stuff. I fscked up the testing, sorry! Found the hard way by jsg@ --- diff --git a/usr.sbin/httpd/server_http.c b/usr.sbin/httpd/server_http.c index 975f8788759..eb47331930e 100644 --- a/usr.sbin/httpd/server_http.c +++ b/usr.sbin/httpd/server_http.c @@ -1,4 +1,4 @@ -/* $OpenBSD: server_http.c,v 1.76 2015/04/08 19:39:29 florian Exp $ */ +/* $OpenBSD: server_http.c,v 1.77 2015/04/09 16:48:29 florian Exp $ */ /* * Copyright (c) 2006 - 2015 Reyk Floeter @@ -339,11 +339,6 @@ server_read_http(struct bufferevent *bev, void *arg) * the carriage return? And some browsers seem to * include the line length in the content-length. */ - if (clt->clt_toread != 0) { - /* We already read Content-Length */ - server_abort_http(clt, 400, errstr); - goto abort; - } clt->clt_toread = strtonum(value, 0, LLONG_MAX, &errstr); if (errstr) {