Commit 30c1741a authored by Bence Béky's avatar Bence Béky Committed by Commit Bot

Roll src/net/third_party/quiche/src/ d57d3f905..58ac6508f (22 commits)

https://quiche.googlesource.com/quiche.git/+log/d57d3f905ac4..58ac6508f78f

$ git log d57d3f905..58ac6508f --date=short --no-merges --format='%ad %ae %s'
2019-07-17 bnc Use testing::Eq() for QuicStringPiece.
2019-07-17 bnc Revert SipHash change.
2019-07-17 bnc Refactor QpackEncoder to do two-pass encoding.
2019-07-17 bnc Factor out QpackInstructionEncoder::Values.
2019-07-17 bnc Consume unknown frames in QuicReceiveControlStream.
2019-07-17 wub gfe-relnote: In QuicSpdyClientBase, automatically convert HTTP request header names to lower case. Protected by default true, non-feature flag --quic_client_convert_http_header_name_to_lowercase.
2019-07-16 renjietang Remove stream counting for pending streams.
2019-07-16 quiche-dev Don't split sent messages on MemSlice boundaries.
2019-07-16 bnc Automated g4 rollback of changelist 258400699.
2019-07-16 fayang gfe-relnote: In QUIC, replace constant kMaxTrackedPackets with a flag. No functional change expected. Not protected.
2019-07-16 renjietang Merge GetOrCreateDynamicStream() into GetOrCreateStream().
2019-07-16 fayang Internal QUICHE change
2019-07-16 fayang gfe-relnote: In QUIC, when RTO fires and there is no packet to be RTOed, let connection send data. Protected by gfe2_reloadable_flag_quic_fix_rto_retransmission.
2019-07-16 nharper Fix logging in QuicFlowController
2019-07-16 dschinazi QuicConnectionId::Hash adoption of SipHash
2019-07-16 fkastenholz Use VarInt encoding for IETF QUIC Reset Stream error code
2019-07-16 bnc Make HttpDecoder::ParsePriorityFrame() more robust.
2019-07-16 fkastenholz Update IETF QUIC Stop Sending to use varint for error code
2019-07-16 renjietang Remove the previous headers_stream_ and Change unowned_headers_stream_ to header_stream_.
2019-07-16 quiche-dev gfe-relnote: Add support for sending MAX_PUSH_ID, defaulting to zero and close connection if we receive a push ID higher than the max. Protected by the existing disabled and blocked quic_enable_version_99 reloadable flag.
2019-07-16 fkastenholz IETF CONNECTION CLOSE code is varint encoded
2019-07-16 fayang gfe-relnote: Deprecate  gfe2_reloadable_flag_quic_check_connected_before_flush.

Created with:
  roll-dep src/net/third_party/quiche/src src/third_party/quic_trace/src

