Skip to content

Commit 9690630

Browse files
committed
Replace node-http2 with http2-wrapper
1 parent 2a31bbf commit 9690630

File tree

5 files changed

+74
-641
lines changed

5 files changed

+74
-641
lines changed

Gruntfile.js

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -218,19 +218,15 @@ module.exports = function(grunt) {
218218
return middleware;
219219
}
220220
}
221-
}
222-
};
223-
224-
// don't try to test http2 support in node < 0.12, see https://github.com/molnarg/node-http2/issues/101
225-
if (!/^0.(?:1|2|3|4|5|6|7|8|9|10|11)\./.test(process.versions.node)) {
226-
testConnectInstances.http2 = {
221+
},
222+
http2: {
227223
options: {
228224
base: 'test',
229225
port: 8017,
230226
protocol: 'http2',
231227
}
232-
};
233-
}
228+
}
229+
};
234230

235231
grunt.initConfig({
236232
jshint: {

0 commit comments

Comments
 (0)