Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

der: refactor Reader::read_nested #1474

Merged
merged 1 commit into from
Aug 18, 2024
Merged

Conversation

tarcieri
Copy link
Member

Gets rid of a provided method along with the NestedReader type, in order to fix #1228.

Instead, each reader must now implement its own strategy for nested reading.

@tarcieri tarcieri mentioned this pull request Aug 17, 2024
tarcieri added a commit that referenced this pull request Aug 17, 2024
Removes the internal buffer added in #839 in favor of just cloning the
`PemReader`'s state.

This is a partial step towards #1475 and would greatly simplify the
implementation of #1474.
tarcieri added a commit that referenced this pull request Aug 17, 2024
Removes the internal buffer added in #839 in favor of just cloning the
`PemReader`'s state.

This is a partial step towards #1475 and would greatly simplify the
implementation of #1474.
tarcieri added a commit that referenced this pull request Aug 17, 2024
Removes the internal buffer added in #839 in favor of just cloning the
`PemReader`'s state.

This is a partial step towards #1475 and would greatly simplify the
implementation of #1474.

Also reverts: "der: have `Reader::peek*` methods take `&mut self` (#1418)"

This reverts commit 42ec503.
@tarcieri tarcieri force-pushed the der/refactor-nested-reader branch 3 times, most recently from 7c85617 to 85034e1 Compare August 18, 2024 01:05
@tarcieri tarcieri requested a review from baloo August 18, 2024 01:06
Gets rid of a provided method along with the `NestedReader` type, in
order to fix #1228.

Instead, each reader must now implement its own strategy for nested
reading.
@tarcieri tarcieri force-pushed the der/refactor-nested-reader branch from 85034e1 to e27c484 Compare August 18, 2024 01:08
@tarcieri tarcieri marked this pull request as ready for review August 18, 2024 01:12
@tarcieri tarcieri changed the title [WIP] der: refactor Reader::read_nested der: refactor Reader::read_nested Aug 18, 2024
@tarcieri tarcieri merged commit e66188f into master Aug 18, 2024
106 checks passed
@tarcieri tarcieri deleted the der/refactor-nested-reader branch August 18, 2024 01:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

der: Huge generic bloat due to NestedReader
1 participant