Running scripts expect Timeout as TcpConnector can't connect. And without ring it works.
php ./testTimeout.php
Request at: 09:10:42
BEFORE LOOP
AFTER LOOP
Error at: 09:10:43 cURL error 28: Timeout was reached
But using ring causes loop hanging. I debug loop calls and you can find that "write stream 141" is added into loop but not removed on timeout. Stream is added by: /var/www/projects/DomainScrapperUpd/vendor/react/socket/src/DnsConnector.php:81
Seems I faced another issue with Timeout. Probably it is an issue with react socket library, or mb it correlates with https://github.com/WyriHaximus/react-guzzle-http-client/issues/11
Url that helps reproduce issue is 'http://pomeranians.eplus2.jp/article/41931382.html' Sometimes it works - but most of time it does not
Running scripts expect Timeout as TcpConnector can't connect. And without ring it works.
But using ring causes loop hanging. I debug loop calls and you can find that "write stream 141" is added into loop but not removed on timeout. Stream is added by: /var/www/projects/DomainScrapperUpd/vendor/react/socket/src/DnsConnector.php:81