Home | History | Annotate | Download | only in spdy

Lines Matching refs:HEADERS

268   // Size, in bytes, of a HEADERS frame not including the variable-length
314 // headers fragments.
478 case HEADERS:
479 return "HEADERS";
526 // (SYN_STREAM, SYN_REPLY, HEADERS, PUSH_PROMISE, CONTINUATION)
925 case HEADERS:
1051 case HEADERS:
1117 const SpdyHeaderBlock* headers) {
1124 for (SpdyHeaderBlock::const_iterator it = headers->begin();
1125 it != headers->end();
1137 const SpdyHeaderBlock* headers) {
1139 frame->WriteUInt16(headers->size()); // Number of headers.
1141 frame->WriteUInt32(headers->size()); // Number of headers.
1144 for (it = headers->begin(); it != headers->end(); ++it) {
1224 // WriteHeaderBlockToZ serialises |headers| to the deflate context |z| in a
1227 void SpdyFramer::WriteHeaderBlockToZ(const SpdyHeaderBlock* headers,
1233 WriteLengthZ(headers->size(), length_length, kZStandardData, z);
1236 for (it = headers->begin(); it != headers->end(); ++it) {
1308 // Non-whitelisted headers are Huffman compressed in their own block, but
1395 case HEADERS:
1396 // SYN_REPLY and HEADERS are the same, save for the visitor call.
1399 DCHECK_EQ(HEADERS, current_frame_type_);
1416 current_frame_type_ == HEADERS) {
1434 // SPDY 4 reports HEADERS with PRIORITY as SYN_STREAM.
1543 current_frame_type_ != HEADERS &&
2113 DCHECK(current_frame_type_ == HEADERS ||
2202 // Read number of headers.
2207 DVLOG(1) << "Unable to read number of headers.";
2213 DVLOG(1) << "Unable to read number of headers.";
2348 // In SPDY >= 4, SYN_STREAM frames are HEADERS frames, but for now
2388 HEADERS,
2423 // In SPDY >= 4, SYN_REPLY frames are HEADERS frames, but for now
2452 HEADERS,
2629 const SpdyHeadersIR& headers) {
2631 if (headers.fin()) {
2637 if (headers.has_priority()) {
2645 uint32 priority = headers.priority();
2646 if (headers.has_priority()) {
2658 headers.name_value_block(), &hpack_encoding);
2661 headers.name_value_block(), &hpack_encoding);
2670 size += GetSerializedLength(headers.name_value_block());
2675 builder.WriteControlFrameHeader(*this, HEADERS, flags);
2676 builder.WriteUInt32(headers.stream_id());
2679 HEADERS,
2681 headers.stream_id());
2682 if (headers.has_priority()) {
2696 headers.stream_id(),
2697 HEADERS);
2699 SerializeNameValueBlock(&builder, headers);
2706 &(headers.name_value_block()));
2707 debug_visitor_->OnSendCompressedFrame(headers.stream_id(),
2708 HEADERS,
2889 virtual void VisitHeaders(const SpdyHeadersIR& headers) OVERRIDE {
2890 frame_.reset(framer_->SerializeHeaders(headers));
2924 size_t SpdyFramer::GetSerializedLength(const SpdyHeaderBlock& headers) {
2927 GetSerializedLength(protocol_version(), &headers);
2956 if (type == HEADERS) {
3097 LOG(DFATAL) << "Couldn't get decompressor for handling compressed headers.";
3107 // If we get a SYN_STREAM/SYN_REPLY/HEADERS frame with stream ID zero, we
3180 // Serialize number of headers.