Searched refs:syn_stream (Results 1 – 10 of 10) sorted by relevance
991 SpdySynStreamIR syn_stream(stream_id); in ConstructSpdyPush() local992 syn_stream.set_associated_to_stream_id(associated_stream_id); in ConstructSpdyPush()993 syn_stream.SetHeader("hello", "bye"); in ConstructSpdyPush()994 syn_stream.SetHeader(GetStatusKey(), "200 OK"); in ConstructSpdyPush()995 syn_stream.SetHeader(GetVersionKey(), "HTTP/1.1"); in ConstructSpdyPush()996 AddUrlToHeaderBlock(url, syn_stream.mutable_name_value_block()); in ConstructSpdyPush()999 syn_stream.mutable_name_value_block()); in ConstructSpdyPush()1000 return CreateFramer(false)->SerializeFrame(syn_stream); in ConstructSpdyPush()1035 SpdySynStreamIR syn_stream(stream_id); in ConstructSpdyPush() local1036 syn_stream.set_associated_to_stream_id(associated_stream_id); in ConstructSpdyPush()[all …]
121 SpdySynStreamIR syn_stream(stream_id); in OnSynStream() local122 syn_stream.set_associated_to_stream_id(associated_stream_id); in OnSynStream()123 syn_stream.set_priority(priority); in OnSynStream()124 syn_stream.set_fin(fin); in OnSynStream()125 syn_stream.set_unidirectional(unidirectional); in OnSynStream()126 scoped_ptr<SpdyFrame> frame(framer.SerializeSynStream(syn_stream)); in OnSynStream()965 SpdySynStreamIR syn_stream(1); in TEST_P() local966 syn_stream.set_priority(1); in TEST_P()967 syn_stream.SetHeader("server", "SpdyServer 1.0"); in TEST_P()968 syn_stream.SetHeader("date", "Mon 12 Jan 2009 12:12:12 PST"); in TEST_P()[all …]
278 SpdySynStreamIR syn_stream(stream_id); in CreateSynStream() local279 syn_stream.set_associated_to_stream_id(associated_stream_id); in CreateSynStream()280 syn_stream.set_priority(priority); in CreateSynStream()281 syn_stream.set_fin((flags & CONTROL_FLAG_FIN) != 0); in CreateSynStream()282 syn_stream.set_unidirectional((flags & CONTROL_FLAG_UNIDIRECTIONAL) != 0); in CreateSynStream()284 syn_stream.set_name_value_block(*headers); in CreateSynStream()285 return spdy_framer_.SerializeSynStream(syn_stream); in CreateSynStream()
2369 const SpdySynStreamIR& syn_stream) { in SerializeSynStream() argument2372 if (syn_stream.fin()) { in SerializeSynStream()2375 if (syn_stream.unidirectional()) { in SerializeSynStream()2381 uint8 priority = syn_stream.priority(); in SerializeSynStream()2389 GetSerializedLength(syn_stream.name_value_block()); in SerializeSynStream()2393 builder.WriteUInt32(syn_stream.stream_id()); in SerializeSynStream()2394 builder.WriteUInt32(syn_stream.associated_to_stream_id()); in SerializeSynStream()2398 SerializeNameValueBlock(&builder, syn_stream); in SerializeSynStream()2403 &(syn_stream.name_value_block())); in SerializeSynStream()2404 debug_visitor_->OnSendCompressedFrame(syn_stream.stream_id(), in SerializeSynStream()[all …]
1056 SpdySynStreamIR syn_stream(stream_id); in CreateSynStream() local1057 syn_stream.set_associated_to_stream_id(0); in CreateSynStream()1058 syn_stream.set_priority(spdy_priority); in CreateSynStream()1059 syn_stream.set_fin((flags & CONTROL_FLAG_FIN) != 0); in CreateSynStream()1060 syn_stream.set_unidirectional((flags & CONTROL_FLAG_UNIDIRECTIONAL) != 0); in CreateSynStream()1061 syn_stream.set_name_value_block(block); in CreateSynStream()1062 syn_frame.reset(buffered_spdy_framer_->SerializeFrame(syn_stream)); in CreateSynStream()
437 SpdySerializedFrame* SerializeSynStream(const SpdySynStreamIR& syn_stream);
1041 virtual void VisitSynStream(const SpdySynStreamIR& syn_stream) = 0;
205 SpdySynStreamIR syn_stream(stream_id); in WriteHeaders() local206 syn_stream.set_name_value_block(headers); in WriteHeaders()207 syn_stream.set_fin(fin); in WriteHeaders()208 frame.reset(spdy_framer_.SerializeFrame(syn_stream)); in WriteHeaders()
222 SpdySynStreamIR syn_stream(stream_id); in TEST_P() local223 syn_stream.set_name_value_block(headers_); in TEST_P()224 syn_stream.set_fin(fin); in TEST_P()225 frame.reset(framer_.SerializeSynStream(syn_stream)); in TEST_P()
184 SpdySynStreamIR syn_stream(stream_id); in MakeRequestHeadersPacket() local185 syn_stream.set_name_value_block(headers); in MakeRequestHeadersPacket()186 syn_stream.set_fin(fin); in MakeRequestHeadersPacket()187 syn_stream.set_priority(0); in MakeRequestHeadersPacket()189 spdy_request_framer_.SerializeSynStream(syn_stream)); in MakeRequestHeadersPacket()