https://bugs.winehq.org/show_bug.cgi?id=46140
Bug ID: 46140 Summary: .NET applications using 'WebRequest' API with MS .NET Framework crash when IPv4/6 is disabled in Linux kernel Product: Wine Version: 3.20 Hardware: x86-64 OS: Linux Status: NEW Severity: normal Priority: P2 Component: winsock Assignee: wine-bugs@winehq.org Reporter: focht@gmx.net Distribution: ---
Hello folks,
to track:
https://www.winehq.org/pipermail/wine-devel/2018-November/135021.html
Copy/pasta from mailing list, courtesy of Brendan McGrath
https://gist.github.com/redmcg/7d81ef833c77bee6965b5f441006f697
--- snip --- using System; using System.Net;
public class WRTest { public static void Main () { WebRequest req = WebRequest.Create("http://www.google.com"); HttpWebResponse resp = (HttpWebResponse) req.GetResponse(); Console.WriteLine(resp.StatusDescription); resp.Close(); } } --- snip ---
Microsoft Reference Source .NET Framework 4.x:
https://referencesource.microsoft.com/#System/net/System/Net/Sockets/Socket....
Regards