Commit 32d1158
authored
Cleanup code to make stacktrace less confusing (#796)
Motivation:
5dade1f introduced a change that did
prevent the Channel to be closed if a STREAM_STOPPED frame was received
but did not change the name of the method from forceClose(...) to
something else. This makes the stacktrace quite confusing as while the
method is called forceClose(...) it actually might not close the
channel.
Modifications:
- Move all the logic into the writable(...) method and so make things
less confusing
Result:
Less confusing stacktrace for failed writes1 parent d03b508 commit 32d1158
File tree
2 files changed
+23
-31
lines changed- codec-classes-quic/src/main/java/io/netty/incubator/codec/quic
2 files changed
+23
-31
lines changedLines changed: 1 addition & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1087 | 1087 | | |
1088 | 1088 | | |
1089 | 1089 | | |
1090 | | - | |
1091 | | - | |
1092 | | - | |
1093 | | - | |
| 1090 | + | |
1094 | 1091 | | |
1095 | 1092 | | |
1096 | 1093 | | |
| |||
Lines changed: 22 additions & 27 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
410 | 410 | | |
411 | 411 | | |
412 | 412 | | |
413 | | - | |
| 413 | + | |
414 | 414 | | |
415 | 415 | | |
416 | 416 | | |
| 417 | + | |
| 418 | + | |
| 419 | + | |
| 420 | + | |
| 421 | + | |
| 422 | + | |
| 423 | + | |
| 424 | + | |
| 425 | + | |
| 426 | + | |
| 427 | + | |
| 428 | + | |
| 429 | + | |
| 430 | + | |
| 431 | + | |
| 432 | + | |
| 433 | + | |
| 434 | + | |
| 435 | + | |
| 436 | + | |
| 437 | + | |
417 | 438 | | |
418 | 439 | | |
419 | 440 | | |
| |||
428 | 449 | | |
429 | 450 | | |
430 | 451 | | |
431 | | - | |
432 | | - | |
433 | | - | |
434 | | - | |
435 | | - | |
436 | | - | |
437 | | - | |
438 | | - | |
439 | | - | |
440 | | - | |
441 | | - | |
442 | | - | |
443 | | - | |
444 | | - | |
445 | | - | |
446 | | - | |
447 | | - | |
448 | | - | |
449 | | - | |
450 | 452 | | |
451 | 453 | | |
452 | 454 | | |
| |||
459 | 461 | | |
460 | 462 | | |
461 | 463 | | |
462 | | - | |
463 | | - | |
464 | | - | |
465 | | - | |
466 | | - | |
467 | | - | |
468 | | - | |
469 | 464 | | |
470 | 465 | | |
471 | 466 | | |
| |||
0 commit comments