mirror of
https://git.haproxy.org/git/haproxy.git/
synced 2025-09-22 14:21:25 +02: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,
|
unsigned int http_get_hdr(const struct http_msg *msg, const char *hname, int hlen,
|
||||||
struct hdr_idx *idx, int occ,
|
struct hdr_idx *idx, int occ,
|
||||||
struct hdr_ctx *ctx, char **vptr, int *vlen);
|
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);
|
struct http_txn *http_alloc_txn(struct stream *s);
|
||||||
void http_init_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.
|
* phase) and look for the "/" beginning the PATH. If not found, return NULL.
|
||||||
* It is returned otherwise.
|
* It is returned otherwise.
|
||||||
*/
|
*/
|
||||||
static char *
|
char *http_get_path(struct http_txn *txn)
|
||||||
http_get_path(struct http_txn *txn)
|
|
||||||
{
|
{
|
||||||
char *ptr, *end;
|
char *ptr, *end;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user