Skip to content

WIP: servant-http-streams #1117

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

Merged
merged 2 commits into from
Feb 7, 2019
Merged

WIP: servant-http-streams #1117

merged 2 commits into from
Feb 7, 2019

Conversation

phadej
Copy link
Contributor

@phadej phadej commented Feb 5, 2019

No description provided.

@phadej phadej requested a review from alpmestan February 5, 2019 21:52
input = ["foo", "", "bar"]
output = ["foo", "bar"]

{-
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

just temporarily commented out? or is it a way to tag this as something to revisit later?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

that test isn't enabled for servant-client either, I'll delete it from servant-http-streams though. I really don't know how one could test constant memory usage. Maybe something like weigh; dunno.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

OK, then yes I'd suggest to remove this or alternatively explain why it's commented out right at the beginning of the comment, as you prefer. (depends on how likely we are to revisit the constant-memory testing)

Copy link
Contributor

@alpmestan alpmestan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great!

- Rename GenResponse to ResponseF (analogous to RequestF)
- add NFData Headers
- Make Request and Response bodies be SourceIO,
  i.e. move conversions into specific implementations
@phadej phadej force-pushed the servant-http-streams branch from 0b9a231 to b44335a Compare February 6, 2019 10:15
@phadej
Copy link
Contributor Author

phadej commented Feb 6, 2019

Rewrote history, to make it clearer what happened

@phadej phadej merged commit ccaa73f into master Feb 7, 2019
@phadej phadej deleted the servant-http-streams branch February 7, 2019 10:58
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.

2 participants