Skip to content

Changes for new iron version 0.7 with hyper 0.12 and removed limit_reader#82

Open
zgtm wants to merge 2 commits intoiron:masterfrom
zgtm:0.9.0-pre
Open

Changes for new iron version 0.7 with hyper 0.12 and removed limit_reader#82
zgtm wants to merge 2 commits intoiron:masterfrom
zgtm:0.9.0-pre

Conversation

@zgtm
Copy link

@zgtm zgtm commented Feb 11, 2019

This PR reflects that irons request body no longer implements the Read trait (due to hyper using futures, now) and uses the helper function iron::request::get_body_contents() instead.

Because of that, the LimitReader trait is no longer of use here. Instead, one should explore the possibility to implement limited reading in iron::request::get_body_contents() instead.

@zgtm zgtm requested a review from phlmn February 11, 2019 22:29
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.

1 participant