[ 
https://issues.apache.org/jira/browse/TS-3814?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14653989#comment-14653989
 ] 

Leif Hedstrom edited comment on TS-3814 at 8/4/15 5:23 PM:
-----------------------------------------------------------

[~masaori] [~rokubo] Any thoughts on my comment?


Also, I see other places like e.g.

{code}
    if ((name_len == MIME_LEN_CONNECTION && strncasecmp(name, 
MIME_FIELD_CONNECTION, name_len) == 0) ||
        (name_len == MIME_LEN_KEEP_ALIVE && strncasecmp(name, 
MIME_FIELD_KEEP_ALIVE, name_len) == 0) ||
        (name_len == MIME_LEN_PROXY_CONNECTION && strncasecmp(name, 
MIME_FIELD_PROXY_CONNECTION, name_len) == 0) ||
        (name_len == MIME_LEN_TRANSFER_ENCODING && strncasecmp(name, 
MIME_FIELD_TRANSFER_ENCODING, name_len) == 0) ||
        (name_len == MIME_LEN_UPGRADE && strncasecmp(name, MIME_FIELD_UPGRADE, 
name_len) == 0)) {
{code}

which, assuming the header object is properly setup, should be WKS's as well, 
no?


was (Author: zwoop):
[~masaori] [~rokubo] Any thoughts on my comment?

> Treat requests with Connection header field as malformed
> --------------------------------------------------------
>
>                 Key: TS-3814
>                 URL: https://issues.apache.org/jira/browse/TS-3814
>             Project: Traffic Server
>          Issue Type: Bug
>          Components: HTTP/2
>            Reporter: Ryo Okubo
>             Fix For: 6.0.0
>
>         Attachments: sec8_1_2_2.patch
>
>
> According to [Section 8.1.2.2 in 
> RFC7540|https://tools.ietf.org/html/rfc7540#section-8.1.2.2], H2 requests 
> with Connection header field should be treated as malformed. But current ATS 
> passes them.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to