lx20091901 opened a new issue, #10608:
URL: https://github.com/apache/dubbo/issues/10608

   <!-- If you need to report a security issue please visit 
https://github.com/apache/dubbo/security/policy -->
   
   - [√] I have searched the [issues](https://github.com/apache/dubbo/issues) 
of this repository and believe that this is not a duplicate.
   
   ### Environment
   
   * Dubbo version: 3.0.11
   * Operating System version: win11
   * Java version: 1.8
   
   ### Steps to reproduce this issue
   
   1. 启动参数将Dubbo线程池数设置为1,-Ddubbo.protocols.dubbo.threads=1
   2. RpcContext.startAsync开启异步,并且在AsyncContext.wriet之前做耗时操作
   3. 在第一次响应返回之前发起第二次请求
   
   Pls. provide [GitHub address] to reproduce this issue.
   
   ### Expected Behavior
   
   两次请求都能收到正确的响应
   
   ### Actual Behavior
   
   由于两次拿到了一样的AsyncContext,在第一次请求响应之后,第二次抛出异常,无法正常返回
   
![lQLPJxauosRpZnjNAeLNAviwjDYWI0qmFKcDHzCKkMDVAA_760_482](https://user-images.githubusercontent.com/6487236/189877919-364c4aea-67d0-4f8b-a0b1-0ff483bea42d.png)
   
![image](https://user-images.githubusercontent.com/6487236/189878314-048c561d-1f0e-463f-a378-2fb2a564e819.png)
   
   


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


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to