]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
CLEANUP: http: Remove the unused function http_find_header
authorChristopher Faulet <cfaulet@haproxy.com>
Mon, 22 Oct 2018 07:13:31 +0000 (09:13 +0200)
committerWilly Tarreau <w@1wt.eu>
Tue, 23 Oct 2018 08:22:36 +0000 (10:22 +0200)
src/proto_http.c

index 1c1b24b90027f532f2cb528c919b6a4cba426706..e0ae82ee907cf18d13b27dd6c4454eee561dc17d 100644 (file)
@@ -333,13 +333,6 @@ int http_find_header2(const char *name, int len,
        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
  * 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.