Commit fe9bf0d
committed
fix(sdk-java): 响应路由回归——pending reqId 优先匹配,请求帧才走 inbound
上提交把路由改成先判 isResponse 再查 pending,破坏了既有语义:
mock/旧对端可能用非标准响应 msgId(如 0x030106)回帧——先判类型
导致这类帧既不 signal pending 也不 dispatch,请求挂起超时
(TCPTransportEdgeTest 两例失败:idle read / malformed skip)。
恢复原顺序:按 pending reqId 匹配优先(不看 msgId 类型),未命中
且 isRequest 才 inbound 分发。全量 gradle test 通过。1 parent b9397da commit fe9bf0d
1 file changed
Lines changed: 8 additions & 8 deletions
Lines changed: 8 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
272 | 272 | | |
273 | 273 | | |
274 | 274 | | |
275 | | - | |
276 | | - | |
277 | | - | |
278 | | - | |
279 | | - | |
280 | | - | |
281 | | - | |
282 | | - | |
| 275 | + | |
| 276 | + | |
| 277 | + | |
| 278 | + | |
| 279 | + | |
| 280 | + | |
283 | 281 | | |
284 | 282 | | |
| 283 | + | |
| 284 | + | |
285 | 285 | | |
286 | 286 | | |
287 | 287 | | |
| |||
0 commit comments