Commit 79c0a02
[ruby/rubygems] Use IO.copy_stream to drain remaining gzip data instead of read
Replace gzio.read with IO.copy_stream(gzio, IO::NULL) to avoid
allocating a potentially large string when discarding unconsumed
compressed data.
ruby/rubygems@e4d0196887
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent 9233eae commit 79c0a02
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
561 | 561 | | |
562 | 562 | | |
563 | 563 | | |
564 | | - | |
| 564 | + | |
565 | 565 | | |
566 | 566 | | |
567 | 567 | | |
| |||
0 commit comments