| ... | @@ -316,9 +316,7 @@ const Eval = struct { | ... | @@ -316,9 +316,7 @@ const Eval = struct { |
| 316 | while (true) { | 316 | while (true) { |
| 317 | const header = client.receiveMessageWithMultiReader(mr, .none) catch |err| switch (err) { | 317 | const header = client.receiveMessageWithMultiReader(mr, .none) catch |err| switch (err) { |
| 318 | error.Timeout => unreachable, | 318 | error.Timeout => unreachable, |
| 319 | // If this panic triggers it might be helpful to rework this | 319 | error.EndOfStream => break, |
| 320 | // code to print the stderr from the abnormally terminated child. | | |
| 321 | error.EndOfStream => @panic("unexpected mid-message end of stream"), | | |
| 322 | else => |e| return e, | 320 | else => |e| return e, |
| 323 | }; | 321 | }; |
| 324 | const body = client.in.take(header.bytes_len) catch unreachable; | 322 | const body = client.in.take(header.bytes_len) catch unreachable; |