Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [jetty-users] Jetty HTTP/2 server talks with HTTP/1 client?

Hi,

2016-02-05 22:34 GMT+08:00 Jesse McConnell <jesse.mcconnell@xxxxxxxxx>:
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 for HTTP/1.
I suppose HTTP/1 is supported by default.

When my Jetty server started, I got the below log:
2016-02-06 17:16:13.757:INFO:oejs.ServerConnector:main: Started ServerConnector@b3d7190{HTTP/1.1,[http/1.1, h2c, h2c-17, h2c-16, h2c-15, h2c-14]}{0.0.0.0:9000}

Do I have to configure any more?

Thanks!
 

--
jesse mcconnell
jesse.mcconnell@xxxxxxxxx

On Thu, Feb 4, 2016 at 11:30 PM, John Jiang <john.sha.jiang@xxxxxxxxx> 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...

But the HTTP/1 client can access Apache HTTP/2 server.

Is there any way to resolve/workaround this problem on Jetty server side?
Thanks!

_______________________________________________
jetty-users mailing list
jetty-users@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/jetty-users


_______________________________________________
jetty-users mailing list
jetty-users@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/jetty-users


Back to the top