Land Recent QUIC changes.
commitea825e0c874776d30194d45a9d537c4a3a64f642
authorrtenneti@chromium.org <rtenneti@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Wed, 21 Aug 2013 18:12:45 +0000 (21 18:12 +0000)
committerrtenneti@chromium.org <rtenneti@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Wed, 21 Aug 2013 18:12:45 +0000 (21 18:12 +0000)
treeb28f1c371cfa1ccbb085b71207e67c94cf429add
parent18194bbb6dd32a9e16b38e03291d8a404a5ea7e8
Land Recent QUIC changes.

Add another empty packet check to QuicPacketCreator.

Merge internal change: 51128171

Change a DCHECK into LOG(DFATAL) so that we can see if this is actually
happening.

Merge internal change: 51096918

Remove hard-coded version from QuicFramerTest

Merge internal change: 51006687

Reserializing packets for retransmission now use the original sequence
number length, as intended, and a test has been added to verify that.

Also, re-calculating the packet's size anytime no frames have been
added.  Once they've been added, the header size will not change, as
before.

Merge internal change: 51153356

Lazily initialize QuicPacketCreator's packet_size to the header size,
so the sequence_number_length and other overhead can be more accurately
calculated.

Merge internal change: 51071397

Enable variable length sequence numbers in the packet header by
dynamically calculating the necessary length.

Merge internal change: 50917379

R=rch@chromium.org

Review URL: https://chromiumcodereview.appspot.com/23368002

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@218781 0039d316-1c4b-4281-b951-d872f2087c98
19 files changed:
net/quic/quic_connection.cc
net/quic/quic_connection.h
net/quic/quic_connection_helper_test.cc
net/quic/quic_connection_test.cc
net/quic/quic_framer.cc
net/quic/quic_framer_test.cc
net/quic/quic_http_stream_test.cc
net/quic/quic_network_transaction_unittest.cc
net/quic/quic_packet_creator.cc
net/quic/quic_packet_creator.h
net/quic/quic_packet_creator_test.cc
net/quic/quic_packet_generator_test.cc
net/quic/quic_protocol.cc
net/quic/quic_protocol.h
net/quic/test_tools/quic_packet_creator_peer.cc
net/quic/test_tools/quic_packet_creator_peer.h
net/quic/test_tools/quic_test_utils.cc
net/quic/test_tools/quic_test_utils.h
net/tools/quic/quic_epoll_connection_helper_test.cc