#include "net/quic/crypto/crypto_handshake.h"
#include "net/quic/quic_connection.h"
#include "net/quic/quic_session.h"
+#include "net/quic/quic_utils.h"
using std::string;
using base::StringPiece;
encryption_established_(false),
handshake_confirmed_(false) {
crypto_framer_.set_visitor(this);
+ DisableFlowControl();
}
void QuicCryptoStream::OnError(CryptoFramer* framer) {
// any other frames in a single packet.
session()->connection()->Flush();
// TODO(wtc): check the return value.
- WriteOrBufferData(string(data.data(), data.length()), false);
+ WriteOrBufferData(string(data.data(), data.length()), false, NULL);
session()->connection()->Flush();
}