[MAJOR] ported requri to use mempools v2
diff --git a/include/common/memory.h b/include/common/memory.h
index 0f142f0..c50ab9a 100644
--- a/include/common/memory.h
+++ b/include/common/memory.h
@@ -27,7 +27,6 @@
#include <common/config.h>
#include <common/mini-clist.h>
-#define sizeof_requri REQURI_LEN
#define sizeof_capture CAPTURE_LEN
/*
* Returns a pointer to an area of <__len> bytes taken from the pool <pool> or
diff --git a/include/proto/log.h b/include/proto/log.h
index 4ed56dd..1a02ec1 100644
--- a/include/proto/log.h
+++ b/include/proto/log.h
@@ -27,10 +27,13 @@
#include <syslog.h>
#include <common/config.h>
+#include <common/memory.h>
#include <types/log.h>
#include <types/proxy.h>
#include <types/session.h>
+extern struct pool_head *pool2_requri;
+
/*
* Displays the message on stderr with the date and pid. Overrides the quiet
* mode during startup.
diff --git a/include/types/log.h b/include/types/log.h
index dc04e65..12f8e27 100644
--- a/include/types/log.h
+++ b/include/types/log.h
@@ -44,8 +44,6 @@
#define LW_REQHDR 1024 /* request header(s) */
#define LW_RSPHDR 2048 /* response header(s) */
-extern void **pool_requri;
-
#endif /* _TYPES_LOG_H */