[
https://issues.apache.org/jira/browse/AMQ-7419?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17047251#comment-17047251
]
ASF subversion and git services commented on AMQ-7419:
------------------------------------------------------
Commit 5a93c3482603188ee8c76a7bb50d87e2e87e7c0d in activemq's branch
refs/heads/activemq-5.15.x from jbonofre
[ https://gitbox.apache.org/repos/asf?p=activemq.git;h=5a93c34 ]
[AMQ-7419] Return 405 error code instead of 500 in case of maxFrameSize
exceeded on HTTP connector
(cherry picked from commit 0245a3d5c4595ddab2da38463ca7948b98d95c8f)
> In case of maxFrameSize exceeded, http connector should return 405 status
> code (not 500)
> ----------------------------------------------------------------------------------------
>
> Key: AMQ-7419
> URL: https://issues.apache.org/jira/browse/AMQ-7419
> Project: ActiveMQ
> Issue Type: Improvement
> Components: Connector
> Reporter: Jean-Baptiste Onofré
> Assignee: Jean-Baptiste Onofré
> Priority: Major
> Fix For: 5.16.0, 5.15.12
>
> Time Spent: 20m
> Remaining Estimate: 0h
>
> Currently, when the size exceeds the max allowed on the HTTP connector, we
> have a 500 status code (maxFrameSize exceeded).
> It would make more sense to return 405 (method not allowed) instead of 500
> (server error).
--
This message was sent by Atlassian Jira
(v8.3.4#803005)