Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [jetty-users] Sending Http requests over Spdy

Okay, I swapped the server connector for a HTTPSPDYServerConnector. It finds
the connection but eventually times out and sends back a 400 bad message.
>From the log snippets below I'm assuming that the npnconnector is selecting
http/1.1 when in fact should be selecting a version of spdy?

DEBUG 2013-11-07 13:14:49,473 [org.eclipse.jetty.io.SelectorManager
qtp1819749328-42-acceptor-0-HTTPSPDYServerConnector@336e8a49{SSL-npn}{0.0.0.0:8092}]
Queued change
org.eclipse.jetty.io.SelectorManager$ManagedSelector$Accept@390f9eb5
DEBUG 2013-11-07 13:14:49,473 [org.eclipse.jetty.io.SelectorManager
qtp1819749328-30-selector-ServerConnectorManager@3ea7f915/0] Selector loop
woken up from select, 0/0 selected
DEBUG 2013-11-07 13:14:49,473 [org.eclipse.jetty.io.SelectorManager
qtp1819749328-30-selector-ServerConnectorManager@3ea7f915/0] Running change
org.eclipse.jetty.io.SelectorManager$ManagedSelector$Accept@390f9eb5
DEBUG 2013-11-07 13:14:49,483 [org.eclipse.jetty.io.AbstractEndPoint
qtp1819749328-30-selector-ServerConnectorManager@3ea7f915/0] onOpen
SelectChannelEndPoint@6a8ba7d9{/127.0.0.1:61516<->8092,Open,in,out,-,-,30000,null}{io=0,kio=0,kro=0}
...
DEBUG 2013-11-07 13:14:49,512
[org.eclipse.jetty.spdy.server.NPNServerConnection qtp1819749328-56]
NPNServerConnection@3dd8de02{FILLING} protocol selected http/1.1
...
DEBUG 2013-11-07 13:14:49,565 [org.eclipse.jetty.io.ssl.SslConnection
qtp1819749328-56] SslConnection@5a124d9f{NEED_UNWRAP,eio=-1/-1,di=-1} ->
NPNServerConnection@3dd8de02{FILLING} fill exit
DEBUG 2013-11-07 13:14:49,594 [org.eclipse.jetty.server.HttpConnection
qtp1819749328-56] New HTTP Connection HttpConnection@1a239ad8{IDLE}
DEBUG 2013-11-07 13:14:49,595
[org.eclipse.jetty.spdy.server.NPNServerConnection qtp1819749328-56]
NPNServerConnection@3dd8de02{FILLING} switching from
NPNServerConnection@3dd8de02{FILLING} to HttpConnection@1a239ad8{IDLE}
DEBUG 2013-11-07 13:14:49,595 [org.eclipse.jetty.io.AbstractConnection
qtp1819749328-56] onClose NPNServerConnection@3dd8de02{FILLING}
DEBUG 2013-11-07 13:14:49,595 [org.eclipse.jetty.io.AbstractConnection
qtp1819749328-56] onOpen HttpConnection@1a239ad8{IDLE}



--
View this message in context: http://jetty.4.x6.nabble.com/Sending-Http-requests-over-Spdy-tp4961507p4961554.html
Sent from the Jetty User mailing list archive at Nabble.com.


Back to the top