Home
last modified time | relevance | path

Searched refs:payload_len (Results 1 – 3 of 3) sorted by relevance

/curl/lib/
H A Dws.c156 dec->payload_len = 0; in ws_dec_reset()
226 dec->payload_len = dec->head[1]; in ws_dec_read_head()
320 if(dec->payload_len == 0) { in ws_dec_pass()
414 payload_len, buflen); in ws_cw_dec_next()
500 enc->payload_len - enc->payload_remain, enc->payload_len); in ws_enc_info()
551 if(payload_len < 0) { in ws_enc_write_head()
595 if(payload_len > 65535) { in ws_enc_write_head()
607 else if(payload_len >= 126) { in ws_enc_write_head()
618 enc->payload_remain = enc->payload_len = payload_len; in ws_enc_write_head()
854 curl_off_t payload_len; member
[all …]
H A Dws.h42 curl_off_t payload_len; member
51 curl_off_t payload_len; /* payload length of current frame */ member
/curl/tests/server/
H A Dmqttd.c497 size_t payload_len; in mqttit() local
571 payload_len = (size_t)(buffer[10] << 8) | buffer[11]; in mqttit()
573 client_id_length = payload_len; in mqttit()
578 start_usr = client_id_offset + payload_len; in mqttit()
581 payload_len += (size_t)(buffer[start_usr] << 8) | in mqttit()
583 payload_len += 2; /* MSB and LSB for user length */ in mqttit()
586 start_passwd = client_id_offset + payload_len; in mqttit()
589 payload_len += (size_t)(buffer[start_passwd] << 8) | in mqttit()
591 payload_len += 2; /* MSB and LSB for password length */ in mqttit()
595 if((ssize_t)payload_len != (rc - 12)) { in mqttit()
[all …]

Completed in 10 milliseconds