Repository navigation
Commit 072e999
committed
core: Hard-code mark/reset as unsupported in LazyDecompressingInputStream
Decompression streams do not support mark/reset. Hard-code markSupported()
to return false, mark() as a no-op, and reset() to throw IOException so
they do not trigger lazy decompressor initialization.
TAG=agy
CONV=5c954ab1-4fdf-4f8f-94e0-4b76f2bb9d071 parent f237d2f commit 072e999
2 files changed
Lines changed: 6 additions & 14 deletions
File tree
- core/src
- main/java/io/grpc/internal
- test/java/io/grpc/internal
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
511 | 511 | | |
512 | 512 | | |
513 | 513 | | |
514 | | - | |
515 | | - | |
516 | | - | |
517 | | - | |
518 | | - | |
519 | | - | |
| 514 | + | |
520 | 515 | | |
521 | 516 | | |
522 | 517 | | |
523 | 518 | | |
524 | | - | |
525 | | - | |
| 519 | + | |
526 | 520 | | |
527 | 521 | | |
528 | 522 | | |
529 | 523 | | |
530 | | - | |
531 | | - | |
532 | | - | |
533 | | - | |
534 | | - | |
535 | | - | |
| 524 | + | |
536 | 525 | | |
537 | 526 | | |
538 | 527 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
593 | 593 | | |
594 | 594 | | |
595 | 595 | | |
| 596 | + | |
| 597 | + | |
| 598 | + | |
596 | 599 | | |
597 | 600 | | |
598 | 601 | | |
| |||
0 commit comments