Change-Id: I11ca5f3cc299d5c1527181df6b152feee28ad8ed
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1706576
Auto-Submit: Bence Béky <bnc@chromium.org>
Commit-Queue: Ryan Hamilton <rch@chromium.org>
Reviewed-by: default avatarRyan Hamilton <rch@chromium.org>
Cr-Commit-Position: refs/heads/master@{#678320}
parent 31b206b4
...@@ -283,7 +283,7 @@ vars = { ...@@ -283,7 +283,7 @@ vars = {
# Three lines of non-changing comments so that # Three lines of non-changing comments so that
# the commit queue can handle CLs rolling feed # the commit queue can handle CLs rolling feed
# and whatever else without interference from each other. # and whatever else without interference from each other.
'quiche_revision': 'd57d3f905ac470ad0b31352907668c22ffb0c0b4', 'quiche_revision': '58ac6508f78fd1a1685d9ad23b3fc084ee54e764',
# Three lines of non-changing comments so that # Three lines of non-changing comments so that
# the commit queue can handle CLs rolling ios_webkit # the commit queue can handle CLs rolling ios_webkit
# and whatever else without interference from each other. # and whatever else without interference from each other.
......
...@@ -35,6 +35,11 @@ QuicMemSliceStorageImpl::QuicMemSliceStorageImpl( ...@@ -35,6 +35,11 @@ QuicMemSliceStorageImpl::QuicMemSliceStorageImpl(
} }
} }
void QuicMemSliceStorageImpl::Append(QuicMemSliceImpl mem_slice) {
buffers_.push_back(*mem_slice.impl());
lengths_.push_back(mem_slice.length());
}
QuicMemSliceStorageImpl::QuicMemSliceStorageImpl( QuicMemSliceStorageImpl::QuicMemSliceStorageImpl(
const QuicMemSliceStorageImpl& other) = default; const QuicMemSliceStorageImpl& other) = default;
QuicMemSliceStorageImpl::QuicMemSliceStorageImpl( QuicMemSliceStorageImpl::QuicMemSliceStorageImpl(
......
...@@ -33,6 +33,8 @@ class QUIC_EXPORT_PRIVATE QuicMemSliceStorageImpl { ...@@ -33,6 +33,8 @@ class QUIC_EXPORT_PRIVATE QuicMemSliceStorageImpl {
buffers_.data(), lengths_.data(), buffers_.size())); buffers_.data(), lengths_.data(), buffers_.size()));
} }
void Append(QuicMemSliceImpl mem_slice);
private: private:
std::vector<scoped_refptr<net::IOBuffer>> buffers_; std::vector<scoped_refptr<net::IOBuffer>> buffers_;
std::vector<size_t> lengths_; std::vector<size_t> lengths_;
......
...@@ -628,6 +628,7 @@ void QuicConnectionLogger::OnStreamFrame(const quic::QuicStreamFrame& frame) { ...@@ -628,6 +628,7 @@ void QuicConnectionLogger::OnStreamFrame(const quic::QuicStreamFrame& frame) {
} }
void QuicConnectionLogger::OnIncomingAck( void QuicConnectionLogger::OnIncomingAck(
quic::QuicPacketNumber ack_packet_number,
const quic::QuicAckFrame& frame, const quic::QuicAckFrame& frame,
quic::QuicTime ack_receive_time, quic::QuicTime ack_receive_time,
quic::QuicPacketNumber largest_observed, quic::QuicPacketNumber largest_observed,
......
...@@ -51,7 +51,8 @@ class NET_EXPORT_PRIVATE QuicConnectionLogger ...@@ -51,7 +51,8 @@ class NET_EXPORT_PRIVATE QuicConnectionLogger
quic::QuicPacketNumber original_packet_number, quic::QuicPacketNumber original_packet_number,
quic::TransmissionType transmission_type, quic::TransmissionType transmission_type,
quic::QuicTime sent_time) override; quic::QuicTime sent_time) override;
void OnIncomingAck(const quic::QuicAckFrame& frame, void OnIncomingAck(quic::QuicPacketNumber ack_packet_number,
const quic::QuicAckFrame& frame,
quic::QuicTime ack_receive_time, quic::QuicTime ack_receive_time,
quic::QuicPacketNumber largest_observed, quic::QuicPacketNumber largest_observed,
bool rtt_updated, bool rtt_updated,
......
...@@ -305,3 +305,23 @@ QUIC_FLAG( ...@@ -305,3 +305,23 @@ QUIC_FLAG(
bool, bool,
FLAGS_quic_reloadable_flag_quic_reject_unprocessable_packets_statelessly, FLAGS_quic_reloadable_flag_quic_reject_unprocessable_packets_statelessly,
false) false)
// When true, QuicConnectionId::Hash uses SipHash instead of XOR.
QUIC_FLAG(bool, FLAGS_quic_restart_flag_quic_connection_id_use_siphash, false)
// If true, when RTO fires and there is no packet to be RTOed, let connection
// send.
QUIC_FLAG(bool, FLAGS_quic_reloadable_flag_quic_fix_rto_retransmission, true)
// If true, QuicSession::GetOrCreateDynamicStream() is deprecated, and its
// contents are moved to GetOrCreateStream().
QUIC_FLAG(bool,
FLAGS_quic_reloadable_flag_quic_inline_getorcreatedynamicstream,
false)
// Maximum number of tracked packets.
QUIC_FLAG(int64_t, FLAGS_quic_max_tracked_packet_count, 10000)
// If true, HTTP request header names sent from QuicSpdyClientBase(and
// descendents) will be automatically converted to lower case.
QUIC_FLAG(bool, FLAGS_quic_client_convert_http_header_name_to_lowercase, true)
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment