News for hackers. Stuff that matters.
Re:HTTP 2.0 by Aloisius on Tuesday July 09, 2013 @03:35PM (#6014808)
Oh wonderful, it appears to use SPDY-like header compression. Why don't we just create a new compression algorithm and predefine common HTML tags and words to improve compression of the response body too! But we shouldn't base it on any known compression scheme and only use it for the case where the content length is less than 220,498 bytes but more than 8,494 bytes to optimize the behavior of today's more common MTU settings for PPPoE in Scandinavian countries minus of course the most common size of compressed headers today. It will be particularly optimized for the kind of responses Google sends back to minimize their own server load and common adwords will of course be included in the predefined list of compressed tokens.

/sarcasm

What happened to simple protocols? Seriously, per-hop flow control (which works best with which of the dozen version of TCPv4 or TCPv6 flow control?)? TCPv4-like framing with weird limits (16383 bytes)? Keepalives/Ping? Truly ridiculous specialized compression for headers which ignores the role of HTTP proxies? QoS?

Why not just implement the whole protocol over a raw IP connection and stop pretending like we're operating in layer 4+? I get that multiplexing is difficult without flow control, but good lord does this thing look overdesigned for what few benefits it offers over HTTP/1.1.

Re:HTTP 2.0 by angersock on Tuesday July 09, 2013 @04:21PM (#6015160)
Well, we had a nice thing for a while, and now it's time to fuck that all up. The wheel turns.

Look on the bright side--if everyone decides the public Internet is too insecure, maybe we can convince them to keep using the old standards on darknets?

Re:HTTP 2.0 by tptacek on Tuesday July 09, 2013 @03:47PM (#6014901)
Recapitulating a comment from downthread, but, look at DNS for an example of how the IETF botches compression in its "simple" protocols. Not that compression isn't fraught (look at TLS), but I see its use as a sign of maturity.
Re:HTTP 2.0 by osth on Wednesday July 10, 2013 @02:12AM (#6017772)
"What happened to simple protocols?"

Answer: The Internet is still running on them, 30 years later.

Whenever I read something like "simplicity is hard", it makes me cringe. I hear that a lot, and I see evidence of gratuitous complexity everywhere I look these days. I'd hazard a guess the engineers behind SDPY would find simplicity (and reliability) boring.

Debugging binary protocols is either great job security for over eager engineers like the SPDY team or a great waste of our collective time. I'll let you all decide which.

Re:HTTP 2.0 by nly on Tuesday July 09, 2013 @05:22PM (#6015610)
I can't help thinking some of the pain could be resolved if we had a reliable datagram protocol between UDP and TCP. Delimiting a TCP stream to create a messaging protocol is already suboptimal and error prone, and it's the root cause of the head-of-line blocking problem experienced by HTTP ('fixed' in SPDY).
Re:HTTP 2.0 by ldng on Tuesday July 09, 2013 @05:32PM (#6015676)
You mean like SCTP ? It's struggling to get traction.
Re:HTTP 2.0 by nly on Tuesday July 09, 2013 @05:37PM (#6015711)
Yes, because MS haven't implemented it.
Re:HTTP 2.0 by lttlrck on Wednesday July 10, 2013 @08:02AM (#6018877)
It wouldn't get through any home firewalls either. Adoption would take decades...
Re:HTTP 2.0 by jahaja on Tuesday July 09, 2013 @06:36PM (#6016155)
Something like QUIC? I reckon a few of the authors of this draft is also involved in QUIC.

http://blog.chromium.org/2013/06/experimenting-with-quic.htm...

Re:HTTP 2.0 by Camillo on Tuesday July 09, 2013 @07:06PM (#6016298)
There can be no new layer 4 protocols due to NAT. You have to use either TCP or UDP.
Re:HTTP 2.0 by nly on Tuesday July 09, 2013 @09:55PM (#6016976)
So we can move from IPv4 to IPv6 but not introduce a new transport because of NAT? Hmm...
Re:HTTP 2.0 by wmf on Wednesday July 10, 2013 @01:52AM (#6017707)
The IPv6 transition is not going that much better than SCTP. So many people have v4-only home routers that they have no plans to ever upgrade.
Re:HTTP 2.0 by mavhc on Wednesday July 10, 2013 @07:39AM (#6018761)
Most people have a free router from their ISP, the ISP will just send out new ones
Re:HTTP 2.0 by nly on Wednesday July 10, 2013 @08:16AM (#6018963)
My ISPs modem has a built in NAT that can't be disabled, but it still passes all IPv4 packets through in DMZ mode, so there's hope.
Re:HTTP 2.0 by neuroscr on Tuesday July 09, 2013 @09:09PM (#6016798)
So instead of doing things properly, we'll hack around it... Isn't that what we're all complaining about?

Let's do it right and then fix NAT

Re:HTTP 2.0 by angersock on Wednesday July 10, 2013 @12:25AM (#6017433)
Erm, reliable UDP?

You can get a startling amount of the way there with sequence numbers and a few other things--it's a fun exercise.

Re:HTTP 2.0 by nly on Wednesday July 10, 2013 @08:14AM (#6018951)
SCTP is more modern and still under active development. RUDP only has a draft RFC and hasn't been updated since 1999.
Re:HTTP 2.0 by angersock on Wednesday July 10, 2013 @12:22PM (#6020804)
Oh, no no no, you misunderstand--spend an afternoon to implement a reliable communication layer over UDP yourself. I don't suggest another standard (or a defunct one): roll your own.