Remove references to stateless reject from various comments and tests.
gfe-relnote: (n/a) Test and comment only.
PiperOrigin-RevId: 252828654
Change-Id: I55373e14b58c895c48886a142440418ba2faeecf
diff --git a/quic/tools/quic_simple_crypto_server_stream_helper.h b/quic/tools/quic_simple_crypto_server_stream_helper.h
index f8a58f6..3480776 100644
--- a/quic/tools/quic_simple_crypto_server_stream_helper.h
+++ b/quic/tools/quic_simple_crypto_server_stream_helper.h
@@ -11,7 +11,7 @@
namespace quic {
// Simple helper for server crypto streams which generates a new random
-// connection ID for stateless rejects.
+// connection ID for rejects.
class QuicSimpleCryptoServerStreamHelper
: public QuicCryptoServerStream::Helper {
public:
diff --git a/quic/tools/quic_spdy_client_base.h b/quic/tools/quic_spdy_client_base.h
index 7481bfa..3de7186 100644
--- a/quic/tools/quic_spdy_client_base.h
+++ b/quic/tools/quic_spdy_client_base.h
@@ -39,13 +39,9 @@
const std::string& response_body) = 0;
};
- // The client uses these objects to keep track of any data to resend upon
- // receipt of a stateless reject. Recall that the client API allows callers
- // to optimistically send data to the server prior to handshake-confirmation.
- // If the client subsequently receives a stateless reject, it must tear down
- // its existing session, create a new session, and resend all previously sent
- // data. It uses these objects to keep track of all the sent data, and to
- // resend the data upon a subsequent connection.
+ // A piece of data that can be sent multiple times. For example, it can be a
+ // HTTP request that is resent after a connect=>version negotiation=>reconnect
+ // sequence.
class QuicDataToResend {
public:
// |headers| may be null, since it's possible to send data without headers.