uSockets
uSockets copied to clipboard
Miniscule cross-platform eventing, networking & crypto for async applications
App construction failed error occurs when trying to go up a directory when specifying key/cert name
Hiya, This is my first time using this library, so please excuse me if this has already been brought up before. I did look for quite some time and could...
Instead of relying strictly on open/close events, a more dynamic resource management can be done with reference counting. Similar to OpenSSL, us_socket_up_ref could be added to ensure a different lifetime...
I see no point to keep the sockets alive after freeing up its context Here are the changes I made to [src/socket.c](https://github.com/uNetworking/uSockets/blob/37b5058/src/socket.c#L99) [src/context.c](https://github.com/uNetworking/uSockets/blob/37b5058/src/context.c#L133) ``` diff diff --git a/src/context.c b/src/context.c index...
I read the eventing/epoll.c. When create fallthrough-poll, it doesn't touch loop->num_polls. When close fallthrough-poll, it will do loop->num_polls--. It is a designed behavior and imply fallthrough-poll may not be closed?...
Connections can block when doing DNS resolution, With C11 (we already use alignas) threading is standardized and could be used to run blocking DNS lookups.
LIBUS_EXT_ALIGNMENT should apply to every user-exposed struct, except for some (if motivated).
* TCP has two separate lines: read & write, they can be separately frozen. * TLS does not, you cannot properly freeze read without potentially freezing write. * We want...
This should be possible to add without changing any of the higher level interfaces. A TCP socket should look to the application exactly like a Unix socket does. Lower priority...
This is needed to avoid buffering on write failures due to errors.