https://issues.dlang.org/show_bug.cgi?id=16783
Aravinda <hallimanearav...@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |hallimanearav...@gmail.com --- Comment #6 from Aravinda <hallimanearav...@gmail.com> --- Easy to reproduce if URL is invalid or the server is down import std.net.curl, std.stdio; void main() { foreach (line; byLineAsync("dlang.org1")) writeln(line); } I think patch required to raise proper exception. --