| Commit message (Collapse) | Author | Age | ||
|---|---|---|---|---|
| ... | ||||
| * | tls: don't use an extra resolver step in the listener. | Garrett D'Amore | 2024-11-24 | |
| | | | | | This was centralized in the stream layer a while ago. | |||
| * | sockfd: we can use NULL for dialer ops | Garrett D'Amore | 2024-11-24 | |
| | | ||||
| * | Remove all the get_ptr option accessors. | Garrett D'Amore | 2024-11-24 | |
| | | | | | | Temporarily we have removed access to the peer alt names, but that was never used and was not tested (it also didn't work with WolfSSL.) | |||
| * | Remove all the set_ptr option functions. | Garrett D'Amore | 2024-11-24 | |
| | | | | | | This hopefully ensures that we have good typed functions instead of just passing around pointers blithely. | |||
| * | Remove the NNG_OPT_IPC_SECURITY_DESCRIPTOR option. | Garrett D'Amore | 2024-11-24 | |
| | | | | | | | | | This is now replaced with nng_listener_set_security_descriptor and nng_stream_listener_set_security_descriptor functions. We may elect to remove these entirely, but for named pipe users they are probably still quite useful. Moving towards UNIX domain sockets would obsolete this functionality. | |||
| * | http: constify some functions | Garrett D'Amore | 2024-11-24 | |
| | | ||||
| * | ws: add some more test cases | Garrett D'Amore | 2024-11-24 | |
| | | ||||
| * | Remove string option functions from sockets and contexts. | Garrett D'Amore | 2024-11-24 | |
| | | | | | | These are not needed anymore, and the semantics of string accessors is brittle, so we want to eliminate these as much as possible. | |||
| * | socket: remove unused nng_socket_get_ptr and nng_socket_set_ptr. | Garrett D'Amore | 2024-11-24 | |
| | | | | | | | | | We will be removing these pointer based functions more generally as we we have type-specific accessors instead. We also removed the context versions of these functions, which were not previously documented. | |||
| * | option parser: test for no clustering support | Garrett D'Amore | 2024-11-24 | |
| | | ||||
| * | options parser: Add a couple of tests for ambiguous and missing arguments | Garrett D'Amore | 2024-11-23 | |
| | | ||||
| * | Converted options supplemental test to NUTS | Garrett D'Amore | 2024-11-23 | |
| | | ||||
| * | ipc: Add NNG_OPT_REMADDR for dialer. | Garrett D'Amore | 2024-11-23 | |
| | | ||||
| * | tls: add a mutual authentication test | Garrett D'Amore | 2024-11-23 | |
| | | | | | | | | | Also, make it clearer that TLS keys and certificates can only be set once on a configuration. (mbedTLS makes this confusing!) This mutual test is only fully validated on mbed, because wolfSSL seems to not properly validate this in many configurations. | |||
| * | tls: include error code from mbed in log messages | Garrett D'Amore | 2024-11-23 | |
| | | | | | Also add a test case for mismatch verify. | |||
| * | socket: fds can never be negative | Garrett D'Amore | 2024-11-23 | |
| | | ||||
| * | tests: add listener and dialer tests | Garrett D'Amore | 2024-11-23 | |
| | | ||||
| * | listener: add listener_create_url and listen_url | Garrett D'Amore | 2024-11-23 | |
| | | ||||
| * | dialers: add nng_dial_url and nng_dialer_create_url | Garrett D'Amore | 2024-11-23 | |
| | | | | | | This allows a URL object to be used for dialing, which may be easier than using a string if you already have the URL object. | |||
| * | Add nni_url_clone_inline. | Garrett D'Amore | 2024-11-23 | |
| | | | | | | The idea is to allow nng_dialer_create_url() and such to avoid having to reparse a URL that we already have. | |||
| * | url: add huge url tests | Garrett D'Amore | 2024-11-23 | |
| | | ||||
| * | Remove u_rawurl member of URL. | Garrett D'Amore | 2024-11-23 | |
| | | | | | | This means that most URLs can now be used without any allocations needed. It eliminates some failure paths. | |||
| * | core: remove NNG_OPT_URL entirely | Garrett D'Amore | 2024-11-23 | |
| | | ||||
| * | ws: remove NNG_OPT_URL | Garrett D'Amore | 2024-11-23 | |
| | | ||||
| * | tls: remove NNG_OPT_URL | Garrett D'Amore | 2024-11-23 | |
| | | ||||
| * | tcp: remove NNG_OPT_URL | Garrett D'Amore | 2024-11-23 | |
| | | ||||
| * | udp: remove NNG_OPT_URL | Garrett D'Amore | 2024-11-23 | |
| | | ||||
| * | dialer/listener: don't allocate before we have a transport | Garrett D'Amore | 2024-11-23 | |
| | | | | | This permits removal of an extra bit of clean up. | |||
| * | test: sock_test should not use NNG_OPT_URL | Garrett D'Amore | 2024-11-23 | |
| | | ||||
| * | nngcat: avoid NNG_OPT_URL | Garrett D'Amore | 2024-11-23 | |
| | | ||||
| * | tests: eliminate use of NNG_OPT_URL | Garrett D'Amore | 2024-11-23 | |
| | | ||||
| * | tests: Avoid NNG_OPT_URL in tcp test. | Garrett D'Amore | 2024-11-23 | |
| | | ||||
| * | Convert UDP test to use URL functions. | Garrett D'Amore | 2024-11-22 | |
| | | ||||
| * | Fix socket:// hostname should be null, and add test case | Garrett D'Amore | 2024-11-22 | |
| | | ||||
| * | Select transport using raw URL string. | Garrett D'Amore | 2024-11-22 | |
| | | | | | | | This is done so that we can provide transport specific logic for URL parsing later (we're going to want this for ZeroTier for example.) | |||
| * | Fix leak on bad URL | Garrett D'Amore | 2024-11-22 | |
| | | ||||
| * | Introduce nng_listener_get_url and nng_dialer_get_url. | Garrett D'Amore | 2024-11-21 | |
| | | | | | This is intended to replace NNG_OPT_URL. | |||
| * | Inline dialer URL. | Garrett D'Amore | 2024-11-21 | |
| | | ||||
| * | Collect the bound port as part of the URL at bind time. | Garrett D'Amore | 2024-11-21 | |
| | | | | | This is a step on cleaning up our logic around NNG_OPT_URL. | |||
| * | Use 32-bit port numbers. | Garrett D'Amore | 2024-11-21 | |
| | | | | | | While TCP and UDP port numbers are 16-bits, ZT uses a larger (24-bit) port number. | |||
| * | Avoid extra allocs for listener url. | Garrett D'Amore | 2024-11-21 | |
| | | ||||
| * | 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. | |||
