]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
[CLEANUP] remove unused DEBUG_PARSE_NO_SPEEDUP define
authorWilly Tarreau <w@1wt.eu>
Tue, 7 Jul 2009 06:56:15 +0000 (08:56 +0200)
committerWilly Tarreau <w@1wt.eu>
Tue, 7 Jul 2009 06:56:15 +0000 (08:56 +0200)
This one has become useless with the new HTTP parser.

Makefile
src/proto_http.c

index 61451c2c89ff6394a532474f932be0b0fad59e70..d5bd2fda0917438f01c1a0d5d842f71fbfc9a29c 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -109,8 +109,7 @@ SMALL_OPTS =
 #### Debug settings
 # You can enable debugging on specific code parts by setting DEBUG=-DDEBUG_xxx.
 # Currently defined DEBUG macros include DEBUG_FULL, DEBUG_MEMORY, DEBUG_FSM,
-# DEBUG_HASH and DEBUG_PARSE_NO_SPEEDUP. Please consult sources for exact
-# meaning or do not use at all.
+# and DEBUG_HASH. Please check sources for exact meaning or do not use at all.
 DEBUG =
 
 #### Additional include and library dirs
index 86af03dfd6dc49f7e7c8e27abac581c78dc6cca9..77092e0240206e5d5de6740211c3770305306e6b 100644 (file)
 #include <libtcpsplice.h>
 #endif
 
-#define DEBUG_PARSE_NO_SPEEDUP
-#undef DEBUG_PARSE_NO_SPEEDUP
-
-/* This is used to perform a quick jump as an alternative to a break/continue
- * instruction. The first argument is the label for normal operation, and the
- * second one is the break/continue instruction in the no_speedup mode.
- */
-
-#ifdef DEBUG_PARSE_NO_SPEEDUP
-#define QUICK_JUMP(x,y) y
-#else
-#define QUICK_JUMP(x,y) goto x
-#endif
-
 /* This is used by remote monitoring */
 const char HTTP_200[] =
        "HTTP/1.0 200 OK\r\n"