From 127169e7f5d76e0c701da315299c77f07faafb07 Mon Sep 17 00:00:00 2001 From: Thierry FOURNIER Date: Fri, 18 Sep 2015 17:59:23 +0200 Subject: [PATCH] MINOR: http: export the get_reason() function This patch exports the get_reason() function. --- include/proto/proto_http.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/proto/proto_http.h b/include/proto/proto_http.h index dfa094ac1..7622cb595 100644 --- a/include/proto/proto_http.h +++ b/include/proto/proto_http.h @@ -113,6 +113,7 @@ unsigned int http_get_hdr(const struct http_msg *msg, const char *hname, int hle struct hdr_idx *idx, int occ, struct hdr_ctx *ctx, char **vptr, int *vlen); char *http_get_path(struct http_txn *txn); +const char *get_reason(unsigned int status); struct http_txn *http_alloc_txn(struct stream *s); void http_init_txn(struct stream *s);