mirror of
http://git.haproxy.org/git/haproxy.git/
synced 2025-04-18 13:05:38 +00:00
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:
parent
0efc94cbb4
commit
3c3317849f
@ -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);
|
||||
|
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user