MEDIUM: http_error_message: txn->status / http_get_status_idx.
authorJarno Huuskonen <jarno.huuskonen@uef.fi>
Mon, 6 Mar 2017 12:21:49 +0000 (14:21 +0200)
committerWilly Tarreau <w@1wt.eu>
Tue, 14 Mar 2017 09:41:41 +0000 (10:41 +0100)
commit9e6906b9ecdf8e4c40c3194f7bea83ebbfdd995d
tree70d6d05363b02514b836e81ff391cba3b159a256
parent50c8044423c384d858b24463d9ff6f4591b03beb
MEDIUM: http_error_message: txn->status / http_get_status_idx.

This commit removes second argument(msgnum) from http_error_message and
changes http_error_message to use s->txn->status/http_get_status_idx for
mapping status code from 200..504 to HTTP_ERR_200..HTTP_ERR_504(enum).

This is needed for http-request tarpit deny_status commit.
include/proto/proto_http.h
src/filters.c
src/proto_http.c