Searched refs:frame (Results 1 – 16 of 16) sorted by relevance
/curl/tests/http/clients/ |
H A D | ws-data.c | 104 const struct curl_ws_frame *frame; in recv_binary() local 112 result = curl_ws_recv(curl, recvbuf, sizeof(recvbuf), &nread, &frame); in recv_binary() 123 if(!(frame->flags & CURLWS_BINARY)) { in recv_binary() 125 (long)nread, frame->flags); in recv_binary() 128 if(frame->offset != (curl_off_t)r_offset) { in recv_binary() 130 (long)r_offset, (long)frame->offset); in recv_binary() 133 if(frame->bytesleft != (curl_off_t)(exp_len - r_offset - nread)) { in recv_binary() 135 (long)(exp_len - r_offset - nread), (long)frame->bytesleft); in recv_binary()
|
/curl/lib/ |
H A D | cf-h2-proxy.c | 574 switch(frame->hd.type) { in proxy_h2_fr_print() 578 (int)frame->hd.length, in proxy_h2_fr_print() 592 (int)frame->hd.length, frame->hd.flags); in proxy_h2_fr_print() 597 (int)frame->hd.length, frame->hd.flags, in proxy_h2_fr_print() 638 frame->hd.type, (int)frame->hd.length, in proxy_h2_fr_print() 639 frame->hd.flags); in proxy_h2_fr_print() 670 int32_t stream_id = frame->hd.stream_id; in proxy_h2_on_frame_recv() 687 switch(frame->hd.type) { in proxy_h2_on_frame_recv() 712 switch(frame->hd.type) { in proxy_h2_on_frame_recv() 749 int32_t stream_id = frame->hd.stream_id; in proxy_h2_on_header() [all …]
|
H A D | http2.c | 742 const nghttp2_push_promise *frame; member 887 frame->promised_stream_id); in push_promise() 915 heads.frame = frame; in push_promise() 1035 switch(frame->hd.type) { in on_stream_frame() 1100 if(frame->rst_stream.error_code) { in on_stream_frame() 1120 switch(frame->hd.type) { in fr_print() 1138 (int)frame->hd.length, frame->hd.flags); in fr_print() 1143 (int)frame->hd.length, frame->hd.flags, in fr_print() 1184 frame->hd.type, (int)frame->hd.length, in fr_print() 1185 frame->hd.flags); in fr_print() [all …]
|
H A D | ws.h | 73 struct curl_ws_frame frame; /* the current WS FRAME received */ member
|
H A D | ws.c | 349 ws->frame.age = frame_age; in update_meta() 350 ws->frame.flags = frame_flags; in update_meta() 351 ws->frame.offset = payload_offset; in update_meta() 352 ws->frame.len = cur_len; in update_meta() 353 ws->frame.bytesleft = (payload_len - payload_offset - cur_len); in update_meta() 1002 *metap = &ws->frame; in curl_ws_recv() 1003 *nread = ws->frame.len; in curl_ws_recv() 1181 return &data->conn->proto.ws->frame; in curl_ws_meta()
|
/curl/docs/examples/ |
H A D | websocket-cb.c | 35 const struct curl_ws_frame *frame = curl_ws_meta(easy); in writecb() local 36 fprintf(stderr, "Type: %s\n", frame->flags & CURLWS_BINARY ? in writecb()
|
/curl/docs/libcurl/ |
H A D | libcurl-ws.md | 53 over the wire in one or more frames. Each frame in a message can have a size 56 libcurl delivers WebSocket data as frame fragments. It might send a whole 57 frame, but it might also deliver them in pieces depending on size and network 60 arrive for the same frame. 62 A message has an unknown size until the last frame header for the message has
|
H A D | curl_ws_meta.md | 35 the callback to provide additional information about the current frame. 67 When this frame is a continuation of fragment data already delivered, this is
|
H A D | curl_easy_upkeep.md | 35 is called, an HTTP/2 PING frame is sent on the connection.
|
/curl/tests/data/ |
H A D | test2302 | 39 WebSockets via callback (frame mode) + curl_ws_send()
|
/curl/docs/libcurl/opts/ |
H A D | CURLOPT_WS_OPTIONS.md | 43 In raw mode, libcurl does not handle pings or any other frame for the
|
H A D | CURLOPT_UPKEEP_INTERVAL_MS.md | 38 is called, an HTTP/2 PING frame is sent on the connection.
|
H A D | CURLOPT_STREAM_WEIGHT.md | 38 sent to the server the next time an HTTP/2 frame is sent to the server.
|
H A D | CURLMOPT_PUSHFUNCTION.md | 38 server (using the PUSH_PROMISE frame). If no push callback is set, all offered
|
/curl/docs/ |
H A D | KNOWN_BUGS | 614 If the server sends HTTP/2 frames (like for example an HTTP/2 PING frame) to
|
/curl/m4/ |
H A D | curl-compilers.m4 | 1150 tmp_CFLAGS="$tmp_CFLAGS -fno-omit-frame-pointer"
|
Completed in 76 milliseconds