()
| 140 | ); |
| 141 | |
| 142 | function testNoTls() { |
| 143 | // HTTP/1.1 client |
| 144 | get(Object.assign(parse(origin), clientOptions), common.mustNotCall()) |
| 145 | .on('error', common.mustCall(cleanup)) |
| 146 | .on('error', common.mustCall(testWrongALPN)) |
| 147 | .end(); |
| 148 | } |
| 149 | |
| 150 | function testWrongALPN() { |
| 151 | // Incompatible ALPN TLS client |