We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5621fa8 commit 89e7ac8Copy full SHA for 89e7ac8
lib/server.js
@@ -27,6 +27,7 @@ var patchResponse = require('./response');
27
28
var domain;
29
var http2;
30
+var spdy;
31
32
patchResponse(http.ServerResponse);
33
patchRequest(http.IncomingMessage);
@@ -186,7 +187,7 @@ function Server(options) {
186
187
];
188
189
if (options.spdy) {
- var spdy = require('spdy');
190
+ spdy = require('spdy');
191
this.spdy = true;
192
this.server = spdy.createServer(options.spdy);
193
} else if (options.http2) {
0 commit comments