Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [jetty-dev] http 2 vs spdy & large files upload bug



On 10 December 2014 at 09:36, Michele Rossi <michele.rossi@xxxxxxxxx> wrote:
hi,

I have a question about the development of HTTP 2 and SPDY on Jetty.
 
Is there a general consensus that HTTP 2.0 replaces SPDY ?

We are not dropping SPDY, but then we are not developing it further either.  The intention is that HTTP/2 will eventually replace SPDY.



Are we going down that route with the development of Jetty 9.3.x ?


9.3.x will have both HTTP/2 and SPDY
perhaps 10.0.x will just have HTTP/2... but we have not yet started planning that.
 
I am aware that HTTP 2 is based on a certain version of SPDY but that there are key differences (TLS encryption not being required etc).

I have noticed that Google sites like Gmail and www.google.com are now on HTTP 2.


Some time ago I filed a bug that affects the SPDY connector on Jetty 9.2.X.
The bug affects the capacity of uploading large files using a standard PUT request.



Sorry we didn't get time to look at that.  Uptake of SPDY support was not large, so we switched our efforts to HTTP/2

 
I am concerned that the same bug might affect the the new Jetty HTTP 2.0 connector as I am assuming (given the similarities between the protocols) that key bits of the SPDY code have been reused in the HTTP 2.0 connector.

There was actually a bug in all of 9.2.x that could affect large uploads and downloads.  This has been fixed in 9.2.6 and in the repo for 9.3 now, so it is probably worthwhile to retest on a nightly release of 9.3.x

If you can reproduce the problem on HTTP/2 rather than SPDY, then we'll be able to give a lot more attention to it.



If the team thinks that it might be a worthwhile effort, I can volunteer to code up a unit (or maybe it should be called integration) test that exercises that upload capability.


Definitely!   A unit test - or even just a simple webapp with instructions on how to reproduce the problem would help.     As I said, if it is on http/2 we will look at it soon, if it is SPDY then there are no guarentees when we will find the time.


cheers



Back to the top