projects
/
platform
/
upstream
/
nodejs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
580e670
)
uv: upgrade to 0db3274
author
Ben Noordhuis
<info@bnoordhuis.nl>
Tue, 6 Dec 2011 17:09:43 +0000
(18:09 +0100)
committer
Ben Noordhuis
<info@bnoordhuis.nl>
Tue, 6 Dec 2011 21:02:26 +0000
(22:02 +0100)
deps/uv/src/unix/stream.c
patch
|
blob
|
history
diff --git
a/deps/uv/src/unix/stream.c
b/deps/uv/src/unix/stream.c
index
2573781
..
035e638
100644
(file)
--- a/
deps/uv/src/unix/stream.c
+++ b/
deps/uv/src/unix/stream.c
@@
-341,6
+341,13
@@
static void uv__write(uv_stream_t* stream) {
int iovcnt;
ssize_t n;
+ if (stream->flags & UV_CLOSING) {
+ /* Handle was closed this tick. We've received a stale
+ * 'is writable' callback from the event loop, ignore.
+ */
+ return;
+ }
+
start:
assert(stream->fd >= 0);