Commit 34a47937 authored by Tollef Fog Heen's avatar Tollef Fog Heen

Make HTTP_HDR_MAX_VAL a configure option

Thanks to "whocares" in the bts.

Fixes #455

git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@4030 d4fa192b-c00b-0410-8231-f00ffab90ce4
parent 6198e4eb
......@@ -58,8 +58,6 @@
#include "heritage.h"
#include "miniobj.h"
#define HTTP_HDR_MAX_VAL 32
enum {
/* Fields from the first line of HTTP proto */
HTTP_HDR_REQ,
......
......@@ -363,6 +363,15 @@ else
fi
AC_DEFINE_UNQUOTED([VCC_CC],"$VCC_CC",[C compiler command line for VCL code])
# Define HTTP_HDR_MAX_VAL
AC_ARG_WITH(max-header-fields,
AS_HELP_STRING([--with-max-header-fields=NUM],
[How many header fields to support (default=32)]),
[],
[with_max_header_fields=32])
AC_DEFINE_UNQUOTED(HTTP_HDR_MAX_VAL, $with_max_header_fields, [Define maximum number of header fields supported by varnish ])
# Use jemalloc on Linux
JEMALLOC_SUBDIR=
JEMALLOC_LDADD=
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment