test: http2 connectionListener reject client
This code change modifies connectionListener tests to cover a test case where this.emit('unknownProtocol', socket)
returns false
Refs: https://github.com/nodejs/node/issues/14985
Checklist
-
make -j4 test
(UNIX), orvcbuild test
(Windows) passes -
tests and/or benchmarks are included -
commit message follows commit guidelines
Affected core subsystem(s)
test, http2