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()
862 curl_off_t payload_len; member
[all …]
H A Dws.h48 curl_off_t payload_len; member
57 curl_off_t payload_len; /* payload length of current frame */ member
/curl/tests/server/
H A Dmqttd.c495 size_t payload_len; in mqttit() local
569 payload_len = (size_t)(buffer[10] << 8) | buffer[11]; in mqttit()
571 client_id_length = payload_len; in mqttit()
576 start_usr = client_id_offset + payload_len; in mqttit()
579 payload_len += (size_t)(buffer[start_usr] << 8) | in mqttit()
581 payload_len += 2; /* MSB and LSB for user length */ in mqttit()
584 start_passwd = client_id_offset + payload_len; in mqttit()
587 payload_len += (size_t)(buffer[start_passwd] << 8) | in mqttit()
589 payload_len += 2; /* MSB and LSB for password length */ in mqttit()
593 if((ssize_t)payload_len != (rc - 12)) { in mqttit()
[all …]

Completed in 10 milliseconds