gecko/testing/xpcshell/moz-spdy
Patrick McManus 94c9e99807 bug 790388 part 6 - spdy push xpcshell test r=hurley
--HG--
extra : rebase_source : 54a3f24aa543ee96ff2e2edb9a2ee7fe52e3dcbd
2013-05-29 00:07:03 -04:00
..
moz-spdy.js
README.txt
spdy-ca.pem
spdy-cert.pem
spdy-key.pem

Test server for SPDY unit tests. To run it, you need node >= 0.7.0 (not provided)
and node-spdy (provided). Just run

node /path/to/moz-spdy.js

And you will get a SPDY server listening on port 4443, then you can run the
xpcshell unit tests in netwerk/test/unit/test_spdy.js

*** A NOTE ON TLS CERTIFICATES ***

The certificates used for this test (*.pem in this directory) are the ones
provided as examples by node-spdy, and are copied directly from keys/ under
its top-level source directory (slightly renamed to match the option names
in the options dictionary passed to spdy.createServer).