diff options
Diffstat (limited to 'src/cli/tls_http_server.cpp')
-rw-r--r-- | src/cli/tls_http_server.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cli/tls_http_server.cpp b/src/cli/tls_http_server.cpp index 053f9e055..6b5cefab4 100644 --- a/src/cli/tls_http_server.cpp +++ b/src/cli/tls_http_server.cpp @@ -127,7 +127,7 @@ class HTTP_Parser headers[hdr_name] = hdr_val; if(headers.size() > 1024) - throw std::runtime_error("That's an awful lot of headers"); + throw Botan::Invalid_Argument("Too many HTTP headers sent in request"); } if(verb != "" && location != "") |