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

[wasm][http] WasmHttpMessageHandler StreamingEnabled default to false #17328

Merged
merged 1 commit into from Oct 16, 2019

Conversation

kjpou1
Copy link
Contributor

@kjpou1 kjpou1 commented Oct 15, 2019

Set default StreamingEnabled property of the WasmHttpMessageHandler to be false.

Due to the way that the javascript Fetch API works asynchronously the non asynchronous methods of the wrapped stream can not be used.

There are some API's such as the CsvHelper that do not implement an async API.

Setting the default implementation to false solves this issue as the read content is wrapped in a memory stream and is able to be used in those circumstances.

fixes #17343

Copy link
Member

@kg kg left a comment

Choose a reason for hiding this comment

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

It'd be good to have an explanation for why we're doing this in the commit/PR message.

@kjpou1
Copy link
Contributor Author

kjpou1 commented Oct 15, 2019

Yes, I will set up an issue.

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.

[wasm][http] Streaming - PNSE Synchronous reads are not supported
2 participants