Minor typo in SpdyServer

This commit is contained in:
Joakim Erdfelt 2014-10-17 16:29:02 -07:00
parent c66963126f
commit bfd7414b30
1 changed files with 1 additions and 1 deletions

View File

@ -123,7 +123,7 @@ public class SpdyServer
// create a ServerConnector and pass in the supported factories. NPN will then be used to negotiate the
// protocol with the client.
HTTPSPDYServerConnectionFactory spdy3 = new HTTPSPDYServerConnectionFactory(3,config,push);
spdy2.setInputBufferSize(8192);
spdy3.setInputBufferSize(8192);
NPNServerConnectionFactory npn = new NPNServerConnectionFactory(spdy3.getProtocol(),spdy2.getProtocol(),http.getProtocol());
npn.setDefaultProtocol(http.getProtocol());