-
-
Save bnoordhuis/4dc9cb24d80cf569c040 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/src/unix_dgram.cc b/src/unix_dgram.cc | |
index 3201b0a..c86edbd 100644 | |
--- a/src/unix_dgram.cc | |
+++ b/src/unix_dgram.cc | |
@@ -113,6 +113,7 @@ void OnRecv(uv_poll_t* handle, int status, int events) { | |
SetErrno(errno); | |
goto err; | |
} | |
+ fprintf(stderr, "ioctl(FIONREAD) = %d\n", size); | |
buf = Buffer::New(size); | |
argv[1] = buf->handle_; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment