Merge branch 'master' of git.dolda2000.com:/srv/git/r/ashd
[ashd.git] / src / htparser.c
index 766d2f5..e6f545a 100644 (file)
@@ -319,7 +319,8 @@ void serve(FILE *in, struct conn *conn)
                if(recvchunks(in, out))
                    break;
            } else {
-               break;
+               /* Ignore rather than abort, to be kinder to broken clients. */
+               headrmheader(req, "content-type");
            }
        }
        if(fflush(out))