Home | History | Annotate | Download | only in spdy

Lines Matching refs:GOAWAY

271   // Size, in bytes, of this GOAWAY frame. Calculated as:
278 // 3. SPDY 3+ GOAWAY frames also contain a status (4 bytes)
493 case GOAWAY:
494 return "GOAWAY";
947 case GOAWAY:
951 // be appended to the GOAWAY frame, thus there is only a minimal length
1060 if (current_frame_type_ == GOAWAY) {
1879 // Check if we had already read enough bytes to parse the GOAWAY header.
1884 // Buffer the new GOAWAY header bytes we got.
1887 // Do we have enough to parse the constant size GOAWAY header?
1914 // Finished parsing the GOAWAY header, call frame handler.
2565 const SpdyGoAwayIR& goaway) const {
2570 expected_length += goaway.description().size();
2574 // Serialize the GOAWAY frame.
2576 builder.WriteControlFrameHeader(*this, GOAWAY, kNoFlags);
2578 builder.BeginNewFrame(*this, GOAWAY, 0, 0);
2581 // GOAWAY frames specify the last good stream id for all SPDY versions.
2582 builder.WriteUInt32(goaway.last_good_stream_id());
2584 // In SPDY3 and up, GOAWAY frames also specify the error status code.
2588 goaway.status()));
2591 // In SPDY4 and up, GOAWAY frames may also specify opaque data.
2592 if ((protocol_version() > SPDY3) && (goaway.description().size() > 0)) {
2593 builder.WriteBytes(goaway.description().data(),
2594 goaway.description().size());
2868 virtual void VisitGoAway(const SpdyGoAwayIR& goaway) OVERRIDE {
2869 frame_.reset(framer_->SerializeGoAway(goaway));