Linux appears to set POLLOUT when a conection's refused, which is pretty weird. Invert the check to look for an error explicitly. Also add an explict test for this case. Closes #45265. |
||
|---|---|---|
| .. | ||
| addr.rs | ||
| ip.rs | ||
| mod.rs | ||
| parser.rs | ||
| tcp.rs | ||
| test.rs | ||
| udp.rs | ||
Linux appears to set POLLOUT when a conection's refused, which is pretty weird. Invert the check to look for an error explicitly. Also add an explict test for this case. Closes #45265. |
||
|---|---|---|
| .. | ||
| addr.rs | ||
| ip.rs | ||
| mod.rs | ||
| parser.rs | ||
| tcp.rs | ||
| test.rs | ||
| udp.rs | ||