Lines Matching refs:wnew
766 struct lws *wnew, *wsi = *_wsi; in _lws_generic_transaction_completed_active_conn() local
813 wnew = lws_container_of(wsi->dll2_cli_txn_queue_owner.head, struct lws, in _lws_generic_transaction_completed_active_conn()
816 assert(wsi != wnew); in _lws_generic_transaction_completed_active_conn()
818 lws_dll2_remove(&wnew->dll2_cli_txn_queue); in _lws_generic_transaction_completed_active_conn()
823 wnew->desc = wsi->desc; in _lws_generic_transaction_completed_active_conn()
825 assert(lws_socket_is_valid(wnew->desc.sockfd)); in _lws_generic_transaction_completed_active_conn()
835 assert(lws_socket_is_valid(wnew->desc.sockfd)); in _lws_generic_transaction_completed_active_conn()
837 if (__insert_wsi_socket_into_fds(wsi->context, wnew)) in _lws_generic_transaction_completed_active_conn()
843 wnew->tls = wsi->tls; in _lws_generic_transaction_completed_active_conn()
851 wnew->cli_hostname_copy = wsi->cli_hostname_copy; in _lws_generic_transaction_completed_active_conn()
861 lws_dll2_add_tail(&wnew->dll_cli_active_conns, in _lws_generic_transaction_completed_active_conn()
873 &wnew->dll2_cli_txn_queue_owner); in _lws_generic_transaction_completed_active_conn()
889 wnew->transaction_from_pipeline_queue = 1; in _lws_generic_transaction_completed_active_conn()
892 __func__, wsi, wnew); in _lws_generic_transaction_completed_active_conn()
894 *_wsi = wnew; /* inform caller we swapped */ in _lws_generic_transaction_completed_active_conn()