diff options
Diffstat (limited to 'server/protocol.c')
-rw-r--r-- | server/protocol.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/server/protocol.c b/server/protocol.c index 4f1c6e4c67..a0209715a2 100644 --- a/server/protocol.c +++ b/server/protocol.c @@ -726,6 +726,9 @@ static int read_request_line(request_rec *r, apr_bucket_brigade *bb) else if (APR_STATUS_IS_TIMEUP(rv)) { r->status = HTTP_REQUEST_TIME_OUT; } + else if (APR_STATUS_IS_BADARG(rv)) { + r->status = HTTP_BAD_REQUEST; + } else if (APR_STATUS_IS_EINVAL(rv)) { r->status = HTTP_BAD_REQUEST; } |