| Commit message (Collapse) | Author | Age | ||
|---|---|---|---|---|
| ... | ||||
| * | TCPv6 test suite fixes for addresses. | Garrett D'Amore | 2024-11-18 | |
| | | | | | | We moved some of the tests out of the older Convey framework into the NUTS framework. | |||
| * | Add new nni_url_parse_inline, and add more test cases for coverage. | Garrett D'Amore | 2024-11-18 | |
| | | | | | The inline parsing will be used internally to avoid some allocations. | |||
| * | url: Use NNG_EINVAL for parse failures | Garrett D'Amore | 2024-11-18 | |
| | | ||||
| * | Introduce accessors for nng_url struct and make it opaque. | Garrett D'Amore | 2024-11-18 | |
| | | | | | | This provides safety by ensuring that applications do not depend on the size or layout of nng_url itself. | |||
| * | Merge internal and external URL APIs. No need for | Garrett D'Amore | 2024-11-18 | |
| | | | | | the separation of nni_url and nng_url. | |||
| * | URL refactor part 1. | Garrett D'Amore | 2024-11-18 | |
| | | | | | | | | This eliminates most (but not all) of the dynamic allocations associated with URL objects. A number of convenience fields on the URL are removed, but we are able to use common buffer for most of the details. | |||
| * | More url work. Undocument rawurl, and stop using it stats and logs. | Garrett D'Amore | 2024-11-17 | |
| | | | | | | | | Also expose nng_url_sprintf() for users who need it. This avoids some need to do dynamic memory on some things. Soon the entirety of nng_url will be allocation free in the usual case. | |||
| * | nni_url_sprintf | Garrett D'Amore | 2024-11-17 | |
| | | ||||
| * | URL u_port should be a number not a string. | Garrett D'Amore | 2024-11-17 | |
| | | | | | | | | | | | | The idea here is to reduce the dynamic allocations used for URLs, and also the back and forth with parsing begin strings and port numbers. We always resolve to a port number, and this is easier for everyone. The real goal in the long term is to eliminate dynamic allocation of the URL fields altogether, but that requires a little more work. This is a step in the right direction. | |||
| * | intern URL scheme | Garrett D'Amore | 2024-11-17 | |
| | | ||||
| * | fix parsing bug in abstract URLs | Garrett D'Amore | 2024-11-17 | |
| | | ||||
| * | tcp/tls: Remove support for local interface address in dialer URLs | Garrett D'Amore | 2024-11-17 | |
| | | | | | | This was an undocumented capability provided for libnanomsg. The correct way to obtain the same functionality is to use `NNG_OPT_LOCADDR`. | |||
| * | remove NNG_OPT_SOCKNAME (and socket names altogether) | Garrett D'Amore | 2024-11-17 | |
| | | | | | | | | | This functionality was provided principally for libnanomsg compatibility. This saves some memory and eliminates some pointless functionality. While here, updated the socket options documentation to remove references to options already removed. | |||
| * | tls: add ecdsa test case | Garrett D'Amore | 2024-11-17 | |
| | | ||||
| * | tls: remove support for TLS 1.0 and 1.1. | Garrett D'Amore | 2024-11-16 | |
| | | | | | | Those old algorithms are not used anywhere, and are not recommended. TLS 1.2 support has been prevalent for over a decade. | |||
| * | Document nng_init and nng_fini | Garrett D'Amore | 2024-11-11 | |
| | | ||||
| * | init test coverage improvements | Garrett D'Amore | 2024-11-11 | |
| | | ||||
| * | Cleanup POSIX platform initialization. | Garrett D'Amore | 2024-11-11 | |
| | | | | | | This also avoids a potential leak of thread attributes. although no current platform actually seems to do so. | |||
| * | Migration update referencing nng_init (but note not documented yet.) | Garrett D'Amore | 2024-11-11 | |
| | | ||||
| * | refactor initialization/finalization | Garrett D'Amore | 2024-11-11 | |
| | | | | | | | | | | Applications must now call nng_init(), but they can supply a set of parameters optionally. The code is now safe for multiple libraries to do this concurrently, meaning nng_fini no longer can race against another instance starting up. The nni_init checks on all public APIs are removed now. | |||
| * | websocket: Do not allow a listener or dialer to change TLS while running | Garrett D'Amore | 2024-11-09 | |
| | | | | | This also covers a few test cases that we were missing. | |||
| * | TLS configuration changed to use discret _set_tls and _get_tls functions. | Garrett D'Amore | 2024-11-09 | |
| | | | | | This is simpler, and more reliable than using socket options. | |||
| * | Add some examples for generating PDF and EPUB. | Garrett D'Amore | 2024-11-09 | |
| | | ||||
| * | fixes #1907 Document the nng_socket_get_send_poll_fd and recv_poll_fd | Garrett D'Amore | 2024-11-09 | |
| | | ||||
| * | Add some cross references in the NNG 1 migration guide. | Garrett D'Amore | 2024-11-09 | |
| | | ||||
| * | Remove references to NNG_OPT_SUB_SUBSCRIBE. | Garrett D'Amore | 2024-11-09 | |
| | | ||||
| * | Remove tabs from docs (expand to 4 spaces) - some renderers cannot cope. | Garrett D'Amore | 2024-11-09 | |
| | | ||||
| * | fixes #1914 Document nng_socket_proto_id, proto_name, peer_id, peer_name, ↵ | Garrett D'Amore | 2024-11-09 | |
| | | | | | and nng_socket_raw | |||
| * | Remove left over single doc pages. | Garrett D'Amore | 2024-11-09 | |
| | | ||||
| * | Add matrix of TLS engines, including wolfSSL | Garrett D'Amore | 2024-11-08 | |
| | | ||||
| * | wolfSSL: fix configuration to match official wolfSSL cmake library | Garrett D'Amore | 2024-11-08 | |
| | | ||||
| * | Remove unused sockaddr NULL check | Garrett D'Amore | 2024-11-06 | |
| | | ||||
| * | Fix coverage badge. | Garrett D'Amore | 2024-11-06 | |
| | | ||||
| * | websocket: fix for setting user headers | Garrett D'Amore | 2024-11-05 | |
| | | | | | This was a crasher bug (found by test suite). | |||
| * | Add zero test for error | Garrett D'Amore | 2024-11-05 | |
| | | ||||
| * | remove nni_plat_println - we have nni_plat_printf which is good enough | Garrett D'Amore | 2024-11-05 | |
| | | ||||
| * | ipc: listener cancellation test | Garrett D'Amore | 2024-11-05 | |
| | | ||||
| * | Fix leak in pubdrop | Garrett D'Amore | 2024-11-05 | |
| | | ||||
| * | ipc: validate stale cleanup listener | Garrett D'Amore | 2024-11-05 | |
| | | ||||
| * | IPC test - note which ones skipped. | Garrett D'Amore | 2024-11-05 | |
| | | ||||
| * | Remove registration functions (unused). | Garrett D'Amore | 2024-11-04 | |
| | | ||||
| * | Add pubdrop test. | Garrett D'Amore | 2024-11-04 | |
| | | ||||
| * | UDP: prefer new packets (drop older) | Garrett D'Amore | 2024-11-04 | |
| | | | | | Adds test cases for this and for remote pipe as well. | |||
| * | Use a callback for UDP burst test. | Garrett D'Amore | 2024-11-04 | |
| | | | | | | This seems to give much higher reliability in message receives, so we've tightened it up a bit for now. | |||
| * | UDP test improvements. | Garrett D'Amore | 2024-11-04 | |
| | | | | | | | The burst test should be more reliable (by avoiding extra work during the hot code path). We also make the threshold for pass/failure tunable via an environment variable (NNG_UDP_PASS_RATE) which is a percentage. | |||
| * | logging: better debug & test logs | Garrett D'Amore | 2024-11-04 | |
| | | | | | | | Don't emit the log for date change unless we are in debug mode. Emit a newline when starting a new NUTS test. Change the default log level - it was too noisy. | |||
| * | Remove left over prototype for nng_socket_get() | Garrett D'Amore | 2024-11-04 | |
| | | ||||
| * | Introduce NUTS_SKIP and use it in a few tests. | Garrett D'Amore | 2024-11-03 | |
| | | | | | | This lets us see that we are skipping tests due to lack of support, and makes it a little clearer to an observer. | |||
| * | Update acutest.h. | Garrett D'Amore | 2024-11-03 | |
| | | | | | | | This includes creating acutest_message_color_, as we need that for our colorized logging. We also used // clang-format off for the file, to preserve the original formatting. | |||
| * | Socket option handling clean ups for endpoints. | Garrett D'Amore | 2024-11-03 | |
| | | | | | | | | The framework for saving and replaying socket options was left over, and should not be used. But we do need to send the initial socket options to endpoints when creating them, so we have support for that in a cleaner fashion that does not require memory allocations. | |||
