CLEANUP: http: remove some leftovers from recent cleanups
The prototypes of functions find_hdr_value_end(), extract_cookie_value()
and http_header_match2() were still in proto_http.h while some of them
don't exist anymore and the others were just moved. Let's remove them.
In addition, da.c was updated to use http_extract_cookie_value() which
is the correct one.
diff --git a/src/da.c b/src/da.c
index c653848..990267a 100644
--- a/src/da.c
+++ b/src/da.c
@@ -2,6 +2,7 @@
#include <common/cfgparse.h>
#include <common/errors.h>
+#include <common/http.h>
#include <proto/arg.h>
#include <proto/http_fetch.h>
#include <proto/log.h>
@@ -335,7 +336,7 @@
* The cookie value, if it exists, is located between the current header's
* value position and the next one
*/
- if (extract_cookie_value(pval, eval, global_deviceatlas.cookiename,
+ if (http_extract_cookie_value(pval, eval, global_deviceatlas.cookiename,
global_deviceatlas.cookienamelen, 1, &p, &pl) == NULL) {
continue;
}