You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
ExtUv (libuv) does not report connection refused situation #188
It looks like that 9th descriptor (client socket) is not in event loop.
I can't found where desriptor 6th was initialized.
And i don't know what is 8th descriptor which was created by eventfd2 system call (i also have preinstalled eio).
Also it would nice to have ability to set custom event loop in Factory class manually:
Factory::create() - this is default
Factory::create('uv')
Factory::create('ev')
Factory::create('event')
...
I'll look into this, might have an idea what is causing this
Also it would nice to have ability to set custom event loop in Factory class manually:
Factory::create() - this is default
Factory::create('uv')
Factory::create('ev')
Factory::create('event')
...
The factory is essentially an easy to use way to always get the most performant loop. If you want to use a specific look instantiate that loop directly instead of using the factory.
Activity
clue commentedon Apr 10, 2019
@Logioniz Interesting find, thanks for reporting this!
Can you try to reproduce this by running the examples, in particular https://github.com/reactphp/event-loop/blob/a0ecac955c67b57c40fe4a1b88a7cca1b58c982d/examples/14-http-client-async.php? This should use the same connection logic and highlights how the EventLoop is involved with detecting a writable event without relying on any external components.
Logioniz commentedon Apr 10, 2019
@clue this example works good, because google always available.
But if i change two lines of code:
current problem appears (using uv of course).
By the way strace similar to strace in description of this topic, but in the end we have infinity number of lines (due to using periodicTimer):
WyriHaximus commentedon Apr 10, 2019
I'll look into this, might have an idea what is causing this
The factory is essentially an easy to use way to always get the most performant loop. If you want to use a specific look instantiate that loop directly instead of using the factory.
[-]Libuv problem[/-][+]ExtUv (libuv) does not report connection refused situation[/+]