From: Willy Tarreau Date: Tue, 7 Jul 2009 06:56:15 +0000 (+0200) Subject: [CLEANUP] remove unused DEBUG_PARSE_NO_SPEEDUP define X-Git-Tag: v1.4-dev1~36 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=571ec98baaacd68205ada1cda898ae359a41bc83;p=thirdparty%2Fhaproxy.git [CLEANUP] remove unused DEBUG_PARSE_NO_SPEEDUP define This one has become useless with the new HTTP parser. --- diff --git a/Makefile b/Makefile index 61451c2c89..d5bd2fda09 100644 --- 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 diff --git a/src/proto_http.c b/src/proto_http.c index 86af03dfd6..77092e0240 100644 --- a/src/proto_http.c +++ b/src/proto_http.c @@ -60,20 +60,6 @@ #include #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"