yfliuas opened a new issue #2630:
URL: https://github.com/apache/servicecomb-java-chassis/issues/2630


   项目中包含多个handler+HttpServerFilter,大致:
   A-handler --> B-handler --> C-handler --> D-httpServerFilter --> 业务代码 --> 
D-httpServerFilter
   我们需要在A-handler失败之后,直接返回形如 413 xxxerror的错误码。
   
   在handler中直接调用如下代码,预期B-handler之后的handler应该不会执行:
   `
   asyncResponse.consumerFail(new InvocationException(413, "forbidden", 
"request error"));
   `
   调用如下代码,预期走下一个handler:
   `
   invocation.next(asyncResponse);
   `
   
   发现在A-handler调用consumerFail之后,依然走了B-handler的逻辑,请问从Servicecomb预期应该怎么样
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to