| author | |
| committer | |
| log | 36173dcccf52f909ebb02f81ffcfc9e38f457a50 |
| tree | 47f82c1ddebfffde4ed69b2a7761582a0ee2f0a5 |
| parent | 71f6780c98c0f84668385a901bb591d19aa3944d |
If there were multiple potential messages to receive, and some
were received successfully before encountering an error, it should
report the count of succesful receives along with the error found
during the final attempt.1 files changed, 1 insertions(+), 1 deletions(-)
lib/std/Io/Threaded.zig+1-1| ... | ... | @@ -2887,7 +2887,7 @@ fn batchAwaitConcurrent(userdata: ?*anyopaque, b: *Io.Batch, timeout: Io.Timeout |
| 2887 | 2887 | try poll_storage.add(o.socket_handle, posix.POLL.IN | posix.POLL.ERR); |
| 2888 | 2888 | break :nb; |
| 2889 | 2889 | }, |
| 2890 | else => |e| break .{ e, 0 }, | |
| 2890 | else => |e| break .{ e, msg_i }, | |
| 2891 | 2891 | }; |
| 2892 | 2892 | data_i += msg.data.len; |
| 2893 | 2893 | } else .{ null, o.message_buffer.len } }; |