File tree 1 file changed +5
-5
lines changed
1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change 20
20
// USE OR OTHER DEALINGS IN THE SOFTWARE.
21
21
22
22
'use strict' ;
23
- // Regression test for GH-784
24
- // https://github.com/joyent/node/issues/784
25
- //
23
+ const common = require ( '../common' ) ;
24
+
26
25
// The test works by making a total of 8 requests to the server. The first
27
26
// two are made with the server off - they should come back as ECONNREFUSED.
28
27
// The next two are made with server on - they should come back successful.
29
28
// The next two are made with the server off - and so on. Without the fix
30
- // we were experiencing parse errors and instead of ECONNREFUSED.
31
- const common = require ( '../common' ) ;
29
+ // we were experiencing parse errors instead of ECONNREFUSED.
30
+ // https://github.com/nodejs/node-v0.x-archive/issues/784
31
+
32
32
const http = require ( 'http' ) ;
33
33
const assert = require ( 'assert' ) ;
34
34
You can’t perform that action at this time.
0 commit comments