W.C.A. Wijngaards
d87774c3c6
stream reuse, fix decommission to first remove from tree and then do the
...
callbacks and then delete the element.
2020-07-09 16:34:48 +02:00
W.C.A. Wijngaards
79f315f480
stream reuse, fix double callback and double delete, items are in the tree.
2020-07-09 15:47:24 +02:00
W.C.A. Wijngaards
8201d1422b
stream reuse, fix to put id number in waiting tcp packet.
2020-07-09 15:35:32 +02:00
W.C.A. Wijngaards
b1ea8273f0
stream reuse, fix to not keep stream when it is in error and closed.
...
stream reuse, fix to stop listening on the fd before rw mode change.
stream reuse, fix waiting tcp id value stored before tree insert.
stream reuse, fix to not double delete pend.query.
2020-07-09 14:29:56 +02:00
W.C.A. Wijngaards
4e44e8663d
stream reuse, fix to return key pointer from reuse_tcp_by_id_find.
2020-07-09 14:06:21 +02:00
W.C.A. Wijngaards
9b583d2331
stream reuse, the id for pending stored in waiting_tcp structure, because
...
there can be multiple messages waiting for reply.
2020-07-09 13:58:44 +02:00
W.C.A. Wijngaards
734a248284
stream reuse, check incoming messages from rbtree in outnet_tcp_cb when
...
read a reply, and call that callback and remove that entry.
2020-07-09 13:49:36 +02:00
W.C.A. Wijngaards
e95edd3d36
debug prints in verbose output.
2020-07-09 13:41:50 +02:00
W.C.A. Wijngaards
ccc9e0749c
stream reuse toggle write and read to only read mode when write is done.
...
tcp callback from stream read without entry linked.
2020-07-09 13:41:03 +02:00
W.C.A. Wijngaards
d89a45d1e1
in outnet_tcptimer: pick up callbacks and clean the struct pending for
...
use again in tcp_free list; then perform the callbacks in a cleaner state
for reentry into the outside network code. Delete callbacks afterwards.
2020-07-09 10:28:47 +02:00
W.C.A. Wijngaards
80f21f48c5
Merge branch 'master' into stream-reuse
2020-07-09 08:55:19 +02:00
W.C.A. Wijngaards
e99b5046eb
- Fix to use SSL_CTX_set_tlsext_ticket_key_evp_cb in OpenSSL
...
3.0.0-alpha4.
- Longer keys for the test set, this avoids weak crypto errors.
2020-07-08 16:22:39 +02:00
W.C.A. Wijngaards
ff50993f36
- Fix add missing DSA header, for compilation without deprecated
...
OpenSSL APIs.
2020-07-08 11:43:50 +02:00
W.C.A. Wijngaards
d84529cc0e
- Review fixes for checkconf #259 change.
2020-07-07 10:18:56 +02:00
W.C.A. Wijngaards
4d009e19fc
- Fix #259 : Fix unbound-checkconf does not check view existence.
...
unbound-checkconf checks access-control-view, access-control-tags,
access-control-tag-actions and access-control-tag-datas.
- Fix offset of error printout for access-control-tag-datas.
2020-07-07 09:00:04 +02:00
W.C.A. Wijngaards
233c14a476
- run_vm cleanup better and removes trailing slash on single argument.
2020-07-06 11:33:07 +02:00
W.C.A. Wijngaards
06d33f61c1
- Fix tcp req info drop due to size call into mesh accounting
...
removal of mesh state during mesh send reply.
2020-06-30 17:22:43 +02:00
W.C.A. Wijngaards
52774b6b20
- Review fix for number of detached states due to use of variable
...
after end of loop.
2020-06-30 16:35:48 +02:00
W.C.A. Wijngaards
84b0207956
- Fix for mesh accounting when rpz decides to drop a reply with a
...
tcp stream waiting for it.
2020-06-30 16:20:09 +02:00
W.C.A. Wijngaards
6f0c2956ac
- Also move reply list clean for mesh callbacks to the scrip callback
...
can see the reply_info.
- Fix for mesh accounting if the reply list already empty to begin
with.
2020-06-30 15:48:11 +02:00
W.C.A. Wijngaards
8ac054733b
- Move reply list clean for serve expired mesh callback to after
...
the reply is sent, so that script callbacks have reply_info.
2020-06-30 13:41:26 +02:00
W.C.A. Wijngaards
cfe009a31c
tcp read and write handling of write events in netevent for tcp and ssl.
2020-06-26 16:05:15 +02:00
W.C.A. Wijngaards
64c8d18814
in tcp write callback routine dont reset read byte count if write and read.
...
in tcp write callback and write and read and write is done perform callback.
tcp connection is selected to not toggle readwrite and give closed callback.
2020-06-26 10:54:13 +02:00
W.C.A. Wijngaards
d033ce6c23
tcp callback function refactor, split read and timeout event setup, leave
...
unused queries that are already sent to track their reply on the query
pipeline, when serviced query is deleted deal with the write wait list,
2020-06-25 17:23:46 +02:00
W.C.A. Wijngaards
dfb6d32189
outnet_tcp_cb: add assertion and return when write packets done is handled.
2020-06-25 16:29:37 +02:00
W.C.A. Wijngaards
cbcbd5fa07
pending_tcp_query: cleaner comments.
2020-06-25 16:22:43 +02:00
W.C.A. Wijngaards
c32c43f9f2
for tcp use_free_buffer write straight away on reuse connection, if possible
2020-06-25 16:11:46 +02:00
W.C.A. Wijngaards
34c063701e
in outside_network.c: also log messages that end up on the waiting list.
...
with dnstap.
for tcp use_free_buffer reuse existing entry if second wait entry on the
same addr as the other waiting.
2020-06-25 16:05:25 +02:00
W.C.A. Wijngaards
39a50f30a3
tcp callback handle timeout event for read and reuse keepalive.
2020-06-25 14:26:29 +02:00
W.C.A. Wijngaards
5f5cdd3be1
comm point write and read structure members.
2020-06-25 13:06:21 +02:00
W.C.A. Wijngaards
4aaccef8f2
fix testcode for added function whitelist item.
2020-06-24 16:31:10 +02:00
W.C.A. Wijngaards
75da272afe
reuse tcp id_cmp function. clear list and tree after delete. clear when
...
decommisioned. callbacks when closed for lru space, and when closed because
not kept open.
2020-06-24 16:28:42 +02:00
W.C.A. Wijngaards
dd096ccd22
Merge branch 'master' into stream-reuse
2020-06-24 13:39:13 +02:00
W.C.A. Wijngaards
2a90e8fa1e
- doxygen file comments for dynlibmodule.
2020-06-24 13:37:43 +02:00
W.C.A. Wijngaards
be1182c3db
- iana portlist updated.
2020-06-24 13:33:47 +02:00
W.C.A. Wijngaards
658e5f1553
Merge branch 'master' into stream-reuse
2020-06-24 12:57:50 +02:00
W.C.A. Wijngaards
04d805b0eb
reuse tcp lookup with correct address as key.
2020-06-24 12:57:15 +02:00
W.C.A. Wijngaards
8ca34be36a
fix reuse tcp crash, use addr in reuse struct, free leaked tcp entries.
2020-06-24 10:09:49 +02:00
W.C.A. Wijngaards
6f9310173d
Fix grammar.
2020-06-23 17:32:33 +02:00
W.C.A. Wijngaards
c809bb9ece
tcp reuse timeout event cleanup and callbacks.
2020-06-23 15:29:40 +02:00
W.C.A. Wijngaards
d96e718f80
fix crash on cleanup.
2020-06-19 18:04:12 +02:00
W.C.A. Wijngaards
0e0c57734a
fix uninit after malloc for on_tcp_waiting_list.
2020-06-19 17:40:45 +02:00
W.C.A. Wijngaards
4b6e41e3de
fix documentation for waiting_tcp pkt NULL setting.
2020-06-19 17:37:23 +02:00
W.C.A. Wijngaards
a1babfff1e
add bool if on tcp waiting list, so that pkt can be stored.
...
remove pkt args from outnet_tcp_take_into_use, use w.pkt.
2020-06-19 17:31:36 +02:00
W.C.A. Wijngaards
5203954068
- Fix display of event loop method with libev.
2020-06-17 14:32:57 +02:00
W.C.A. Wijngaards
6e0756e819
- Fix default explanation in man page for qname-minimisation-strict.
2020-06-17 08:20:52 +02:00
W.C.A. Wijngaards
a695ba447c
set timeout to wait for reuse
...
add comm_point indicator for write events for reuse stream writes.
2020-06-09 16:15:03 +02:00
W.C.A. Wijngaards
d8b7b5ee27
fix to set pending pointer in reuse tcp structure
...
fix debug output of reuse tcp and test leak of process
2020-06-09 09:14:01 +02:00
W.C.A. Wijngaards
c053513cbd
- Mention tls name possible when tls is enabled for stub-addr in the
...
man page.
2020-06-08 08:35:10 +02:00
W.C.A. Wijngaards
fd723aed27
tcp connection is stored and picked up for reuse
...
fix that comm_point_start_listening does not close the same fd that is started.
2020-06-03 17:24:26 +02:00