Skip to content
This repository has been archived by the owner on Apr 22, 2023. It is now read-only.

Commit

Permalink
Browse files Browse the repository at this point in the history
windows: listen(pipe_name) is not supported when running cluster
- Added a note to the cluster module documentation.
- Disabled test-cluster-http-pipe.
  • Loading branch information
piscisaureus committed Jun 19, 2012
1 parent 41d5fef commit 3795d77
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
3 changes: 3 additions & 0 deletions doc/api/cluster.markdown
Expand Up @@ -41,6 +41,9 @@ Running node will now share port 8000 between the workers:
This feature was introduced recently, and may change in future versions.
Please try it out and provide feedback.

Also note that, on Windows, it is not yet possible to set up a named pipe
server in a worker.

## How It Works

<!--type=misc-->
Expand Down
5 changes: 5 additions & 0 deletions test/simple/test-cluster-http-pipe.js
Expand Up @@ -19,6 +19,11 @@
// OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE
// USE OR OTHER DEALINGS IN THE SOFTWARE.

// It is not possible to send pipe handles over the IPC pipe on Windows.
if (process.platform === 'win32') {
process.exit(0);
}

var common = require('../common');
var assert = require('assert');
var cluster = require('cluster');
Expand Down

0 comments on commit 3795d77

Please sign in to comment.