]> git.lizzy.rs Git - rust.git/commit
auto merge of #16942 : alexcrichton/rust/remove-net-assert, r=brson
authorbors <bors@rust-lang.org>
Sun, 7 Sep 2014 23:01:34 +0000 (23:01 +0000)
committerbors <bors@rust-lang.org>
Sun, 7 Sep 2014 23:01:34 +0000 (23:01 +0000)
commitaaf141d399097d0ea84288b9ad1dc842a6158a5c
tree11b71ddf3893b8aec7c3047485cf7adfb07c1335
parent19dc574890c42a4e87665276d4cff1f69ca13e21
parent2ec7bb8756a449ce4c99c0ac829be9c79c1c3992
auto merge of #16942 : alexcrichton/rust/remove-net-assert, r=brson

This assert was likely inherited from some point, but it's not quite valid as a
no-timeout read may enter this loop, but data could be stolen by any other read
after the socket is deemed readable.

I saw this fail in a recent bors run where the assertion was tripped.
src/libnative/io/net.rs