diff --git a/examples/errorfiles/500.http b/examples/errorfiles/500.http index bb121e82a..ebf7d47f1 100644 --- a/examples/errorfiles/500.http +++ b/examples/errorfiles/500.http @@ -1,9 +1,9 @@ -HTTP/1.0 500 Server Error +HTTP/1.0 500 Internal Server Error Cache-Control: no-cache Connection: close Content-Type: text/html -

500 Server Error

+

500 Internal Server Error

An internal server error occured. diff --git a/src/hlua.c b/src/hlua.c index 35fb71789..bfb9c9418 100644 --- a/src/hlua.c +++ b/src/hlua.c @@ -216,12 +216,12 @@ struct hlua_mem_allocator { static struct hlua_mem_allocator hlua_global_allocator; static const char error_500[] = - "HTTP/1.0 500 Server Error\r\n" + "HTTP/1.0 500 Internal Server Error\r\n" "Cache-Control: no-cache\r\n" "Connection: close\r\n" "Content-Type: text/html\r\n" "\r\n" - "

500 Server Error

\nAn internal server error occured.\n\n"; + "

500 Internal Server Error

\nAn internal server error occured.\n\n"; /* These functions converts types between HAProxy internal args or * sample and LUA types. Another function permits to check if the diff --git a/src/proto_http.c b/src/proto_http.c index f7f754510..8bc1636cf 100644 --- a/src/proto_http.c +++ b/src/proto_http.c @@ -196,12 +196,12 @@ static const char *http_err_msgs[HTTP_ERR_SIZE] = { "

429 Too Many Requests

\nYou have sent too many requests in a given amount of time.\n\n", [HTTP_ERR_500] = - "HTTP/1.0 500 Server Error\r\n" + "HTTP/1.0 500 Internal Server Error\r\n" "Cache-Control: no-cache\r\n" "Connection: close\r\n" "Content-Type: text/html\r\n" "\r\n" - "

500 Server Error

\nAn internal server error occured.\n\n", + "

500 Internal Server Error

\nAn internal server error occured.\n\n", [HTTP_ERR_502] = "HTTP/1.0 502 Bad Gateway\r\n"