| Commit message (Collapse) | Author | Age | ||
|---|---|---|---|---|
| ... | ||||
| * | 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. | |||
| * | 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. | |||
| * | 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. | |||
| * | 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. | |||
| * | Remove unused sockaddr NULL check | 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 | |
| | | ||||
