Welcome! Log In Create A New Profile

Advanced

[PATCH] MINOR: proto_http.c 502 error txt typo.

Posted by Jarno Huuskonen 
Jarno Huuskonen
[PATCH] MINOR: proto_http.c 502 error txt typo.
December 28, 2016 06:40PM
---
src/proto_http.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/proto_http.c b/src/proto_http.c
index aa8d997..d804e60 100644
--- a/src/proto_http.c
+++ b/src/proto_http.c
@@ -343,7 +343,7 @@ const char *get_reason(unsigned int status)
case 499: return "client has closed connection";
case 500: return "Internal Server Error";
case 501: return "Not Implemented";
- case 502: return "Bad Gateway ou Proxy Error";
+ case 502: return "Bad Gateway or Proxy Error";
case 503: return "Service Unavailable";
case 504: return "Gateway Time-out";
case 505: return "HTTP Version not supported";
--
1.8.3.1
Willy Tarreau
Re: [PATCH] MINOR: proto_http.c 502 error txt typo.
January 11, 2017 12:40PM
On Wed, Dec 28, 2016 at 10:49:01AM +0200, Jarno Huuskonen wrote:
> ---
> src/proto_http.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/src/proto_http.c b/src/proto_http.c
> index aa8d997..d804e60 100644
> --- a/src/proto_http.c
> +++ b/src/proto_http.c
> @@ -343,7 +343,7 @@ const char *get_reason(unsigned int status)
> case 499: return "client has closed connection";
> case 500: return "Internal Server Error";
> case 501: return "Not Implemented";
> - case 502: return "Bad Gateway ou Proxy Error";
> + case 502: return "Bad Gateway or Proxy Error";

Good catch. Applied, thanks.

Willy
Sorry, only registered users may post in this forum.

Click here to login