aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
...
* wolfSSL: fix configuration to match official wolfSSL cmake libraryGarrett D'Amore2024-11-08
|
* Remove unused sockaddr NULL checkGarrett D'Amore2024-11-06
|
* Fix coverage badge.Garrett D'Amore2024-11-06
|
* websocket: fix for setting user headersGarrett D'Amore2024-11-05
| | | | This was a crasher bug (found by test suite).
* Add zero test for errorGarrett D'Amore2024-11-05
|
* remove nni_plat_println - we have nni_plat_printf which is good enoughGarrett D'Amore2024-11-05
|
* ipc: listener cancellation testGarrett D'Amore2024-11-05
|
* Fix leak in pubdropGarrett D'Amore2024-11-05
|
* ipc: validate stale cleanup listenerGarrett D'Amore2024-11-05
|
* IPC test - note which ones skipped.Garrett D'Amore2024-11-05
|
* Remove registration functions (unused).Garrett D'Amore2024-11-04
|
* Add pubdrop test.Garrett D'Amore2024-11-04
|
* UDP: prefer new packets (drop older)Garrett D'Amore2024-11-04
| | | | Adds test cases for this and for remote pipe as well.
* Use a callback for UDP burst test.Garrett D'Amore2024-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'Amore2024-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 logsGarrett D'Amore2024-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'Amore2024-11-04
|
* Introduce NUTS_SKIP and use it in a few tests.Garrett D'Amore2024-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'Amore2024-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'Amore2024-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.
* Remove NNI_TYPE_OPAQUE altogether.Garrett D'Amore2024-11-03
| | | | | | | | This also fixes a couple of minor bugs -- changing the socket name could be incorrect as the termination was not applied properly, and the ZeroTier code got a change -- note that it is only possible in this revised version to pass a single moon ID for ZT orbit. The ZT code is a bit stale, and untested anyway.
* Remove untyped nng_socket_get and nng_socket_set.Garrett D'Amore2024-11-03
|
* Remove untyped nng_dialer_get/set and nng_listener_get/set.Garrett D'Amore2024-11-03
|
* Remove nng_ctx untyped option functionsGarrett D'Amore2024-11-03
|
* Remove untyped stream option functions.Garrett D'Amore2024-11-03
| | | | | The underlying stream APIs have no need for untyped accessors. Another step on the road to removal of NNI_TYPE_OPAQUE.
* Remove untyped nng_pipe_get, support for untyped sockaddr set.Garrett D'Amore2024-11-03
| | | | This is a step on the path to removing unsafe untyped option accesses.
* Add some more tests for sub coverage.Garrett D'Amore2024-11-03
|
* Replace NNG_OPT_SUB_SUBSCRIBE/UNSUBSCRIBE with functions.Garrett D'Amore2024-11-03
| | | | | The main purpose is to eliminate the NNI_TYPE_OPAQUE options, by putting these into their own first class, protocol-specific, functions.
* Replace `NNG_OPT_RAW` with `nng_socket_raw`.Garrett D'Amore2024-11-02
| | | | Similar to the other identities, this simplifies code a bit.
* Replace `NNG_OPT_PROTO`, `NNG_OPT_PROTONAME`, and friends with functions.Garrett D'Amore2024-11-02
| | | | | | Socket options were a little awkward, and these are core properties of the socket. Few if any applications need these. This also avoids some dynamic allocations.
* Remove unused compat CMakeLists.txtGarrett D'Amore2024-11-02
|
* Remove nng_ctx/socket_set/get_addrGarrett D'Amore2024-11-02
| | | | | Support for setting or getting sockaddrs on sockets or on contexts makes little sense, since these are always transport specific.
* NNG_OPT_RECVFD and NNG_OPT_SENDFD converted to functions.Garrett D'Amore2024-11-02
| | | | | | | | | | These options are removed entirely, and their functionality is now available via special functions, `nng_socket_get_send_poll_fd` and `nng_socket_get_recv_poll_fd`, making these first class methods on the socket. This eliminates a bit of wasteful code, and provides type safety for these methods.
* NNI_GETXX macros are brittle due to casting mistake.Garrett D'Amore2024-11-02
| | | | | Essentially, we forgot to dereference as uint8_t *, which can lead to some suprises if these are misused.
* Include sys/types.h to resolve possible missing typeGarrett D'Amore2024-10-28
|
* Remove nng_stream_set function family.Garrett D'Amore2024-10-28
| | | | This was not really used or useful.
* streams: drop some stream set functionsGarrett D'Amore2024-10-28
| | | | | | | | | | | We don't need nng_stream_set_addr nor nng_stream_set_ptr. These methods are simply not useful for streams, which have their properties established at creation time. Arguably in fact, all of nng_stream_set_* could go away -- the only properties it is implemented for are TCP keepalive and nodelay tuning, and those should be reasonably set by the creator of the stream.
* tls: move definitions to core nng.hGarrett D'Amore2024-10-28
| | | | | | TLS is not really merely supplemental anymore. Its pretty fundamental. Let's make it accessible directly. This will allow us to define typed property access functions.
* tls: Remove the individual TLS configuration optionsGarrett D'Amore2024-10-28
| | | | | | | | This is a breaking change. TLS configuration changes are to be made using TLS configuration objects, and then set on a listener or dialer with NNG_OPT_TLS_CONFIG. This should be a bit less racy, and allows for simpler code.
* README doc linksGarrett D'Amore2024-10-27
|
* Reenable jekyllGarrett D'Amore2024-10-27
|
* docs: fix message linksGarrett D'Amore2024-10-27
|
* docs: fix various linksGarrett D'Amore2024-10-27
|
* Fix publish dirGarrett D'Amore2024-10-27
|
* Need mdbook pluginsGarrett D'Amore2024-10-27
|
* fix mdbook (try 3)Garrett D'Amore2024-10-27
|
* fix mdbook (try 2)Garrett D'Amore2024-10-27
|
* fix mdbook (try 1)Garrett D'Amore2024-10-27
|
* mdbook action (trial) for publishGarrett D'Amore2024-10-27
|
* docs: update nng_sleep_aio for mdbookGarrett D'Amore2024-10-27
|