Closed coderaiser closed 10 years ago
Hello!
1.8.1 is quite old version, perhaps you should try 1.28.1 ?
Looks like I put wrong version, sorry. I use last version from npm
and it is 1.28.1
.
first arg to require('spdy').createServer
is not the requestListener, it's an options object or something. looks like it will work if you do http.createServer(undefined, app)
@dougwilson, when I use this code:
server = http.createServer({}, app),
This error occures:
tls.js:1124
throw new Error('Missing PFX or certificate + private key.');
Looks like node-spdy
could not work with http only with https?
It could! Just use ssl: false, plain: true
options.
Thanks a lot, it works :). Could you please add this options to README.md
.
What exactly? I think it already mentions plain
and ssl
options.
Yes, its' true. I haven't seen it. Thank you.
After installing last versions of
spdy v1.8.1
andexpress v4.8.5
with:When I use this code:
Error occurs: