Re: [jetty-users] Jetty HTTP/2 server talks with HTTP/1 client?

2016-03-31 Thread John Jiang
Hi, I setup a jetty-alpn.xml, and set the default protocol for ALPNServerConnectionFactory. Now, it works. Thanks! 2016-03-31 17:01 GMT+08:00 Simone Bordet : > Hi, > > On Thu, Mar 31, 2016 at 10:44 AM, John Jiang > wrote: > > Hi, > > Sorry for the

Re: [jetty-users] Jetty HTTP/2 server talks with HTTP/1 client?

2016-03-31 Thread Simone Bordet
Hi, On Thu, Mar 31, 2016 at 10:44 AM, John Jiang wrote: > Hi, > Sorry for the late reply. > > Please allow me to describe more clearly. > > 1. When my Jetty 9.3.5 server started, the below logs were shown, > 2016-03-31 15:55:07.476:INFO:oejs.ServerConnector:main:

Re: [jetty-users] Jetty HTTP/2 server talks with HTTP/1 client?

2016-03-31 Thread John Jiang
Hi, Sorry for the late reply. Please allow me to describe more clearly. 1. When my Jetty 9.3.5 server started, the below logs were shown, 2016-03-31 15:55:07.476:INFO:oejs.ServerConnector:main: Started ServerConnector@10d59286{HTTP/1.1,[http/1.1, h2c, h2c-17, h2c-16, h2c-15,

Re: [jetty-users] Jetty HTTP/2 server talks with HTTP/1 client?

2016-02-11 Thread Simone Bordet
Hi, On Mon, Feb 8, 2016 at 1:41 PM, John Jiang wrote: > Hi Simone, > > 2016-02-07 18:43 GMT+08:00 Simone Bordet : >> >> Hi, >> >> On Fri, Feb 5, 2016 at 6:30 AM, John Jiang >> wrote: >> > Hi guys, >> > It seems that Jetty

Re: [jetty-users] Jetty HTTP/2 server talks with HTTP/1 client?

2016-02-08 Thread John Jiang
Hi Simone, 2016-02-07 18:43 GMT+08:00 Simone Bordet : > Hi, > > On Fri, Feb 5, 2016 at 6:30 AM, John Jiang > wrote: > > Hi guys, > > It seems that Jetty HTTP/2 server cannot be connected via its HTTP/1 > client > >

Re: [jetty-users] Jetty HTTP/2 server talks with HTTP/1 client?

2016-02-07 Thread Simone Bordet
Hi, On Fri, Feb 5, 2016 at 6:30 AM, John Jiang wrote: > Hi guys, > It seems that Jetty HTTP/2 server cannot be connected via its HTTP/1 client > (org.eclipse.jetty.client.HttpClient). > The error likes: Illegal character 0x0 in state=START for buffer... If you get this

Re: [jetty-users] Jetty HTTP/2 server talks with HTTP/1 client?

2016-02-06 Thread John Jiang
Hi, 2016-02-05 22:34 GMT+08:00 Jesse McConnell : > do you have the http/1 connection configured as well? it needs something > to fall back to if http/2 isn't present > I'm using standalone Jetty server with HTTP/2 related modules, and haven't any special configuration

Re: [jetty-users] Jetty HTTP/2 server talks with HTTP/1 client?

2016-02-05 Thread Jesse McConnell
do you have the http/1 connection configured as well? it needs something to fall back to if http/2 isn't present -- jesse mcconnell jesse.mcconn...@gmail.com On Thu, Feb 4, 2016 at 11:30 PM, John Jiang wrote: > Hi guys, > It seems that Jetty HTTP/2 server cannot be

[jetty-users] Jetty HTTP/2 server talks with HTTP/1 client?

2016-02-04 Thread John Jiang
Hi guys, It seems that Jetty HTTP/2 server cannot be connected via its HTTP/1 client (org.eclipse.jetty.client.HttpClient). The error likes: Illegal character 0x0 in state=START for buffer... But the HTTP/1 client can access Apache HTTP/2 server. Is there any way to resolve/workaround this