Lines Matching refs:frame
297 const nghttp2_frame *frame,
301 const nghttp2_frame *frame,
308 const nghttp2_frame *frame,
568 static int proxy_h2_fr_print(const nghttp2_frame *frame,
571 switch(frame->hd.type) {
575 (int)frame->hd.length,
576 !!(frame->hd.flags & NGHTTP2_FLAG_END_STREAM),
577 (int)frame->data.padlen);
582 (int)frame->hd.length,
583 !!(frame->hd.flags & NGHTTP2_FLAG_END_HEADERS),
584 !!(frame->hd.flags & NGHTTP2_FLAG_END_STREAM));
589 (int)frame->hd.length, frame->hd.flags);
594 (int)frame->hd.length, frame->hd.flags,
595 frame->rst_stream.error_code);
598 if(frame->hd.flags & NGHTTP2_FLAG_ACK) {
602 "FRAME[SETTINGS, len=%d]", (int)frame->hd.length);
607 (int)frame->hd.length,
608 !!(frame->hd.flags & NGHTTP2_FLAG_END_HEADERS));
613 (int)frame->hd.length,
614 frame->hd.flags&NGHTTP2_FLAG_ACK);
619 size_t len = (frame->goaway.opaque_data_len < s_len)?
620 frame->goaway.opaque_data_len : s_len-1;
622 memcpy(scratch, frame->goaway.opaque_data, len);
625 "last_stream=%d]", frame->goaway.error_code,
626 scratch, frame->goaway.last_stream_id);
631 frame->window_update.window_size_increment);
635 frame->hd.type, (int)frame->hd.length,
636 frame->hd.flags);
641 const nghttp2_frame *frame,
652 len = proxy_h2_fr_print(frame, buffer, sizeof(buffer)-1);
654 CURL_TRC_CF(data, cf, "[%d] -> %s", frame->hd.stream_id, buffer);
661 const nghttp2_frame *frame,
667 int32_t stream_id = frame->hd.stream_id;
675 len = proxy_h2_fr_print(frame, buffer, sizeof(buffer)-1);
677 CURL_TRC_CF(data, cf, "[%d] <- %s",frame->hd.stream_id, buffer);
684 switch(frame->hd.type) {
709 switch(frame->hd.type) {
737 const nghttp2_frame *frame,
746 int32_t stream_id = frame->hd.stream_id;
760 if(frame->hd.type == NGHTTP2_PUSH_PROMISE)
1411 * frame buffer or our network out buffer. */