Query waiting for TCP buffer. More...
|struct waiting_tcp *||next_waiting|
|next in waiting list. More...|
|if true the item is on the tcp waiting list and next_waiting is used for that. More...|
|struct waiting_tcp *||write_wait_prev|
|next and prev in query waiting list for stream connection |
|struct waiting_tcp *||write_wait_next|
|true if the waiting_tcp structure is on the write_wait queue |
|entry in reuse.tree_by_id, if key is NULL, not in tree, otherwise, this struct is key and sorted by ID (from waiting_tcp.id). |
|the ID for the query; checked in reply |
|struct comm_timer *||timer|
|timeout event; timer keeps running whether the query is waiting for a buffer or the tcp reply is pending |
|timeout in msec |
|struct outside_network *||outnet|
|the outside network it is part of |
|remote address. |
|length of addr field in use. |
|The query itself, the query packet to send. More...|
|length of query packet. |
|callback for the timeout, error or reply to the message, or NULL if no user is waiting. More...|
|callback user argument |
|if it uses ssl upstream |
|ref to the tls_auth_name from the serviced_query |
|the packet was involved in an error, to stop looping errors |
|if true, the item is at the cb_and_decommission stage |
Query waiting for TCP buffer.
|struct waiting_tcp* waiting_tcp::next_waiting|
next in waiting list.
if on_tcp_waiting_list==0, this points to the pending_tcp structure.
Referenced by outnet_tcptimer(), outnet_waiting_tcp_list_add(), outnet_waiting_tcp_list_add_first(), outnet_waiting_tcp_list_pop(), outnet_waiting_tcp_list_remove(), outside_network_delete(), reuse_tcp_remove_serviced_keep(), serviced_delete(), serviced_tcp_callback(), tcpid_addmore(), and waiting_tcp_list_clear().
if true the item is on the tcp waiting list and next_waiting is used for that.
If false, the next_waiting points to the pending_tcp
Referenced by outnet_tcptimer(), outnet_waiting_tcp_list_add(), outnet_waiting_tcp_list_add_first(), outnet_waiting_tcp_list_pop(), outnet_waiting_tcp_list_remove(), serviced_delete(), serviced_tcp_callback(), and waiting_tcp_list_clear().
callback for the timeout, error or reply to the message, or NULL if no user is waiting.
the entry uses an ID number. a query that was written is no longer needed, but the ID number and a reply will come back and can be ignored if NULL