Wed, 31 Dec 2014 06:09:35 +0100
Cloned upstream origin tor-browser at tor-browser-31.3.0esr-4.5-1-build1
revision ID fc1c9ff7c1b2defdbc039f12214767608f46423f for hacking purpose.
michael@0 | 1 | var spdy = exports; |
michael@0 | 2 | |
michael@0 | 3 | // Exports utils |
michael@0 | 4 | spdy.utils = require('./spdy/utils'); |
michael@0 | 5 | |
michael@0 | 6 | // Export parser&framer |
michael@0 | 7 | spdy.protocol = {}; |
michael@0 | 8 | |
michael@0 | 9 | try { |
michael@0 | 10 | spdy.protocol.generic = require('./spdy/protocol/generic.node'); |
michael@0 | 11 | } catch (e) { |
michael@0 | 12 | spdy.protocol.generic = require('./spdy/protocol/generic.js'); |
michael@0 | 13 | } |
michael@0 | 14 | |
michael@0 | 15 | // Supported SPDY versions |
michael@0 | 16 | spdy.protocol[2] = require('./spdy/protocol/v2'); |
michael@0 | 17 | spdy.protocol[3] = require('./spdy/protocol/v3'); |
michael@0 | 18 | |
michael@0 | 19 | spdy.parser = require('./spdy/parser'); |
michael@0 | 20 | |
michael@0 | 21 | // Export ServerResponse |
michael@0 | 22 | spdy.response = require('./spdy/response'); |
michael@0 | 23 | |
michael@0 | 24 | // Export Scheduler |
michael@0 | 25 | spdy.scheduler = require('./spdy/scheduler'); |
michael@0 | 26 | |
michael@0 | 27 | // Export ZlibPool |
michael@0 | 28 | spdy.zlibpool = require('./spdy/zlib-pool'); |
michael@0 | 29 | |
michael@0 | 30 | // Export server |
michael@0 | 31 | spdy.server = require('./spdy/server'); |
michael@0 | 32 | spdy.createServer = spdy.server.create; |