You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2022/08/22 07:34:06 UTC

[Bug 66233] New: when set maxCookieCount 1, request has 5 cookies, the response message is "null"

https://bz.apache.org/bugzilla/show_bug.cgi?id=66233

            Bug ID: 66233
           Summary: when set maxCookieCount 1, request has 5 cookies, the
                    response message is "null"
           Product: Tomcat 10
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: minor
          Priority: P2
         Component: Connectors
          Assignee: dev@tomcat.apache.org
          Reporter: xyzhu88yong@gmail.com
  Target Milestone: ------

when set maxheadersize 1, and I request 5 headers.
then response is 
```
{
 "type":Exception Report",
 "message":"More than the maximum allowed number of headers,[1], were
detected.",
 "description":"The server cannot or will not process the request due to
something that is perceived to be a client error (e.g., malformed request
syntax, invalid request message framing, or deceptive request rounting)."
} 
```

In my mind, when out of maximum allowed number of cookies.
We need response the definite response message to tell developer or user, how
to fix the client error.

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


[Bug 66233] when set maxCookieCount 1, request has 5 cookies, the response message is "null"

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=66233

yong hu <xy...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |xyzhu88yong@gmail.com

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


[Bug 66233] when set maxCookieCount 1, request has 5 cookies, the response message is "null"

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=66233

--- Comment #1 from Han Li <ao...@gmail.com> ---
Sounds great. Thanks for your feedback.

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


[Bug 66233] when set maxCookieCount 1, request has 5 cookies, the response message is "null"

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=66233

Mark Thomas <ma...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
             Status|NEW                         |RESOLVED

--- Comment #2 from Mark Thomas <ma...@apache.org> ---
Fixed in:
- 10.1.x for 10.1.0-M18 onwards
- 10.0.x for 10.0.24 onwards
-  9.0.x for  9.0.66 onwards
-  8.5.x for  8.5.83 onwards

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org