| Commit message (Collapse) | Author | Age | ||
|---|---|---|---|---|
| ... | ||||
| * | api: fold TLS supplemental headers into nng.h | Garrett D'Amore | 2025-01-04 | |
| | | ||||
| * | docs: minor revisions for migration guide | Garrett D'Amore | 2025-01-04 | |
| | | ||||
| * | api: remove old protocol headers | Garrett D'Amore | 2025-01-04 | |
| | | ||||
| * | api: rename nng_send_aio and nng_recv_aio to nng_socket_send and nng_socket_recv | Garrett D'Amore | 2025-01-04 | |
| | | | | | This aligns more closely with the nng_ctx functions. | |||
| * | api: drop the 64-bit option accessors (no more 64-bit option types) | Garrett D'Amore | 2025-01-03 | |
| | | ||||
| * | fixes #2061 Move IPC parameters from uint64 to int | Garrett D'Amore | 2025-01-03 | |
| | | ||||
| * | docs: make the Staysail logo inline, with currentColor | Garrett D'Amore | 2025-01-02 | |
| | | | | | This makes it work better with different mdbook color schemes. | |||
| * | docs: more transport doc updates | Garrett D'Amore | 2025-01-02 | |
| | | ||||
| * | docs: update some transport option docs | Garrett D'Amore | 2025-01-02 | |
| | | ||||
| * | docs: remove references to asterisk wildcard, other tweaks | Garrett D'Amore | 2025-01-02 | |
| | | ||||
| * | docs: document NNG_OPT_MAXTTL, other cleanups | Garrett D'Amore | 2025-01-02 | |
| | | ||||
| * | api: remove unused _uint64 options accessors for contexts and sockets | Garrett D'Amore | 2025-01-01 | |
| | | | | | Also, clarification and add socket option docs for MAXRECVSZ, RECONNMINT, RECONNMAXT | |||
| * | docs: convert socket options to mdbook | Garrett D'Amore | 2025-01-01 | |
| | | ||||
| * | docs: convert the context docs to mdbook | Garrett D'Amore | 2025-01-01 | |
| | | ||||
| * | api: Remove the NNG_FLAG_ALLOC | Garrett D'Amore | 2025-01-01 | |
| | | | | | | | | | This flag failed to provide real zero copy that it was intended for, and it also involved extra allocations. Further, the API for it was brittle and error prone. Modern code should just work directly with nng_msg structures. | |||
| * | sha1: move this to private websocket API | Garrett D'Amore | 2025-01-01 | |
| | | | | | | | Nothing else uses it, and nothing else *should* use it because SHA1 is insecure. WebSockets have to use it by definition, unfortunately. The implementation is not very fast, but doesn't have to be for the use case of websocket keying. | |||
| * | docs: remove some converted content | Garrett D'Amore | 2025-01-01 | |
| | | ||||
| * | docs: add missing msg header prototypes | Garrett D'Amore | 2025-01-01 | |
| | | ||||
| * | docs: Hello 2025! | Garrett D'Amore | 2025-01-01 | |
| | | ||||
| * | docs: converted and improved stream factory docs | Garrett D'Amore | 2025-01-01 | |
| | | ||||
| * | docs: add an example of nng_recv_aio with subv2.0.0-alpha.2 | Garrett D'Amore | 2024-12-31 | |
| | | ||||
| * | docs: remove some old converted content | Garrett D'Amore | 2024-12-31 | |
| | | ||||
| * | docs: convert socket receive docs | Garrett D'Amore | 2024-12-31 | |
| | | ||||
| * | doc: document socket send API, including an example | Garrett D'Amore | 2024-12-31 | |
| | | ||||
| * | docs: remove stray backtick | Garrett D'Amore | 2024-12-31 | |
| | | ||||
| * | docs: convert nng_stream_get family | Garrett D'Amore | 2024-12-31 | |
| | | ||||
| * | docs: nanomsg transition guide - set up links | Garrett D'Amore | 2024-12-31 | |
| | | | | | | Most of these links don't go anywhere yet (waiting to be fleshed out), but at least they are filled out by the xrefs.md file. | |||
| * | docs: clean up some old stuff | Garrett D'Amore | 2024-12-31 | |
| | | ||||
| * | docs: drop old nng_iov content (converted) | Garrett D'Amore | 2024-12-31 | |
| | | ||||
| * | api: add NNG1_MIGRATION transition assistance macro | Garrett D'Amore | 2024-12-31 | |
| | | ||||
| * | socket: rename nng_close to nng_socket_close | Garrett D'Amore | 2024-12-31 | |
| | | ||||
| * | docs: progress on socket document conversion | Garrett D'Amore | 2024-12-31 | |
| | | ||||
| * | docs: remove converted nng_stats_free old doc | Garrett D'Amore | 2024-12-31 | |
| | | ||||
| * | .gitignore updates | Garrett D'Amore | 2024-12-31 | |
| | | ||||
| * | docs: start of streams API documentation | Garrett D'Amore | 2024-12-31 | |
| | | ||||
| * | docs: API chapter index fixes | Garrett D'Amore | 2024-12-31 | |
| | | ||||
| * | docs: add xrefs for URL api | Garrett D'Amore | 2024-12-31 | |
| | | ||||
| * | docs: statistics updates, document nng_stat_parent (fixes #1896) | Garrett D'Amore | 2024-12-31 | |
| | | ||||
| * | docs: fix URL documentation | Garrett D'Amore | 2024-12-31 | |
| | | | | | | | Document `nng_url_resolve_port`, make the structure opaque, fix port numbers to be uint32 (needed for some cases), and fix a missing `const` specifier. | |||
| * | fixes #863 socket activation: for TCP and IPC (POSIX only) | Garrett D'Amore | 2024-12-30 | |
| | | | | | | | | | | This introduces a new option "NNG_OPT_LISTEN_FD", understood by TCP, TLS, and (on POSIX systems) IPC. This option is used to pass a file descriptor or handle (Windows) that is already listening (ready for ACCEPT to be called). For TCP and TLS, the socket must be of type AF_INET or AF_INET6, and for IPC it must be of type AF_UNIX. | |||
| * | zerotier: removed | Garrett D'Amore | 2024-12-26 | |
| | | | | | | | | | | | All vestiges of ZeroTier have been removed. Also, as consequence, some binary values have changed (specifically the number of the address family used for NNG_AF_ABSTRACT.) We may create a new ZeroTier transport that makes use of lwIP to provide for ZeroTier and native host network coexistence, without requiring ZeroTier to participate in the native networking stack. | |||
| * | aio: nng_aio_defer replaced by nng_aio_start | Garrett D'Amore | 2024-12-26 | |
| | | | | | | This represents an API change, and we remove the nng_aio_begin function as well, introducing the lightweight nng_aio_reset instead. | |||
| * | aio: introduce NNG_ESTOPPED | Garrett D'Amore | 2024-12-26 | |
| | | | | | | | | | | | | This error code results when an AIO is stopped permanently, as a result of nni_aio_close or nni_aio_stop. The associated AIO object cannot be used again. This discrimantes against a file being closed, or a temporary cancellation which might allow the aio to be reused. Consumers must check for this error status in their callbacks, and not resubmit an operation that failed with this error. Doing so, will result in an infinite loop of submit / errors. | |||
| * | http: limit handler uri to 1K | Garrett D'Amore | 2024-12-22 | |
| | | | | | | | | | | | | This is just the part of the tree that will be matched when looking up a handler. Requests may come in with very much longer URIs, and be matched to the handler as a "subdirectory". This approach makes it possible to avoid a dynamic allocation on the handler, at the cost of pre-allocating 1KB with the handler object. This size can be overridden using a NNG_HTTP_MAX_URI at compile time. | |||
| * | http: nng_http_handler_set_data is now void return (API break) | Garrett D'Amore | 2024-12-22 | |
| | | ||||
| * | nng_http_server_collect_body now void return (API break) | Garrett D'Amore | 2024-12-22 | |
| | | ||||
| * | http: handler set tree no longer returns a value (API break) | Garrett D'Amore | 2024-12-22 | |
| | | ||||
| * | HTTP: nng_http_handler_set_method no longer fails | Garrett D'Amore | 2024-12-22 | |
| | | ||||
| * | HTTP handler: limit host names to 256 bytes (RFC 1035 specifies 253.) | Garrett D'Amore | 2024-12-22 | |
| | | | | | This also makes `nng_http_handler_set_host` never fail (API break). | |||
| * | http: setting response status never fails (breaking API change) | Garrett D'Amore | 2024-12-22 | |
| | | ||||
