This file contains hidden or 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
/* Copyright Joyent, Inc. and other Node contributors. All rights reserved. | |
* | |
* Permission is hereby granted, free of charge, to any person obtaining a copy | |
* of this software and associated documentation files (the "Software"), to | |
* deal in the Software without restriction, including without limitation the | |
* rights to use, copy, modify, merge, publish, distribute, sublicense, and/or | |
* sell copies of the Software, and to permit persons to whom the Software is | |
* furnished to do so, subject to the following conditions: | |
* | |
* The above copyright notice and this permission notice shall be included in |
This file contains hidden or 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
var child_process = require('child_process'); | |
function startDeamon(child, args) { | |
var newEnv = JSON.parse(JSON.stringify(process.env)); | |
newEnv.deamonOptions = JSON.stringify({exec: child, args: args}); | |
var deamonWatcher = child_process.fork(process.argv[1], ['deamon'], { |
This file contains hidden or 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 61dbe66f45a86d5519bf25e403caf34f60ad9dd8 Mon Sep 17 00:00:00 2001 | |
From: Ryan Dahl <[email protected]> | |
Date: Thu, 29 Dec 2011 16:06:14 -0800 | |
Subject: [PATCH] Potential fix for #2438 | |
--- | |
src/node_http_parser.cc | 33 +++++++++++++++++++++++++++++++++ | |
1 files changed, 33 insertions(+), 0 deletions(-) | |
diff --git a/src/node_http_parser.cc b/src/node_http_parser.cc |
This file contains hidden or 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
### cluster - /bytes/1024 | |
log2.xml , 38578.2, 0.0, 1213, 0.0, 0 | |
### cluster - /bytes/10240 | |
log3.xml , 14598.6, 0.0, 10878, 0.0, 0 | |
### cluster - /bytes/102400 |
This file contains hidden or 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
common = require("../common"); | |
assert = require("assert"); | |
net = require("net"); | |
http = require("http"); | |
var serverResponse = ""; | |
var clientGotEOF = false; | |
server = http.createServer(function (req, res) { | |
console.log('server req'); |