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.c108 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 Dcf-h2-proxy.c575 switch(frame->hd.type) { in proxy_h2_fr_print()
579 (int)frame->hd.length, in proxy_h2_fr_print()
593 (int)frame->hd.length, frame->hd.flags); in proxy_h2_fr_print()
598 (int)frame->hd.length, frame->hd.flags, in proxy_h2_fr_print()
637 frame->hd.type, (int)frame->hd.length, in proxy_h2_fr_print()
638 frame->hd.flags); in proxy_h2_fr_print()
669 int32_t stream_id = frame->hd.stream_id; in proxy_h2_on_frame_recv()
686 switch(frame->hd.type) { in proxy_h2_on_frame_recv()
711 switch(frame->hd.type) { in proxy_h2_on_frame_recv()
748 int32_t stream_id = frame->hd.stream_id; in proxy_h2_on_header()
[all …]
H A Dhttp2.c816 const nghttp2_push_promise *frame; member
950 frame->promised_stream_id); in push_promise()
978 heads.frame = frame; in push_promise()
1102 switch(frame->hd.type) { in on_stream_frame()
1167 if(frame->rst_stream.error_code) { in on_stream_frame()
1193 switch(frame->hd.type) { in fr_print()
1211 (int)frame->hd.length, frame->hd.flags); in fr_print()
1216 (int)frame->hd.length, frame->hd.flags, in fr_print()
1257 frame->hd.type, (int)frame->hd.length, in fr_print()
1258 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.c353 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()
1003 *metap = &ws->frame; in curl_ws_recv()
1004 *nread = ws->frame.len; in curl_ws_recv()
1007 buflen, *nread, ws->frame.offset, ws->frame.bytesleft); in curl_ws_recv()
1298 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.md54 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 Dcurl_ws_meta.md36 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 Dcurl_easy_upkeep.md36 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.md44 In raw mode, libcurl does not handle pings or any other frame for the
H A DCURLOPT_UPKEEP_INTERVAL_MS.md39 is called, an HTTP/2 PING frame is sent on the connection.
H A DCURLOPT_STREAM_WEIGHT.md39 sent to the server the next time an HTTP/2 frame is sent to the server.
H A DCURLMOPT_PUSHFUNCTION.md39 server (using the PUSH_PROMISE frame). If no push callback is set, all offered
/curl/docs/
H A DKNOWN_BUGS587 If the server sends HTTP/2 frames (like for example an HTTP/2 PING frame) to
/curl/m4/
H A Dcurl-compilers.m41154 tmp_CFLAGS="$tmp_CFLAGS -fno-omit-frame-pointer"

Completed in 43 milliseconds