aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
...
* http: server callback API simplifiedGarrett D'Amore2025-01-06
| | | | | | | | | | This simplified API lets callbacks obtain the response from the connection objection directly, and does not require the aio to carry it as a parameter. Further, the request and response are both stored inline in the connection, reducing allocations. This is at present only for the server; the client will get a similar set of changes.
* http: changing transaction API to inline req and res structuresGarrett D'Amore2025-01-05
| | | | | This is a step towards simplifying this API and ultimately simplifying the HTTP callback API used for the server side.
* posix: move tcpdialer definition out of shared headerGarrett D'Amore2025-01-05
|
* platform: remove reader/writer locksGarrett D'Amore2025-01-05
| | | | | | The only thing using this was the transport lookups, but as those transports are now fully initialized in nng_init, we no longer need to lock that at all.
* platform: eliminate NNI_CV_INITIALIZER altogetherGarrett D'Amore2025-01-05
|
* reap: use sys init and fini instead of NNI_CV_INITIALIZER.Garrett D'Amore2025-01-05
| | | | The CV_INITIALIZER is error prone, as it cannot use cv_until.
* pthreads: avoid double indirection for cv mutexGarrett D'Amore2025-01-05
|
* Liberally apply some UWYI (use what you include) to header filesGarrett D'Amore2025-01-05
|
* args: Convert nng_opts_parse into a header only library using `nng_args_parse`.Garrett D'Amore2025-01-04
| | | | | | | | The API is identical, except that some names have changed, and this is now a header library in `nng/args.h` - so the core library does not need to carry this code in binaries. Being a header library also means it is not necessary to link against NNG, and it does not include any parts of NNG; it only depends on a standard C99 or C11 environment.
* api: Promote idhash supplemental API to coreGarrett D'Amore2025-01-04
|
* api: remove the supplemental platform.h headerGarrett D'Amore2025-01-04
|
* tests: make NUTS_PASS use TEST_ASSERTGarrett D'Amore2025-01-04
| | | | | This will ensure that we fast fail if a test cannot complete, rather than muddling on and reporting failures elsewhere.
* tests: TLS transport test resilience against EADDRINUSEGarrett D'Amore2025-01-04
| | | | This was occasionally causing "sigabrt" and similar failures in the tests.
* docs: remove converted nng_socket.7 docGarrett D'Amore2025-01-04
|
* docs: remove tls_engine stub docGarrett D'Amore2025-01-04
|
* api: fold TLS supplemental headers into nng.hGarrett D'Amore2025-01-04
|
* api: remove dead NNG_OPT_URL macroGarrett D'Amore2025-01-04
|
* docs: minor revisions for migration guideGarrett D'Amore2025-01-04
|
* api: remove old protocol headersGarrett D'Amore2025-01-04
|
* zerotier: remove unused zerotier.h transport headerGarrett D'Amore2025-01-04
|
* cmake: remove unused compat test macroGarrett D'Amore2025-01-04
|
* compat: remove unused leftover libnanomsg compatibility headersGarrett D'Amore2025-01-04
|
* api: rename nng_send_aio and nng_recv_aio to nng_socket_send and nng_socket_recvGarrett D'Amore2025-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'Amore2025-01-03
|
* ipc: minor adjustments for ECLOSED and loggingGarrett D'Amore2025-01-03
|
* fixes #2061 Move IPC parameters from uint64 to intGarrett D'Amore2025-01-03
|
* docs: make the Staysail logo inline, with currentColorGarrett D'Amore2025-01-02
| | | | This makes it work better with different mdbook color schemes.
* docs: more transport doc updatesGarrett D'Amore2025-01-02
|
* docs: update some transport option docsGarrett D'Amore2025-01-02
|
* docs: remove references to asterisk wildcard, other tweaksGarrett D'Amore2025-01-02
|
* docs: document NNG_OPT_MAXTTL, other cleanupsGarrett D'Amore2025-01-02
|
* api: remove unused _uint64 options accessors for contexts and socketsGarrett D'Amore2025-01-01
| | | | Also, clarification and add socket option docs for MAXRECVSZ, RECONNMINT, RECONNMAXT
* docs: convert socket options to mdbookGarrett D'Amore2025-01-01
|
* README: revised information about mdbookGarrett D'Amore2025-01-01
|
* docs: convert the context docs to mdbookGarrett D'Amore2025-01-01
|
* api: Remove the NNG_FLAG_ALLOCGarrett D'Amore2025-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.
* demos: Demos do not need to use find_package for ThreadsGarrett D'Amore2025-01-01
| | | | | The CMAKE framework does this properly now by ensuring that nng uses nng_find_package for any of its own dependencies.
* cmake: ensure that MbedTLS and WolfSSL can be found properly as subprojectsGarrett D'Amore2025-01-01
| | | | | Using nng_find_package as the helper fixes this, by ensuring that the dependency gets properly added to incorporating projects.
* demos: raw and async demos should use nng_initGarrett D'Amore2025-01-01
|
* demo: call nng_init in http_clientGarrett D'Amore2025-01-01
|
* demo: fix reqrep demo to use nng_initGarrett D'Amore2025-01-01
|
* demo: fix rest server (must initialize NNG library)Garrett D'Amore2025-01-01
|
* http: fix zero status code by defaultGarrett D'Amore2025-01-01
| | | | | This is a recent regression that affects any server that does not explicitly set an HTTP status code.
* demos: fix pubsub_forwarder to call nng_initGarrett D'Amore2025-01-01
|
* stream demo: fix compilation, add server modeGarrett D'Amore2025-01-01
| | | | This is tested and shown to work now.
* base64: move it to private for websocketsGarrett D'Amore2025-01-01
| | | | | | There are no other consumers for this, and reasonably unlikely to be others for now. (Other use cases are JWTs, but that would be another whole set of functionality that we're not ready to take on.)
* sha1: move this to private websocket APIGarrett D'Amore2025-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.
* protocols: move content from the protocols to nng.hGarrett D'Amore2025-01-01
| | | | | This should simplify things for developers. Just one header to include in most cases now.
* docs: remove some converted contentGarrett D'Amore2025-01-01
|
* docs: add missing msg header prototypesGarrett D'Amore2025-01-01
|