mirror of
https://github.com/KevinMidboe/zoff.git
synced 2025-10-29 18:00:23 +00:00
more spdy tsts
This commit is contained in:
@@ -88,7 +88,8 @@ function startSingle(clustered, redis_enabled) {
|
|||||||
ca: ca,
|
ca: ca,
|
||||||
spdy: {
|
spdy: {
|
||||||
protocols: [ 'h2', 'spdy/3.1', 'http/1.1' ],
|
protocols: [ 'h2', 'spdy/3.1', 'http/1.1' ],
|
||||||
plain: false,
|
plain: true,
|
||||||
|
ssl: true,
|
||||||
|
|
||||||
// **optional**
|
// **optional**
|
||||||
// Parse first incoming X_FORWARDED_FOR frame and put it to the
|
// Parse first incoming X_FORWARDED_FOR frame and put it to the
|
||||||
@@ -96,13 +97,6 @@ function startSingle(clustered, redis_enabled) {
|
|||||||
// NOTE: Use with care! This should not be used without some proxy that
|
// NOTE: Use with care! This should not be used without some proxy that
|
||||||
// will *always* send X_FORWARDED_FOR
|
// will *always* send X_FORWARDED_FOR
|
||||||
'x-forwarded-for': true,
|
'x-forwarded-for': true,
|
||||||
|
|
||||||
connection: {
|
|
||||||
windowSize: 1024 * 1024, // Server's window size
|
|
||||||
|
|
||||||
// **optional** if true - server will send 3.1 frames on 3.0 *plain* spdy
|
|
||||||
autoSpdy31: false
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
var https = require('spdy');
|
var https = require('spdy');
|
||||||
|
|||||||
Reference in New Issue
Block a user