| Commit message (Collapse) | Author | Age | |
|---|---|---|---|
| * | streams: add explicit stop functions | Garrett D'Amore | 2024-12-12 |
| | | | | | | | | | | | | | This allows us to explicitly stop streams, dialers, and listeners, before we start tearing down things. This hopefully will be useful in resolving use-after-free bugs in http, tls, and websockets. The new functions are not yet documented, but they are nng_stream_stop, nng_stream_dialer_stop, and nng_stream_listener_stop. They should be called after close, and before free. The close functions now close without blocking, but the stop function is allowed to block. | ||
| * | sockfd: check the result of nni_aio_schedule | Garrett D'Amore | 2024-12-03 |
| | | | | | This fixes a possible failure condition on teardown. | ||
| * | socket: fds can never be negative | Garrett D'Amore | 2024-11-23 |
| | | |||
| * | fixes #1746 Create a new socket:// transport for socketpair() based connections | Garrett D'Amore | 2023-12-29 |
| This transport only listens, and creates connections when the application calls setopt on the lister with NNG_OPT_SOCKET_FD, to pass a file descriptor. The FD is turned into an nng_stream, and utilized for SP. The protocol over the descriptor is identical to the TCP protocol (not the IPC protocol). The options for peer information are borrowed from the IPC transport, as they may be useful for these purposes. This includes a test suite and full documentation. | |||
