about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2014-04-22 08:41:32 -0700
committerbors <bors@rust-lang.org>2014-04-22 08:41:32 -0700
commitc03d658f7e39b642cd7305d1319eeb473048111f (patch)
treebe75c87fa1365c364a6f47ff23198582967521b2 /src/rustllvm/RustWrapper.cpp
parent92f6b925a9df11d3f5d0090e91ad893b1932cda9 (diff)
parent5bfb260cf87b4907f885877d5ac4e819edb970db (diff)
downloadrust-c03d658f7e39b642cd7305d1319eeb473048111f.tar.gz
rust-c03d658f7e39b642cd7305d1319eeb473048111f.zip
auto merge of #13638 : alexcrichton/rust/fix-windows-tcp-timeout-bug, r=brson
When a uv_tcp_t is closed in libuv, it will still invoke the pending connect_cb,
and I thought that it would always call it with ECANCELED, but it turns out that
sometimes we'll get a different error code instead. Handle this case by checking
to see if the request's data is NULL and bail out if so (the timeout expired).
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions