blob: 56e1c5f38b3dcc21ce18ab36b45f3cc48bfdd41b (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
'use strict';
const common = require('../common');
const net = require('net');
const server = net.createServer();
// This test was based on an error raised by Haraka.
// It caused server.getConnections to raise an exception.
// Ref: https://github.com/haraka/Haraka/pull/1951
server.getConnections(common.mustCall());
|