Not picking up linux binary for System.Net.Http.dll #2703
Comments
Where would this assembly be loaded from instead? Is it special casing for Linux? And for OS X too? |
⌚ |
Since at the moment we embed System.Net.Http in the DNX, we'd place it in the DNX runtime folder. |
This could probably be fixed if we copy the dll to the bin folder as well as keep it in the Tooling folder |
Yes, I think we should do that. |
Hey gentles, Is there anything I am missing? Thank you! |
Is the response compressed? I wonder if the Linux client isn't auto-decompressing. |
Yes, the response is compressed. The header returns when GetAsync to google.com: But even I tried removing the compression or decompress after getting the content I still not getting anything. You can find the source code at https://www.dropbox.com/sh/iukr2l4elcqp77k/AACXrYXo2rrcc4PCn9taJGhaa?dl=0 Thank you for your continue helps! |
@BrennanConroy have you seen any issues like this? Are there any similar corefx bugs outstanding? |
I haven't tried anything like this, the client may have more features now, especially since we haven't tried a new one in a couple weeks. We should try this when we grab the new bits. |
Fixed with the latest CoreCLR bits, waiting for a build to go through on our side. |
Fixed by a few different changes, wont list them all here, but one is a64c8d5 |
aspnet/Security#415
Dnx embeds the coreclr binaries for linux/mac, including System.Net.Http. Security also uses System.Net.Http, but the package only contains the windows binaries. @davidfowl said that dnx should load the linux binary for you, but that the directory structure is wrong so it doesn't work right now. Fix it.
Eventually the coreclr packages will contain both windows and linux binaries.
@BrennanConroy
The text was updated successfully, but these errors were encountered: