Changeset 28b41b


Ignore:
Timestamp:
2009-09-28 09:43:38 (5 years ago)
Author:
Tollef Fog Heen <tfheen@…>
Branches:
2.0, tags/varnish-2.0.5, tags/varnish-2.0.6
Children:
f18448e
Parents:
13a9be
git-author:
Tollef Fog Heen <tfheen@…> (2009-09-28 09:43:38)
git-committer:
Tollef Fog Heen <tfheen@…> (2009-09-28 09:43:38)
Message:

Merge r4030: 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/branches/2.0@4243 d4fa192b-c00b-0410-8231-f00ffab90ce4

Files:
3 edited

Legend:

Unmodified
Added
Removed
  • bin/varnishd/cache.h

    r6d87f6 r28b41b  
    5858#include "heritage.h" 
    5959#include "miniobj.h" 
    60  
    61 #define HTTP_HDR_MAX_VAL 32 
    6260 
    6361enum { 
  • configure.ac

    r94de03 r28b41b  
    361361AC_DEFINE_UNQUOTED([VCC_CC],"$VCC_CC",[C compiler command line for VCL code]) 
    362362 
     363# Define HTTP_HDR_MAX_VAL 
     364AC_ARG_WITH(max-header-fields, 
     365            AS_HELP_STRING([--with-max-header-fields=NUM], 
     366                           [How many header fields to support (default=32)]), 
     367            [], 
     368            [with_max_header_fields=32]) 
     369 
     370AC_DEFINE_UNQUOTED(HTTP_HDR_MAX_VAL, $with_max_header_fields, [Define maximum number of header fields supported by varnish ]) 
     371 
    363372# Use jemalloc on Linux 
    364373JEMALLOC_SUBDIR= 
  • lib/libvcl/vcc_fixed_token.c

    r6d87f6 r28b41b  
    325325        /* ../../include/vrt_obj.h */ 
    326326 
    327         vsb_cat(sb, "/*\n * $Id: vcc_gen_obj.tcl 3992 2009-03-23 12:50:04Z "); 
    328         vsb_cat(sb, "tfheen $\n *\n * NB:  This file is machine generated, "); 
    329         vsb_cat(sb, "DO NOT EDIT!\n *\n * Edit vcc_gen_obj.tcl instead\n"); 
     327        vsb_cat(sb, "/*\n * $Id$\n"); 
     328        vsb_cat(sb, " *\n * NB:  This file is machine generated, DO NOT EDI"); 
     329        vsb_cat(sb, "T!\n *\n * Edit vcc_gen_obj.tcl instead\n"); 
    330330        vsb_cat(sb, " */\n\nstruct sockaddr * VRT_r_client_ip(const struct "); 
    331331        vsb_cat(sb, "sess *);\nstruct sockaddr * VRT_r_server_ip(struct ses"); 
Note: See TracChangeset for help on using the changeset viewer.