| Commit message (Collapse) | Author | Age |
| | |
|
| |
|
| |
This is a bug I found in the past 2 days. Easily reproduce with low number of taskq_threads and set small timeout duration to http connect aio.
|
| | |
|
| | |
|
| |
|
|
| |
UBSAN warning
|
| |
|
|
|
|
|
|
|
|
|
|
| |
Because it is typically associated with insecure code, use of sprintf
is discouraged. Note that our usage was actually quite careful and
not insecure, but its mere presence raises concern especially by parties
who are unwilling or unable to assess the actual code for correctness.
A better choice here would be strlcat, but strlcat is not universally
available.
(cherry picked from commit d0d48cad89532c56742d85e898f749e587fe32b7)
|
| | |
|
| |
|
|
|
| |
This does not impact the core project, but merely updates tools
used for publishing docs on the website.
|
| | |
|
| |
|
|
| |
This is meant to help applications start adopting new interfaces before converting to NNG 2.0
|
| |
|
|
|
|
| |
These are the 2.0 equivalent versions of nng_send_aio and nng_recv_aio.
The old names are preserved as aliases for the new. Applications can
start adopting these with this release, even before 2.0 is ready.
|
| |
|
|
|
|
|
| |
Actually this test appears to be broken everywhere, and the only
reason it ever worked is that we took > 50 ms to context switch.
(cherry picked from commit 1a4d71cdd4ff80bb79d842c081296c298e7b2295)
|
| | |
|
| | |
|
| | |
|
| |
|
|
| |
This fixes a possible failure condition on teardown.
|
| |
|
|
|
| |
This hopefully addresses a long standing bug with Windows IPC sometimes
hanging on shut down.
|
| |
|
|
|
|
| |
These are new functions that replace `NNG_OPT_SUBSCRIBE` and
`NNG_OPT_UNSUBSCRIBE`. They are provided here as a transition
aid before those options are removed in NNG 2.0.
|
| | |
|
| |
|
|
|
|
|
|
|
|
| |
These functions were added in the main branch for NNG 2.0, and
we add them here to facilitate converting any code that happened
to use the options (`NNG_OPT_PROTO`, `NNG_OPT_PROTONAME`,
`NNG_OPT_PEER`, `NNG_OPT_PEERNAME`, and `NNG_OPT_RAW`.
Its unlikely that many applications need this, but providing these
as a transition aid may help applications start adopting new APIs now.
|
| |
|
|
|
|
|
|
| |
It turns out that for now this results in early wakeups, due to another
bug in the aio framework. But when that bug is fixed, this bug will
lead to hangs when redialing.
(cherry picked from commit 2dfb99506142f2d59bcc0e0fa7db6b19a3c75d43)
|
| |
|
|
| |
We forgot to do this for 1.9.0, which incorrectly claims to be 1.8.0.
|
| | |
|
| | |
|
| |
|
|
|
| |
This does not fully mark them in the headers, to avoid complicating
test suites and such, for now.
|
| | |
|
| |
|
|
| |
This bug was already fixed in the main branch.
|
| |
|
|
| |
(cherry picked from commit 3cfd6ab21bfb8b02fde1e976fc0bf50bf729c8ab)
|
| |
|
|
| |
(cherry picked from commit 9d0b023b39aae37adb6e5cb1a2b926777ffd2023)
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
|
|
|
| |
This requires using a supporting version of Mbed TLS.
We have to use PSA crypto for TLS 1.3.
|
| |
|
|
| |
This fixes a problem only found on Windows, that affected both IPC and TCP.
|
| |
|
|
|
|
| |
This allows an efficient way to iterate over the entries
stored in an ID hash. The iteration is fast, and requires no
additional storage. The order of iteration is not guaranteed.
|
| |
|
|
| |
Also, converted to Markdown, and provided revised information about test.
|
| | |
|
| |
|
|
| |
as NNG and add PSK
|
| |
|
|
| |
This is in preparation for the wolfSSL integration.
|
| |
|
|
|
| |
Also, while here, prepare for PSK support to be conditional -- it is not
necessarily on by default in all future engines (e.g. WolfSSL.)
|
| |
|
|
|
|
| |
This is older than any currently supported operating system ships
by default, and it allows us to use message(NOTICE) instead of
having everything be a warning.
|
| | |
|
| | |
|
| | |
|
| |
|
|
|
|
| |
This also adds an SP layer transport test for TLS, based on the TCP
test but with some additions; this test does not cover all the edge
cases for TLS, but it does at least show how to use it.
|
| | |
|
| |
|
| |
Signed-off-by: meijian <meijian@xiaomi.com>
|
| |
|
|
|
|
|
|
| |
(#1838)
This exposes the UDP methods as nng_ methods, and adds support for Multicast Membership,
which is useful in a variety of situations.
No documentation is provided, and applications should consider thios API experimental.
|