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

ASF subversion and git services commented on AMQ-7419:
------------------------------------------------------

Commit 46148e3dd153b3ca9bc459412c69f188e4bdc3ed in activemq's branch 
refs/heads/master from Jean-Baptiste Onofré
[ https://gitbox.apache.org/repos/asf?p=activemq.git;h=46148e3 ]

Merge pull request #472 from jbonofre/AMQ-7419

[AMQ-7419] Return 405 error code instead of 500 in case of maxFrameSize 
exceeded on HTTP connector

> 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)

Reply via email to