Repository navigation
Commit c6cd8f5
committed
binder: Don't report onReady() for a closed Inbound
Inbound.onTransportReady() unconditionally forwarded onReady() to the
listener, so flow control unblocking concurrently with a close could
invoke onReady() after closed(), which must be the listener's final
callback.
Only skip the listener, not the Outbound: a server stream's close may
still be sitting in its Outbound waiting for the transmit window to
open.1 parent 98fe45a commit c6cd8f5
2 files changed
Lines changed: 20 additions & 1 deletion
File tree
- binder/src
- main/java/io/grpc/binder/internal
- test/java/io/grpc/binder/internal
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
313 | 313 | | |
314 | 314 | | |
315 | 315 | | |
| 316 | + | |
| 317 | + | |
| 318 | + | |
| 319 | + | |
| 320 | + | |
| 321 | + | |
316 | 322 | | |
317 | | - | |
318 | 323 | | |
319 | 324 | | |
320 | 325 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
410 | 410 | | |
411 | 411 | | |
412 | 412 | | |
| 413 | + | |
| 414 | + | |
| 415 | + | |
| 416 | + | |
| 417 | + | |
| 418 | + | |
| 419 | + | |
| 420 | + | |
| 421 | + | |
| 422 | + | |
| 423 | + | |
| 424 | + | |
| 425 | + | |
| 426 | + | |
413 | 427 | | |
414 | 428 | | |
415 | 429 | | |
| |||
0 commit comments