Searched refs:parser_state (Results 1 – 6 of 6) sorted by relevance
393 ctx->parser_state = WEBSOCKET_PARSER_STATE_OPCODE; in websocket_connect()793 if (ctx->parser_state != WEBSOCKET_PARSER_STATE_PAYLOAD) { in websocket_parse()796 switch (ctx->parser_state) { in websocket_parse()802 ctx->parser_state = WEBSOCKET_PARSER_STATE_LENGTH; in websocket_parse()812 ctx->parser_state = WEBSOCKET_PARSER_STATE_MASK; in websocket_parse()815 ctx->parser_state = in websocket_parse()823 ctx->parser_state = WEBSOCKET_PARSER_STATE_EXT_LEN; in websocket_parse()833 ctx->parser_state = WEBSOCKET_PARSER_STATE_MASK; in websocket_parse()836 ctx->parser_state = WEBSOCKET_PARSER_STATE_PAYLOAD; in websocket_parse()846 ctx->parser_state = WEBSOCKET_PARSER_STATE_OPCODE; in websocket_parse()[all …]
109 enum websocket_parser_state parser_state; member
314 if (client->parser_state == HTTP1_MESSAGE_COMPLETE_STATE) { in dynamic_post_put_req()362 if (client->parser_state == HTTP1_MESSAGE_COMPLETE_STATE) { in dynamic_post_put_req()631 ctx->parser_state = HTTP1_RECEIVING_HEADER_STATE; in on_header_field()725 ctx->parser_state = HTTP1_RECEIVED_HEADER_STATE; in on_headers_complete()737 ctx->parser_state = HTTP1_WAITING_HEADER_STATE; in on_url()757 ctx->parser_state = HTTP1_RECEIVING_DATA_STATE; in on_body()770 ctx->parser_state = HTTP1_MESSAGE_COMPLETE_STATE; in on_message_complete()788 client->parser_state = HTTP1_INIT_HEADER_STATE; in enter_http1_request()805 bool skip_headers = (client->parser_state < HTTP1_RECEIVING_DATA_STATE); in handle_http1_request()825 if (client->parser_state < HTTP1_RECEIVED_HEADER_STATE) { in handle_http1_request()[all …]
94 if (client->parser_state == HTTP1_MESSAGE_COMPLETE_STATE) { in handle_http1_to_websocket_upgrade()
996 if (client->parser_state == HTTP1_MESSAGE_COMPLETE_STATE) { in handle_http1_to_http2_upgrade()1079 if (client->parser_state == HTTP1_MESSAGE_COMPLETE_STATE) { in handle_http1_to_http2_upgrade()
457 enum http1_parser_state parser_state; member