Lines Matching defs:const
23 const common = require('../common');
28 const assert = require('assert');
29 const fixtures = require('../common/fixtures');
30 const https = require('https');
31 const http = require('http');
32 const tls = require('tls');
34 const tests = [];
36 const serverOptions = {
48 const fn = tests.shift();
55 const server = https.createServer(serverOptions);
57 const s = server.setTimeout(50, common.mustCall((socket) => {
71 const server = https.createServer(
75 const s = req.setTimeout(50, common.mustCall((socket) => {
83 const req = https.request({
95 const server = https.createServer(
99 const s = res.setTimeout(50, common.mustCall((socket) => {
115 const server = https.createServer(
119 const s = req.setTimeout(50, common.mustNotCall());
142 const server = https.createServer(serverOptions, (req, res) => {
149 const s = res.setTimeout(50, () => {
162 const options = {
167 const c = tls.connect(options, () => {
177 const server = https.createServer(serverOptions);
178 const s = server.setTimeout(50, common.mustCall((socket) => {
185 const options = {
190 const c = tls.connect(options, () => {
216 const server = https.createServer(serverOptions, common.mustCall(
224 const s = server.setTimeout(1, common.mustCall((socket) => {
231 const options = {
236 const c = tls.connect(options, () => {