MINOR: http: export http_get_path() function

This patch simply exports the http_get_path() function from the proto_http.c file.
This commit is contained in:
Thierry FOURNIER 2015-09-17 19:33:35 +02:00 committed by Willy Tarreau
parent 0efc94cbb4
commit 3c3317849f
2 changed files with 2 additions and 2 deletions

View File

@ -112,6 +112,7 @@ void http_capture_bad_message(struct error_snapshot *es, struct stream *s,
unsigned int http_get_hdr(const struct http_msg *msg, const char *hname, int hlen,
struct hdr_idx *idx, int occ,
struct hdr_ctx *ctx, char **vptr, int *vlen);
char *http_get_path(struct http_txn *txn);
struct http_txn *http_alloc_txn(struct stream *s);
void http_init_txn(struct stream *s);

View File

@ -986,8 +986,7 @@ enum http_meth_t find_http_meth(const char *str, const int len)
* phase) and look for the "/" beginning the PATH. If not found, return NULL.
* It is returned otherwise.
*/
static char *
http_get_path(struct http_txn *txn)
char *http_get_path(struct http_txn *txn)
{
char *ptr, *end;