Searched refs:frame (Results 1 – 16 of 16) sorted by relevance
/curl/tests/http/clients/ |
H A D | ws-data.c | 108 const struct curl_ws_frame *frame; in recv_binary() local 116 result = curl_ws_recv(curl, recvbuf, sizeof(recvbuf), &nread, &frame); in recv_binary() 131 if(!(frame->flags & CURLWS_BINARY)) { in recv_binary() 133 (long)nread, frame->flags); in recv_binary() 136 if(frame->offset != (curl_off_t)r_offset) { in recv_binary() 138 (long)r_offset, (long)frame->offset); in recv_binary() 141 if(frame->bytesleft != (curl_off_t)(exp_len - r_offset - nread)) { in recv_binary() 143 (long)(exp_len - r_offset - nread), (long)frame->bytesleft); in recv_binary()
|
/curl/lib/ |
H A D | cf-h2-proxy.c | 577 switch(frame->hd.type) { in proxy_h2_fr_print() 581 (int)frame->hd.length, in proxy_h2_fr_print() 595 (int)frame->hd.length, frame->hd.flags); in proxy_h2_fr_print() 600 (int)frame->hd.length, frame->hd.flags, in proxy_h2_fr_print() 639 frame->hd.type, (int)frame->hd.length, in proxy_h2_fr_print() 640 frame->hd.flags); in proxy_h2_fr_print() 671 int32_t stream_id = frame->hd.stream_id; in proxy_h2_on_frame_recv() 688 switch(frame->hd.type) { in proxy_h2_on_frame_recv() 713 switch(frame->hd.type) { in proxy_h2_on_frame_recv() 750 int32_t stream_id = frame->hd.stream_id; in proxy_h2_on_header() [all …]
|
H A D | http2.c | 821 const nghttp2_push_promise *frame; member 955 frame->promised_stream_id); in push_promise() 983 heads.frame = frame; in push_promise() 1107 switch(frame->hd.type) { in on_stream_frame() 1169 if(frame->rst_stream.error_code) { in on_stream_frame() 1211 switch(frame->hd.type) { in fr_print() 1229 (int)frame->hd.length, frame->hd.flags); in fr_print() 1234 (int)frame->hd.length, frame->hd.flags, in fr_print() 1275 frame->hd.type, (int)frame->hd.length, in fr_print() 1276 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 | 353 ws->frame.age = frame_age; in update_meta() 354 ws->frame.flags = frame_flags; in update_meta() 355 ws->frame.offset = payload_offset; in update_meta() 356 ws->frame.len = cur_len; in update_meta() 357 ws->frame.bytesleft = (payload_len - payload_offset - cur_len); in update_meta() 1005 *metap = &ws->frame; in curl_ws_recv() 1006 *nread = ws->frame.len; in curl_ws_recv() 1009 buflen, *nread, ws->frame.offset, ws->frame.bytesleft); in curl_ws_recv() 1303 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 | 54 over the wire in one or more frames. Each frame in a message can have a size 57 libcurl delivers WebSocket data as frame fragments. It might send a whole 58 frame, but it might also deliver them in pieces depending on size and network 61 arrive for the same frame. 63 A message has an unknown size until the last frame header for the message has
|
H A D | curl_ws_meta.md | 36 the callback to provide additional information about the current frame. 68 When this frame is a continuation of fragment data already delivered, this is
|
H A D | curl_easy_upkeep.md | 36 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 | 44 In raw mode, libcurl does not handle pings or any other frame for the
|
H A D | CURLOPT_UPKEEP_INTERVAL_MS.md | 39 is called, an HTTP/2 PING frame is sent on the connection.
|
H A D | CURLOPT_STREAM_WEIGHT.md | 39 sent to the server the next time an HTTP/2 frame is sent to the server.
|
H A D | CURLMOPT_PUSHFUNCTION.md | 39 server (using the PUSH_PROMISE frame). If no push callback is set, all offered
|
/curl/docs/ |
H A D | KNOWN_BUGS | 596 If the server sends HTTP/2 frames (like for example an HTTP/2 PING frame) to
|
/curl/m4/ |
H A D | curl-compilers.m4 | 1154 tmp_CFLAGS="$tmp_CFLAGS -fno-omit-frame-pointer"
|
Completed in 30 milliseconds