From 571ec98baaacd68205ada1cda898ae359a41bc83 Mon Sep 17 00:00:00 2001 From: Willy Tarreau Date: Tue, 7 Jul 2009 08:56:15 +0200 Subject: [PATCH] [CLEANUP] remove unused DEBUG_PARSE_NO_SPEEDUP define This one has become useless with the new HTTP parser. --- Makefile | 3 +-- src/proto_http.c | 14 -------------- 2 files changed, 1 insertion(+), 16 deletions(-) diff --git a/Makefile b/Makefile index 61451c2c8..d5bd2fda0 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 86af03dfd..77092e024 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"