()
| 177 | |
| 178 | const experiments = { |
| 179 | 'https - no keepalive' () { |
| 180 | return makeParallelRequests(resolve => { |
| 181 | https.get(httpsNoKeepAliveOptions, res => { |
| 182 | res |
| 183 | .pipe( |
| 184 | new Writable({ |
| 185 | write (chunk, encoding, callback) { |
| 186 | callback() |
| 187 | } |
| 188 | }) |
| 189 | ) |
| 190 | .on('finish', resolve) |
| 191 | }) |
| 192 | }) |
| 193 | }, |
| 194 | 'https - keepalive' () { |
| 195 | return makeParallelRequests(resolve => { |
| 196 | https.get(httpsKeepAliveOptions, res => { |
nothing calls this directly
no test coverage detected