Land Recent QUIC Changes.
commit3aa9ca7d36a77ac1cf4077ed041b0c624dea8eb2
authorrtenneti@chromium.org <rtenneti@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Thu, 27 Feb 2014 19:39:43 +0000 (27 19:39 +0000)
committerrtenneti@chromium.org <rtenneti@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Thu, 27 Feb 2014 19:39:43 +0000 (27 19:39 +0000)
tree034a554e79e1d254e4c15c20ad0d9347c8e7c9e3
parent697b287ede25a3263473acc870a532ca863163bf
Land Recent QUIC Changes.

Allow running the test server in secure mode.

Merge internal change: 62164374
https://codereview.chromium.org/181413007/

Implement special behaviors (closing and timing out) in the test server.
Testing only.

Merge internal change: 62158630
https://codereview.chromium.org/177293008/

Moving a preexisting DCHECK to a new and more helpful dfatal.

Merge internal change: 62089588
https://codereview.chromium.org/181463007/

PACKET_NBYTE_GUID -> PACKET_NBYTE_CONNECTION_ID
GUID->ConnectionId
QuicGuid->QuicConnectionId
guid->connection_id
except for the dos proto, which I'm leaving alone for now.

renaming quic guid to connection id. no functional change.

Merge internal change: 62087636
https://codereview.chromium.org/181483006/

QUIC-local change to extend per-connection stats. Extending
QuicConnectionStats to add two Cubic-related stats.

Merge internal change: 61977906
https://codereview.chromium.org/177843017/

Implement an early retransmit timer in QUIC's TcpLossAlgorithm to
replace immediate loss and retransmission.

Merge internal change: 61976680
https://codereview.chromium.org/182083002/

Add a time based loss detection algorithm to QUIC that loses packets
after 1.25RTTs and at least one nack.

Merge internal change: 61975778
https://codereview.chromium.org/182063002/

QUIC test cleanup to always use MockLossAlgorithm in QuicConnectionTest.

Merge internal change: 61972606
https://codereview.chromium.org/180783003/

Minor optimizations to QuicUnackedPacketMap and QuicSentPacketManager to
improve load testing.

Merge internal change: 61961987
https://codereview.chromium.org/181433007/

Cleanup: Rename http_message_test_utils.{h,cc,_test.cc} to
http_message.{h,cc,_test.cc}

This is how it should be named (defines/tests class HTTPMessage), and
it's confusingly similar to the unrelated http_message_utils.h

n/a (test only)

Merge internal change: 61955207
https://codereview.chromium.org/181703005/

Test-only change to QuicConnectionTest to use MockLossAlgorithm instead
of specific details of the TCP loss detection algorithm.

Merge internal change: 61953382
https://codereview.chromium.org/181693005/

Add mock methods for SendBlocked and SendWindowUpdate in QuicConnection

(test only)

Merge internal change: 61945606
https://codereview.chromium.org/181973002/

Add SendWindowUpdate and SendBlocked methods to QuicConnection.
Not used yet.

Merge internal change: 61915742
https://codereview.chromium.org/181413005/

Start using the loss timeout in QuicSentPacketManager and add a mock
implementation of the LossDetectionInterface for testing.

Merge internal change: 61903890
https://codereview.chromium.org/181723003/

R=rch@chromium.org

Review URL: https://codereview.chromium.org/182523002

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@253899 0039d316-1c4b-4281-b951-d872f2087c98
82 files changed:
net/net.gyp
net/quic/congestion_control/cubic.cc
net/quic/congestion_control/cubic.h
net/quic/congestion_control/cubic_test.cc
net/quic/congestion_control/fix_rate_sender.h
net/quic/congestion_control/loss_detection_interface.h
net/quic/congestion_control/send_algorithm_interface.cc
net/quic/congestion_control/send_algorithm_interface.h
net/quic/congestion_control/tcp_cubic_sender.cc
net/quic/congestion_control/tcp_cubic_sender.h
net/quic/congestion_control/tcp_cubic_sender_test.cc
net/quic/congestion_control/tcp_loss_algorithm.cc
net/quic/congestion_control/tcp_loss_algorithm.h
net/quic/congestion_control/tcp_loss_algorithm_test.cc
net/quic/congestion_control/time_loss_algorithm.cc [new file with mode: 0644]
net/quic/congestion_control/time_loss_algorithm.h [new file with mode: 0644]
net/quic/congestion_control/time_loss_algorithm_test.cc [new file with mode: 0644]
net/quic/crypto/crypto_handshake.h
net/quic/crypto/crypto_server_test.cc
net/quic/crypto/quic_crypto_client_config.cc
net/quic/crypto/quic_crypto_client_config.h
net/quic/crypto/quic_crypto_server_config.cc
net/quic/crypto/quic_crypto_server_config.h
net/quic/quic_client_session.cc
net/quic/quic_connection.cc
net/quic/quic_connection.h
net/quic/quic_connection_logger.cc
net/quic/quic_connection_stats.cc
net/quic/quic_connection_stats.h
net/quic/quic_connection_test.cc
net/quic/quic_crypto_client_stream.cc
net/quic/quic_crypto_server_stream.cc
net/quic/quic_data_stream_test.cc
net/quic/quic_framer.cc
net/quic/quic_framer.h
net/quic/quic_framer_test.cc
net/quic/quic_http_stream_test.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/quic_reliable_client_stream_test.cc
net/quic/quic_sent_packet_manager.cc
net/quic/quic_sent_packet_manager.h
net/quic/quic_sent_packet_manager_test.cc
net/quic/quic_session.h
net/quic/quic_session_test.cc
net/quic/quic_stream_factory.cc
net/quic/quic_unacked_packet_map.cc
net/quic/reliable_quic_stream_test.cc
net/quic/test_tools/quic_framer_peer.cc
net/quic/test_tools/quic_framer_peer.h
net/quic/test_tools/quic_sent_packet_manager_peer.cc
net/quic/test_tools/quic_sent_packet_manager_peer.h
net/quic/test_tools/quic_test_packet_maker.cc
net/quic/test_tools/quic_test_packet_maker.h
net/quic/test_tools/quic_test_utils.cc
net/quic/test_tools/quic_test_utils.h
net/tools/quic/end_to_end_test.cc
net/tools/quic/quic_client.cc
net/tools/quic/quic_client.h
net/tools/quic/quic_dispatcher.cc
net/tools/quic/quic_dispatcher.h
net/tools/quic/quic_dispatcher_test.cc
net/tools/quic/quic_in_memory_cache.cc
net/tools/quic/quic_in_memory_cache.h
net/tools/quic/quic_server.h
net/tools/quic/quic_server_session.cc
net/tools/quic/quic_server_session.h
net/tools/quic/quic_server_test.cc
net/tools/quic/quic_spdy_server_stream.cc
net/tools/quic/quic_time_wait_list_manager.cc
net/tools/quic/quic_time_wait_list_manager.h
net/tools/quic/quic_time_wait_list_manager_test.cc
net/tools/quic/test_tools/http_message.cc [moved from net/tools/quic/test_tools/http_message_test_utils.cc with 97% similarity]
net/tools/quic/test_tools/http_message.h [moved from net/tools/quic/test_tools/http_message_test_utils.h with 93% similarity]
net/tools/quic/test_tools/quic_test_client.cc
net/tools/quic/test_tools/quic_test_client.h
net/tools/quic/test_tools/quic_test_utils.cc
net/tools/quic/test_tools/quic_test_utils.h