• Poul-Henning Kamp's avatar
    If we get more HTTP headers than we have room for (default: 28) we · b5b2a29a
    Poul-Henning Kamp authored
    used to ignore the rest.
    
    This is not a bright solution if crucial HTTP headers like
    "Content-Length" or "Transfer-Encoding" are last and get ignored.
    
    In general, it is highly suspect to randomly ignore HTTP headers,
    as opposed to deliberately ignoring them, either by having first
    looked at them and found them uninteresting, or by having looked
    for the headers we care about, and having not matched some others.
    
    Change too many headers to firm error condition: 400 if from the
    client, and 503 (like every other trouble) if from the backend.
    
    Fixes #416
    
    
    
    git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@3498 d4fa192b-c00b-0410-8231-f00ffab90ce4
    b5b2a29a
v00416.vtc 1.65 KB