You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficserver.apache.org by ma...@apache.org on 2019/01/23 00:26:26 UTC

[trafficserver] branch quic-latest updated (447c7f6 -> 988ff5c)

This is an automated email from the ASF dual-hosted git repository.

maskit pushed a change to branch quic-latest
in repository https://gitbox.apache.org/repos/asf/trafficserver.git.


    from 447c7f6  Merge branch 'master' into quic-latest
     new d1f3ca0  Make it compilable with OpenSSL for draft-17 (probably broken)
     new cd8347a  Update version numbers to draft-17 and h3-17
     new bc7fe3c  Unprotect packet headers
     new 2f3b3c2  Update frame types and names
     new b022e04  Update TP IDs and names
     new 3761592  Read and write integer TPs as variable integers but not fixed size integers
     new 585c1e8  Protect packet headers
     new 702e3e8  Update short header and header protection
     new 0fbdd31  Update NEW_CONNECTION_ID frame
     new 56d0e1d  Update ACK frame
     new e9c299f  Fix a compile error on ACK frame
     new c4dda17  Probably fix packet number decoding issue
     new dca4f5a  Update CONNECTION_CLOSE frame
     new b8089cc  Make unit tests compilable
     new f88932a  Fix a packet type check in QUICPollCont
     new 0a685ab  Update names around max_streams
     new 3a993f9  Change set_max_stream_id to set_max_streams_(bidi|uni)
     new cb13e7d  Fix sample offset boundary check
     new e1438d0  clang-formant
     new bfda9e0  Rename HQ to HTTP3
     new 4f7f858  Don't crash when H3 requests come
     new 8697d16  Send INITIAL_MAX_STREAM_DATA_UNI
     new a693553  Remove an unreasonable ink_assert
     new 43f8c7d  Acquire a lock before touching NetHandler
     new 2afb621  Ignore decryption failure
     new ef7a228  Print H3 frame types received
     new ccf5a07  Revmoed useless debug print
     new c27906e  Fix building unit tests of HTTP/3 and QPACK
     new 0608ab3  Fix test_Http3Frame - checking frame type
     new f846f91  draft-13: Remove flags from HTTP/3 frames
     new 38439c9  Support NAT rebinding scenario on connection migration
     new 3be7a15  clang-format proxy/http3/
     new 92bf49d  HTTP/3: Add SETTINGS frame
     new ed90643  Update Retry packet format
     new 0bec142  Don't unprotect RETRY packet's header
     new 1773666  Log TPs correctly
     new 3f8d224  Fix a length check in packet protection
     new d18ea13  HTTP/3: Add settings id and stream type for QPACK
     new 3bd51f1  HTTP/3: Add error codes
     new a6ee9e2  HTTP/3: Add debug names functions for stream type, settings id, and error code
     new 6d8da83  Support ChaCha20
     new 988ff5c  Advertise hq-17 for now instead of h3-17

