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

2017-01-11 Thread Willy Tarreau
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



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

2016-12-28 Thread Jarno Huuskonen
---
 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