mirror of
https://github.com/github/codeql.git
synced 2026-04-29 02:35:15 +02:00
support direct callbacks to require("net").createServer
This commit is contained in:
@@ -2,3 +2,14 @@ var https = require('https');
|
||||
https.createServer(function (req, res) {});
|
||||
https.createServer(o, function (req, res) {});
|
||||
require('http2').createServer((req, res) => {});
|
||||
|
||||
require("tls").createServer((socket) => {
|
||||
socket.on("data", (data) => {})
|
||||
});
|
||||
|
||||
const net = require('net');
|
||||
const tls = require('tls');
|
||||
|
||||
const server = (isSecure ? tls : net).createServer(options, (socket) => {
|
||||
socket.on("data", (data) => {})
|
||||
});
|
||||
@@ -163,6 +163,8 @@ test_ClientRequest_getADataNode
|
||||
| src/http.js:27:16:27:73 | http.re ... POST'}) | src/http.js:50:16:50:22 | 'stuff' |
|
||||
| src/http.js:27:16:27:73 | http.re ... POST'}) | src/http.js:51:14:51:25 | 'more stuff' |
|
||||
test_RemoteFlowSources
|
||||
| createServer.js:7:24:7:27 | data |
|
||||
| createServer.js:14:24:14:27 | data |
|
||||
| src/http.js:6:26:6:32 | req.url |
|
||||
| src/http.js:8:3:8:20 | req.headers.cookie |
|
||||
| src/http.js:9:3:9:17 | req.headers.foo |
|
||||
|
||||
Reference in New Issue
Block a user