• Dridi Boukelmoune's avatar
    http2: Don't send resp connection-specific headers · 9210c468
    Dridi Boukelmoune authored
    Some browsers are strict about this and simply drop responses containing
    such headers. Since this is not filtering a context switch between a
    client and a backend transaction (or cache hit) a new filtering flag is
    added to the HTTP headers table for connection-specific headers. This
    new flag cannot be compounded as HTTPH_R_FETCH|HTTPH_A_INS because the
    TE header is an exception and left alone, even though trailers aren't
    supported.
    
    Better diff with the --ignore-all-space option.
    
    We could go further and consider any client request containing one as
    malformed as mandated by RFC 7540.
    
    Closes #3416
    9210c468
http_headers.h 4.98 KB