Closed ddosoff closed 5 years ago
In the end double DEL too:
1549719277.977965 recvfrom(21, "\25\3\3\0\32\370\207{\"\320\34\225u\340\3622\2672\2105v\310\5\317\250\355%2;\325\277", 524288, 0, NULL, NULL) = 31
1549719277.978002 epoll_ctl(3, EPOLL_CTL_DEL, 21, 0x7fffac471a50) = 0
1549719277.978024 epoll_ctl(3, EPOLL_CTL_DEL, 21, 0x7fffac471a50) = -1 ENOENT (No such file or directory)
1549719277.978046 close(21) = 0
Maybe you shouldn't be so assertive about low level behavior when you're basically just guessing. This behavior is polling based, isolated to one single small file - and only affects libuv. So, let's debug and see if this is libuv behavior? Hmmmm... yes! It is. Closing this report as invalid. Two strikes now, do more research before yelling at everything you see.
Why uWebSockets.js use libuv?
@ddosoff may I ask which command you used to obtain such logs?
Strace
Hello Alex,
I tried to do 1 curl requst to SSLApp from examples/HelloWorlds.js:
$ curl -k https://localhost:9001/
It seems something wrong in the event loop request handling logic:
After accept4 file descriptor 21 we do EPOLL_CTL_ADD then EPOLL_CTL_DEL twice, then accept4 again.
Please correct this behavior, this is not only waste of time. Some bigger problem inside.