help
help copied to clipboard
Need help with libuv? Post your question here.
Hello, I forwarded udp to a local port through iptables. Originally, I could resolve the destination address from msghdr, However Libuv didn't open this struct to the outside world. What...
The packet consists of the header and body,and thhe length of header is fixed. I will read them with libuv,but I meet a TCP stick packet problem. Can you give...
* **Version**:1.41.0 * **Platform**: Linux * Calling uv_queue_work will cause a memory leak, but it will not be executed in the main thread. # Code ``` #include #include void WorkCallback(uv_work_t...
Buffer is allocated using malloc. Then i call uv_udp_send. I see memcpy https://github.com/libuv/libuv/blob/e7ebae26247d2fee0a04547eb7f9aa8f78d4a642/src/unix/udp.c#L695 so i think its ok to free(buf->base) after uv_udp_send. in tcp example https://github.com/libuv/libuv/blob/e7ebae26247d2fee0a04547eb7f9aa8f78d4a642/docs/code/tcp-echo-server/main.c#L36 buf free on send...
* **Version**: 1.41 * **Platform**: Red Hat 7.6 I use one thread to run uv_run() and another thread to call uv_stop(). Why uv_run() cannot exit? After debugging, I found that...
I have a multi-threaded application, where one thread runs an event loop. If another thread calls `uv_async_send`, under what conditions will event loop thread wake up and trigger the callback?...
Function https://github.com/libuv/libuv/blob/285a5ea819035ff777b8b7c6a367f3f5b55d8809/src/win/poll.c#L55 creates an event called `event`, whichis never discarded. Maybe a `CloseHandle(event);` is necessary before the end of the function `uv__init_overlapped_dummy()` Do you agree? If this is the case,...
I have a build my app around libuv's event queue and would like to port my app to Xbox One. Any idea if someone managed to build libuv for UWP...
libuv likes only one thread to deal all the network io . redis6 has make changed to support mult threads to deal the network io read and write. and get...
error: compile with Xcode 12, from default baranch