Lines Matching refs:frame

190         /* A client MUST close a connection if it detects a masked frame. */
191 failf(data, "WS: masked input frame");
195 /* How long is the frame head? */
218 /* got the complete frame head */
229 failf(data, "WS: frame length longer than 64 signed not supported");
244 failf(data, "WS: unexpected frame header length");
311 /* incomplete ws frame head */
320 /* special case of a 0 length frame, need to write once */
350 ws->frame.age = frame_age;
351 ws->frame.flags = frame_flags;
352 ws->frame.offset = payload_offset;
353 ws->frame.len = cur_len;
354 ws->frame.bytesleft = (payload_len - payload_offset - cur_len);
400 /* auto-respond to PINGs, only works for single-frame payloads atm */
409 /* forward the decoded frame to the next client writer. */
468 infof(data, "WS: decode ending with %zd frame bytes remaining",
548 failf(data, "WS: starting new frame with negative payload length %"
555 /* trying to write a new frame before the previous one is finished */
556 failf(data, "WS: starting new frame with %zd bytes from last one"
867 /* auto-respond to PINGs, only works for single-frame payloads atm */
979 /* The decoded frame is passed back to our caller.
987 /* update frame information to be passed back */
990 *metap = &ws->frame;
991 *nread = ws->frame.len;
992 /* infof(data, "curl_ws_recv(len=%zu) -> %zu bytes (frame at %"
994 buflen, *nread, ws->frame.offset, ws->frame.bytesleft); */
1088 /* Not RAW mode, buf we do the frame encoding */
1103 /* a frame series 'fragsize' bytes big, this is the first */
1111 infof(data, "WS: unaligned frame size (sending %zu instead of %"
1172 return &data->conn->proto.ws->frame;