Lines Matching refs:lwsi_state
48 lwsl_debug("%s: h1 path: wsi state 0x%x\n", __func__, lwsi_state(wsi)); in lws_read_h1()
50 switch (lwsi_state(wsi)) { in lws_read_h1()
105 switch (lwsi_state(wsi)) { in lws_read_h1()
161 if (lwsi_state(wsi) != LRS_DISCARD_BODY) { in lws_read_h1()
198 if (lwsi_state(wsi) == LRS_DISCARD_BODY) { in lws_read_h1()
269 lwsl_err("%s: Unhandled state %d\n", __func__, lwsi_state(wsi)); in lws_read_h1()
308 if (lwsi_state(wsi) == LRS_DEFERRING_ACTION) in lws_h1_server_socket_service()
335 if (lwsi_state(wsi) == LRS_SSL_ACK_PENDING) in lws_h1_server_socket_service()
340 if ((lwsi_state(wsi) == LRS_ESTABLISHED || in lws_h1_server_socket_service()
341 lwsi_state(wsi) == LRS_ISSUING_FILE || in lws_h1_server_socket_service()
342 lwsi_state(wsi) == LRS_HEADERS || in lws_h1_server_socket_service()
343 lwsi_state(wsi) == LRS_DISCARD_BODY || in lws_h1_server_socket_service()
344 lwsi_state(wsi) == LRS_BODY)) { in lws_h1_server_socket_service()
394 if (lwsi_state(wsi) == LRS_FLUSHING_BEFORE_CLOSE) { in lws_h1_server_socket_service()
399 if (lwsi_state(wsi) == LRS_ISSUING_FILE) { in lws_h1_server_socket_service()
413 if (lwsi_role_h2(wsi) && lwsi_state(wsi) != LRS_BODY) in lws_h1_server_socket_service()
473 if (lwsi_state(wsi) == LRS_DEFERRING_ACTION) { in lws_h1_server_socket_service()
486 if (lwsi_state(wsi) != LRS_ISSUING_FILE) { in lws_h1_server_socket_service()
549 if (lwsi_state(wsi) == LRS_IDLING) { in rops_handle_POLLIN_h1()
589 if (lwsi_state(wsi) == LRS_RETURNED_CLOSE) in rops_handle_POLLIN_h1()
644 if (lwsi_state(wsi) != LRS_SSL_INIT) in rops_handle_POLLIN_h1()
709 if (lwsi_state(wsi) == LRS_ISSUE_HTTP_BODY) { in rops_handle_POLLOUT_h1()
1079 if (lwsi_state(wsi) == LRS_FLUSHING_BEFORE_CLOSE) {