Lines Matching refs:lwsi_state
135 if (lwsi_state(wsi) == LRS_PRE_WS_SERVING_ACCEPT) { in rops_handle_POLLIN_h2()
140 if (lwsi_state(wsi) == LRS_WAITING_CONNECT) { in rops_handle_POLLIN_h2()
160 if (lwsi_state(wsi) == LRS_RETURNED_CLOSE) in rops_handle_POLLIN_h2()
168 if (lwsi_state(wsi) == LRS_RETURNED_CLOSE || in rops_handle_POLLIN_h2()
169 lwsi_state(wsi) == LRS_WAITING_TO_SEND_CLOSE || in rops_handle_POLLIN_h2()
170 lwsi_state(wsi) == LRS_AWAITING_CLOSE_ACK) { in rops_handle_POLLIN_h2()
226 (lwsi_state(wsi) != LRS_ESTABLISHED && in rops_handle_POLLIN_h2()
228 lwsi_state(wsi) != LRS_H2_WAITING_TO_SEND_HEADERS))) { in rops_handle_POLLIN_h2()
294 if (lwsi_role_h2(wsi) && lwsi_state(wsi) != LRS_BODY && in rops_handle_POLLIN_h2()
295 lwsi_state(wsi) != LRS_DISCARD_BODY) in rops_handle_POLLIN_h2()
367 if (lwsi_state(wsi) == LRS_ISSUE_HTTP_BODY) in rops_handle_POLLOUT_h2()
400 if (lwsi_state(wsi) == LRS_RETURNED_CLOSE) in rops_handle_POLLOUT_h2()
423 base != LWS_WRITE_HTTP_HEADERS && lwsi_state(wsi) != LRS_BODY && in rops_write_role_protocol_h2()
424 ((lwsi_state(wsi) != LRS_RETURNED_CLOSE && in rops_write_role_protocol_h2()
425 lwsi_state(wsi) != LRS_WAITING_TO_SEND_CLOSE && in rops_write_role_protocol_h2()
426 lwsi_state(wsi) != LRS_ESTABLISHED && in rops_write_role_protocol_h2()
427 lwsi_state(wsi) != LRS_AWAITING_CLOSE_ACK) in rops_write_role_protocol_h2()
1011 if (lwsi_state(w) == LRS_FLUSHING_BEFORE_CLOSE) { in rops_perform_user_POLLOUT_h2()
1037 if (lwsi_state(w) == LRS_H2_WAITING_TO_SEND_HEADERS) { in rops_perform_user_POLLOUT_h2()
1046 if (lwsi_state(w) == LRS_DEFERRING_ACTION) { in rops_perform_user_POLLOUT_h2()
1079 if (lwsi_state(w) == LRS_BODY && in rops_perform_user_POLLOUT_h2()
1114 if (lwsi_state(w) == LRS_ISSUING_FILE) { in rops_perform_user_POLLOUT_h2()
1163 lwsi_state(w) == LRS_WAITING_TO_SEND_CLOSE) { in rops_perform_user_POLLOUT_h2()
1184 (lwsi_state(w) == LRS_RETURNED_CLOSE && in rops_perform_user_POLLOUT_h2()