differentiate the third 413 from the other two in httpd.

ok?

diff --git usr.sbin/httpd/server_http.c usr.sbin/httpd/server_http.c
index 153829f4201..bf3fae05414 100644
--- usr.sbin/httpd/server_http.c
+++ usr.sbin/httpd/server_http.c
@@ -1406,7 +1406,7 @@ server_response(struct httpd *httpd, struct client *clt)
 
        if (clt->clt_toread > 0 && (size_t)clt->clt_toread >
            srv_conf->maxrequestbody) {
-               server_abort_http(clt, 413, NULL);
+               server_abort_http(clt, 413, "request body too large");
                return (-1);
        }
 

Reply via email to