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
#ifdef EAGAIN | |
ERRNO_CASE(EAGAIN); | |
#else | |
# ifdef EWOULDBLOCK | |
ERRNO_CASE(EWOULDBLOCK); | |
# endif | |
#endif |
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
select(0x11, 0x108E438, 0x108E538, 0x0, 0xB01D4AA0) = 1 0 | |
accept(0x10, 0xB01D4A40, 0xB01D4A38) = 17 0 | |
fcntl(0x11, 0x3, 0x0) = 6 0 | |
fcntl(0x11, 0x4, 0x6) = 0 0 | |
getsockopt(0x10, 0x6, 0x1) = 0 0 | |
getsockopt(0x10, 0xFFFF, 0x8) = 0 0 | |
setsockopt(0x11, 0xFFFF, 0x8) = 0 0 | |
setsockopt(0x11, 0x6, 0x1) = 0 0 | |
accept(0x10, 0xB01D4A90, 0xB01D4A3C) = -1 Err#35 | |
getpeername(0x11, 0xB01D4980, 0xB01D475C) = 0 0 |
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
Server Software: | |
Server Hostname: 127.0.0.1 | |
Server Port: 8000 | |
Document Path: /buffer/1048577 | |
Document Length: 1048577 bytes | |
Concurrency Level: 100 | |
Time taken for tests: 9.630 seconds |
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/configure b/configure | |
index 7267f64..de002e3 100755 | |
--- a/configure | |
+++ b/configure | |
@@ -11,10 +11,10 @@ CUR_DIR=$PWD | |
#possible relative path | |
WORKINGDIR=`dirname $0` | |
-cd $WORKINGDIR | |
+cd "$WORKINGDIR" |
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
From 9d9f31ed8d8e9fb556e15363caf410cdc27c3c54 Mon Sep 17 00:00:00 2001 | |
From: Ryan Dahl <ry@tinyclouds.org> | |
Date: Wed, 19 May 2010 17:45:21 -0700 | |
Subject: [PATCH] Fix HandleScopes | |
--- | |
binding.cc | 25 +++++++++++++++++-------- | |
1 files changed, 17 insertions(+), 8 deletions(-) | |
diff --git a/binding.cc b/binding.cc |
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
// doc, name, attrs, content, callback | |
v8::Handle<v8::Value> | |
XmlElement::New(const v8::Arguments& args) { | |
v8::HandleScope scope; | |
// was created by BUILD_NODE | |
if (args.Length() == 0 || args[0]->StrictEquals(v8::Null())) | |
return scope.Close(args.This()); | |
XmlDocument *document = LibXmlObj::Unwrap<XmlDocument>(args[0]->ToObject()); | |
v8::String::Utf8Value name(args[1]->ToString()); |
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/lib/querystring.js b/lib/querystring.js | |
index df19123..8ab4e56 100644 | |
--- a/lib/querystring.js | |
+++ b/lib/querystring.js | |
@@ -1,10 +1,13 @@ | |
// Query String Utilities | |
+var sys = require('sys'); | |
+ | |
var QueryString = exports; |
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
commit 2dac1a1a2ed79cbbc9c80d8a10fcdb511c013341 | |
Author: Ryan Dahl <ry@tinyclouds.org> | |
Date: Thu May 20 15:45:07 2010 -0700 | |
fix global var leak | |
diff --git a/lib/fs.js b/lib/fs.js | |
index fc0843b..3ea6e07 100644 | |
--- a/lib/fs.js | |
+++ b/lib/fs.js |
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
sys = require('sys'); | |
net = require('net'); | |
server = net.createServer(function (s) { | |
s.destroy(); | |
server.close(); | |
}); | |
server.listen(9090); |
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
require('../common'); | |
sys = require('sys'); | |
net = require('net'); | |
gotConnect = false; | |
gotClose = false; | |
server = net.createServer(function (s) { | |
s.destroy(); |