mirror of
https://git.haproxy.org/git/haproxy.git/
synced 2025-12-04 09:11:02 +01:00
CLEANUP: http: Remove the unused function http_find_header
This commit is contained in:
parent
31f04e4416
commit
66943a4903
@ -333,13 +333,6 @@ int http_find_header2(const char *name, int len,
|
|||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
int http_find_header(const char *name,
|
|
||||||
char *sol, struct hdr_idx *idx,
|
|
||||||
struct hdr_ctx *ctx)
|
|
||||||
{
|
|
||||||
return http_find_header2(name, strlen(name), sol, idx, ctx);
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Remove one value of a header. This only works on a <ctx> returned by one of
|
/* Remove one value of a header. This only works on a <ctx> returned by one of
|
||||||
* the http_find_header functions. The value is removed, as well as surrounding
|
* the http_find_header functions. The value is removed, as well as surrounding
|
||||||
* commas if any. If the removed value was alone, the whole header is removed.
|
* commas if any. If the removed value was alone, the whole header is removed.
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user