Home
last modified time | relevance | path

Searched refs:frame (Results 1 – 16 of 16) sorted by relevance

/curl/tests/http/clients/
H A Dws-data.c104 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 Dcf-h2-proxy.c574 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 Dhttp2.c742 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 Dws.h73 struct curl_ws_frame frame; /* the current WS FRAME received */ member
H A Dws.c349 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 Dwebsocket-cb.c35 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 Dlibcurl-ws.md53 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 Dcurl_ws_meta.md35 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 Dcurl_easy_upkeep.md35 is called, an HTTP/2 PING frame is sent on the connection.
/curl/tests/data/
H A Dtest230239 WebSockets via callback (frame mode) + curl_ws_send()
/curl/docs/libcurl/opts/
H A DCURLOPT_WS_OPTIONS.md43 In raw mode, libcurl does not handle pings or any other frame for the
H A DCURLOPT_UPKEEP_INTERVAL_MS.md38 is called, an HTTP/2 PING frame is sent on the connection.
H A DCURLOPT_STREAM_WEIGHT.md38 sent to the server the next time an HTTP/2 frame is sent to the server.
H A DCURLMOPT_PUSHFUNCTION.md38 server (using the PUSH_PROMISE frame). If no push callback is set, all offered
/curl/docs/
H A DKNOWN_BUGS614 If the server sends HTTP/2 frames (like for example an HTTP/2 PING frame) to
/curl/m4/
H A Dcurl-compilers.m41150 tmp_CFLAGS="$tmp_CFLAGS -fno-omit-frame-pointer"

Completed in 76 milliseconds