MCPcopy Index your code
hub / github.com/nodejs/node / spam

Function spam

test/parallel/test-https-client-renegotiation-limit.js:103–110  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

101
102 // Simulate renegotiation attack
103 function spam() {
104 client.renegotiate({}, common.mustCallAtLeast((err) => {
105 assert.ifError(err);
106 assert.ok(renegs <= tls.CLIENT_RENEG_LIMIT);
107 setImmediate(spam);
108 }, 0));
109 renegs++;
110 }
111 }));
112
113 }));

Callers 1

testFunction · 0.70

Calls 2

setImmediateFunction · 0.50
okMethod · 0.45

Tested by 1

testFunction · 0.56

Used in the wild real call sites across dependent graphs

searching dependent graphs…