The 12550 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 .gitignore                                         |   4 +-
 configure.ac                                       |   2 +-
 iocore/eventsystem/I_Event.h                       |   2 +-
 iocore/net/P_QUICNetVConnection.h                  |   4 +-
 iocore/net/P_QUICPacketHandler.h                   |  10 +-
 iocore/net/QUICNet.cc                              |   3 +-
 iocore/net/QUICNetVConnection.cc                   | 113 +++---
 iocore/net/QUICPacketHandler.cc                    |  14 +-
 iocore/net/quic/Makefile.am                        |  17 +-
 iocore/net/quic/Mock.h                             |   4 +-
 iocore/net/quic/QUICApplication.cc                 |   6 +
 iocore/net/quic/QUICApplication.h                  |   1 +
 iocore/net/quic/QUICConfig.cc                      |  34 +-
 iocore/net/quic/QUICConfig.h                       |  16 +-
 iocore/net/quic/QUICDebugNames.cc                  |  30 +-
 iocore/net/quic/QUICFlowController.cc              |   2 +-
 iocore/net/quic/QUICFrame.cc                       | 338 +++++-----------
 iocore/net/quic/QUICFrame.h                        |  91 ++---
 iocore/net/quic/QUICHKDF.cc                        |   2 +-
 iocore/net/quic/QUICHandshake.cc                   |  20 +-
 iocore/net/quic/QUICHandshakeProtocol.cc           |  57 ---
 iocore/net/quic/QUICHandshakeProtocol.h            |  23 +-
 iocore/net/quic/QUICHandshakeProtocol_openssl.cc   |  72 ----
 iocore/net/quic/QUICIncomingFrameBuffer.cc         |   2 +-
 iocore/net/quic/QUICKeyGenerator.cc                |  34 +-
 iocore/net/quic/QUICKeyGenerator.h                 |  10 +-
 iocore/net/quic/QUICKeyGenerator_openssl.cc        |  17 -
 iocore/net/quic/QUICPacket.cc                      | 204 +++-------
 iocore/net/quic/QUICPacket.h                       |  19 +-
 iocore/net/quic/QUICPacketHeaderProtector.cc       | 227 +++++++++++
 iocore/net/quic/QUICPacketHeaderProtector.h        |  49 +++
 .../net/quic/QUICPacketHeaderProtector_openssl.cc  |  51 +--
 iocore/net/quic/QUICPacketReceiveQueue.cc          |  19 +-
 iocore/net/quic/QUICPacketReceiveQueue.h           |   4 +-
 iocore/net/quic/QUICPacketRetransmitter.cc         |   7 +-
 iocore/net/quic/QUICStream.cc                      |  20 +-
 iocore/net/quic/QUICStream.h                       |   1 +
 iocore/net/quic/QUICStreamManager.cc               |  83 ++--
 iocore/net/quic/QUICStreamManager.h                |  13 +-
 iocore/net/quic/QUICStreamState.cc                 |  38 +-
 iocore/net/quic/QUICTLS.cc                         |  41 +-
 iocore/net/quic/QUICTLS.h                          |   6 +-
 iocore/net/quic/QUICTLS_boringssl.cc               |  24 +-
 iocore/net/quic/QUICTLS_openssl.cc                 | 101 +++--
 iocore/net/quic/QUICTransportParameters.cc         | 117 ++----
 iocore/net/quic/QUICTransportParameters.h          |  26 +-
 iocore/net/quic/QUICTypes.cc                       |  37 +-
 iocore/net/quic/QUICTypes.h                        |  51 +--
 iocore/net/quic/test/test_QUICFlowController.cc    |   6 +-
 iocore/net/quic/test/test_QUICFrame.cc             | 163 ++------
 iocore/net/quic/test/test_QUICHandshakeProtocol.cc |  38 +-
 iocore/net/quic/test/test_QUICKeyGenerator.cc      |  86 +----
 iocore/net/quic/test/test_QUICPacket.cc            |   7 -
 iocore/net/quic/test/test_QUICPacketFactory.cc     |   2 +-
 .../quic/test/test_QUICPacketHeaderProtector.cc    | 199 ++++++++++
 iocore/net/quic/test/test_QUICStream.cc            |  10 +-
 iocore/net/quic/test/test_QUICStreamManager.cc     |  22 +-
 iocore/net/quic/test/test_QUICStreamState.cc       |  50 +--
 .../net/quic/test/test_QUICTransportParameters.cc  |   2 +-
 mgmt/RecordsConfig.cc                              |  10 +-
 proxy/Makefile.am                                  |   4 +-
 proxy/hq/HQFrame.cc                                | 324 ----------------
 proxy/hq/HQFrame.h                                 | 192 ---------
 proxy/hq/HQTypes.h                                 |  99 -----
 proxy/hq/test/test_HQFrame.cc                      | 155 --------
 proxy/http/HttpProxyServerMain.cc                  |   4 +-
 proxy/http/Makefile.am                             |   2 +-
 proxy/{hq/HQ.cc => http3/Http3.cc}                 |   8 +-
 proxy/{hq/HQ.h => http3/Http3.h}                   |  11 +-
 .../Http3ClientSession.cc}                         |  49 ++-
 .../Http3ClientSession.h}                          |  16 +-
 .../Http3ClientTransaction.cc}                     | 101 ++---
 .../Http3ClientTransaction.h}                      |  32 +-
 .../HQDataFramer.cc => http3/Http3DataFramer.cc}   |  22 +-
 .../{hq/HQDataFramer.h => http3/Http3DataFramer.h} |  18 +-
 proxy/http3/Http3DebugNames.cc                     | 146 +++++++
 .../{hq/HQDebugNames.h => http3/Http3DebugNames.h} |  10 +-
 proxy/http3/Http3Frame.cc                          | 427 +++++++++++++++++++++
 proxy/http3/Http3Frame.h                           | 237 ++++++++++++
 .../Http3FrameCollector.cc}                        |  14 +-
 .../Http3FrameCollector.h}                         |  12 +-
 .../Http3FrameDispatcher.cc}                       |  49 +--
 .../Http3FrameDispatcher.h}                        |  14 +-
 .../Http3FrameGenerator.h}                         |   8 +-
 .../HQFrameHandler.h => http3/Http3FrameHandler.h} |  12 +-
 .../Http3HeaderFramer.cc}                          |  23 +-
 .../HQHeaderFramer.h => http3/Http3HeaderFramer.h} |  18 +-
 .../Http3HeaderVIOAdaptor.cc}                      |  20 +-
 .../Http3HeaderVIOAdaptor.h}                       |  12 +-
 .../Http3SessionAccept.cc}                         |  16 +-
 .../Http3SessionAccept.h}                          |  10 +-
 .../Http3StreamDataVIOAdaptor.cc}                  |  20 +-
 .../Http3StreamDataVIOAdaptor.h}                   |  12 +-
 proxy/http3/Http3Types.h                           | 148 +++++++
 proxy/{hq => http3}/Makefile.am                    |  60 +--
 proxy/{hq => http3}/QPACK.cc                       |   0
 proxy/{hq => http3}/QPACK.h                        |   2 +-
 proxy/{hq => http3}/QUICSimpleApp.cc               |  16 +-
 proxy/{hq => http3}/QUICSimpleApp.h                |   4 +-
 proxy/{hq => http3}/test/Mock.h                    |  16 +-
 proxy/{hq => http3}/test/main.cc                   |   0
 proxy/{hq => http3}/test/main_qpack.cc             |   2 +-
 proxy/{hq => http3}/test/stub.cc                   |   6 +
 proxy/http3/test/test_Http3Frame.cc                | 205 ++++++++++
 .../test/test_Http3FrameDispatcher.cc}             |  12 +-
 proxy/{hq => http3}/test/test_QPACK.cc             |   0
 src/traffic_server/Makefile.inc                    |   4 +-
 src/traffic_server/traffic_server.cc               |   4 +-
 src/tscore/ink_inet.cc                             |   2 +-
 109 files changed, 2722 insertions(+), 2517 deletions(-)
 delete mode 100644 iocore/net/quic/QUICHandshakeProtocol_openssl.cc
 create mode 100644 iocore/net/quic/QUICPacketHeaderProtector.cc
 create mode 100644 iocore/net/quic/QUICPacketHeaderProtector.h
 copy proxy/hq/HQFrameCollector.cc => iocore/net/quic/QUICPacketHeaderProtector_openssl.cc (52%)
 create mode 100644 iocore/net/quic/test/test_QUICPacketHeaderProtector.cc
 delete mode 100644 proxy/hq/HQFrame.cc
 delete mode 100644 proxy/hq/HQFrame.h
 delete mode 100644 proxy/hq/HQTypes.h
 delete mode 100644 proxy/hq/test/test_HQFrame.cc
 rename proxy/{hq/HQ.cc => http3/Http3.cc} (87%)
 rename proxy/{hq/HQ.h => http3/Http3.h} (84%)
 rename proxy/{hq/HQClientSession.cc => http3/Http3ClientSession.cc} (56%)
 rename proxy/{hq/HQClientSession.h => http3/Http3ClientSession.h} (85%)
 rename proxy/{hq/HQClientTransaction.cc => http3/Http3ClientTransaction.cc} (80%)
 rename proxy/{hq/HQClientTransaction.h => http3/Http3ClientTransaction.h} (80%)
 rename proxy/{hq/HQDataFramer.cc => http3/Http3DataFramer.cc} (69%)
 rename proxy/{hq/HQDataFramer.h => http3/Http3DataFramer.h} (71%)
 create mode 100644 proxy/http3/Http3DebugNames.cc
 rename proxy/{hq/HQDebugNames.h => http3/Http3DebugNames.h} (78%)
 create mode 100644 proxy/http3/Http3Frame.cc
 create mode 100644 proxy/http3/Http3Frame.h
 rename proxy/{hq/HQFrameCollector.cc => http3/Http3FrameCollector.cc} (80%)
 rename proxy/{hq/HQFrameCollector.h => http3/Http3FrameCollector.h} (79%)
 rename proxy/{hq/HQFrameDispatcher.cc => http3/Http3FrameDispatcher.cc} (50%)
 rename proxy/{hq/HQFrameDispatcher.h => http3/Http3FrameDispatcher.h} (80%)
 rename proxy/{hq/HQFrameGenerator.h => http3/Http3FrameGenerator.h} (82%)
 rename proxy/{hq/HQFrameHandler.h => http3/Http3FrameHandler.h} (77%)
 rename proxy/{hq/HQHeaderFramer.cc => http3/Http3HeaderFramer.cc} (82%)
 rename proxy/{hq/HQHeaderFramer.h => http3/Http3HeaderFramer.h} (75%)
 rename proxy/{hq/HQHeaderVIOAdaptor.cc => http3/Http3HeaderVIOAdaptor.cc} (69%)
 rename proxy/{hq/HQStreamDataVIOAdaptor.h => http3/Http3HeaderVIOAdaptor.h} (77%)
 rename proxy/{hq/HQSessionAccept.cc => http3/Http3SessionAccept.cc} (80%)
 rename proxy/{hq/HQSessionAccept.h => http3/Http3SessionAccept.h} (86%)
 rename proxy/{hq/HQStreamDataVIOAdaptor.cc => http3/Http3StreamDataVIOAdaptor.cc} (68%)
 rename proxy/{hq/HQHeaderVIOAdaptor.h => http3/Http3StreamDataVIOAdaptor.h} (76%)
 create mode 100644 proxy/http3/Http3Types.h
 rename proxy/{hq => http3}/Makefile.am (69%)
 rename proxy/{hq => http3}/QPACK.cc (100%)
 rename proxy/{hq => http3}/QPACK.h (99%)
 rename proxy/{hq => http3}/QUICSimpleApp.cc (85%)
 rename proxy/{hq => http3}/QUICSimpleApp.h (94%)
 rename proxy/{hq => http3}/test/Mock.h (77%)
 rename proxy/{hq => http3}/test/main.cc (100%)
 rename proxy/{hq => http3}/test/main_qpack.cc (98%)
 rename proxy/{hq => http3}/test/stub.cc (97%)
 create mode 100644 proxy/http3/test/test_Http3Frame.cc
 rename proxy/{hq/test/test_HQFrameDispatcher.cc => http3/test/test_Http3FrameDispatcher.cc} (83%)
 rename proxy/{hq => http3}/test/test_QPACK.cc (100%)