Ecosyste.ms: OpenCollective
An open API service for software projects hosted on Open Collective.
github.com/reactphp/socket
Async, streaming plaintext TCP/IP and secure TLS socket server and client connections for ReactPHP.
https://github.com/reactphp/socket
92fb72d8e58fff94da84ea86ebda26788ddd672f authored over 3 years ago
Simplify usage by supporting new default loop
991c1b6d48fb4cf4d229518494107ece32c079ba authored over 3 years ago9de96e3bc958e6d263c4185a7233691e8721c763 authored over 3 years ago
b471dc7afcbc3be131fa89a9a44d7eefb2a92622 authored over 3 years ago
5d39e3fa56ea7cc443c86f2788a40867cdba1659 authored over 3 years ago
Support falling back to multiple DNS servers from DNS config
dff5fbe37ef025fd60b44cb6663ce271c83775cb authored over 3 years agoInternal improvement to avoid unhandled rejection for future Promise API
43c9f20f6ecf799275d4514f5dd1772f8883e64c authored over 3 years agod2040a9c94e42c9bca88c658136c63113f700b35 authored over 3 years ago
c37c55ce984a675bd78ab29440d91b4a39c588c7 authored over 3 years ago
a239858abcb8a7bee47120666588fc06930dac91 authored over 3 years ago
Use GitHub actions for continuous integration (CI)
eef95f028a3aada4ba93dacc4dfb5cef518df99d authored almost 4 years ago51e613f4baf849658bed758d4a43574e9752d9aa authored almost 4 years ago
95fba525395e424b4bf9cd2a6970e2e8fb11ab96 authored almost 4 years ago
Bye bye Travis CI, you've served us well.
a4130a6355002225a1d7dc2ede74a30e7c54f692 authored almost 4 years ago7ec5fbd8ff6f11a3bda8464a9580e0f3d0206ddb authored almost 4 years ago
Use round robin for happy eyeballs DNS responses (load balancing)
28fac70119b5eff7007da282caf11a1de35c892f authored over 4 years ago
The happy eyeballs algorithms tries to connect over both IPv6 and IPv4
at the same time. Accordi...
e2b96b23a13ca9b41ab343268dbce3f8ef4d524a authored over 4 years ago
Add full core team to the license
0af8323002a612a190be03324173a0e54af1ec57 authored over 4 years agoSocket address of closed socket should be null (support PHP 8)
04225cd5ad9570704c4a3eb5fccb7e8a2f5fb343 authored over 4 years ago
The previous code works just fine on PHP 7 and older. PHP 8 adds
stricter type checks for closed...
Fix possible `accept()` race condition when multiple socket servers listen on same socket address
3fab9057242437dd0bbb5974959d28b3e7ea9542 authored over 4 years agoUpdate PHPUnit configuration schema for PHPUnit 9.3 and replace deprecated at() Mocks
ce608c87be3cdf5c2e1fdbd6a740694615c7b5fc authored over 4 years ago3bc9257450135ec42bdb41887097f4cade00d309 authored over 4 years ago
Added the full core team in order of joining the team
db5325e6410bbb031901beb86a8b21eec2407e75 authored over 4 years ago
Multiple socket servers can listen on the same socket address (using
`SO_REUSEPORT` or shared fi...
75646409b8bdc0dd3dd12aede6e65764377e5fc7 authored over 4 years ago
5b8030e6cad3ba6ccb5b689ad9fc27c545e28316 authored over 4 years ago
Change default socket backlog size to 511
acdcab839c0708ffe17266ef66a0fc3b1d06d65c authored over 4 years ago
The `backlog` parameter used to default to just 32 as of PHP 5.3.3 and
used to be hard coded to ...
Fix closing connection when cancelling during TLS handshake
284d72d11a40bb3e3b8092f6dd2732caa59b13dd authored over 4 years agod9c0f07dc9fa34a59504c10190fc22f14ee945b5 authored over 4 years ago
842dcd71df86671ee9491734035b3d2cf4a80ece authored over 4 years ago
Run tests on PHPUnit 9 and clean up test suite
94c538356bf9ddedf61286d5401c55412f177364 authored over 4 years ago1d2b3b998eaec343c7fcd4197487473e7b4565a2 authored over 4 years ago
a3e612984eac2b5cb7c054c37e93d59f35a36356 authored over 4 years ago
Run test suite on Windows
31967e9470e75b910801b19296aaf99e16092ab8 authored over 4 years agoe846bbbcc987e5d48f87e3a296984383515650c1 authored over 4 years ago
Simplify Travis CI test matrix for Mac OS X setup and skip all TLS tests on legacy HHVM
59730c41e79e46620f91f7930bd235e4d1118499 authored over 4 years agoMinor code cleanup, remove dead code and improve code coverage to 100%
b3de2a031fa7ae14a722af2447599f69f2d879f5 authored over 4 years ago15426bdcb905511915ec2784448e32f08375d45b authored over 4 years ago
8e2f1d7e35f4fd026aba92ffdc8265b85a3bbf19 authored over 4 years ago
c9485dd939e5c1209da937da8ecd9c85a048acc0 authored over 4 years ago
Improve error reporting to include both IPv6 & IPv4 errors (happy eyeballs)
f5049f0e120209e4b163ea9ac620b4e68e3a1ed8 authored over 4 years ago1b373daafe6ac9dd7e6dc04abc4e6a7e1dd9477b authored over 4 years ago
6db981c31437f0ad2e3840feba25b60ef57599de authored over 4 years ago
Immediately try next connection when one attempt fails and fix possible race conditions (happy e...
f710d6ec0b1b468033b4d0f1609d06ab55c4581f authored over 4 years ago6b3aa7b2f4ee6456cc7c48508699a3d49fd57518 authored over 4 years ago
0f2a4ec10159a3d59248f6852430984cfdb9e057 authored over 4 years ago
128a9d1dab1f47c056827425ca3c0416de81f616 authored over 4 years ago
2e150b4955a6c9ac12315b6904cc892d4aa54816 authored over 4 years ago
Improve error reporting when TCP/IP connection fails (happy eyeballs)
e88fcf30f7adcedf6305c988457c96d14af1936f authored over 4 years ago3686e516bf6b890695a9d08e1923dea454bb91ec authored over 4 years ago
Use one-off timers that will be scheduled only when a following
connection attempt should be sta...
Improve error reporting when DNS lookup fails (happy eyeballs)
f2ea6e7950b270de83f0e359d2c3a066026d57de authored over 4 years ago
Also fixes a fatal error with legacy PHP 5 where it would fail with a
(catchable) fatal error wh...
Skip legacy TLS 1.0 / TLS 1.1 tests if disabled by system
95741061be7f8bf46132ac0aaa04209516e96b34 authored over 4 years agodfc4559d731ac0f3eda0d3d9a0e7cc6e00af176a authored over 4 years ago
97522e24987365e1ed873f0f4884900747a668e0 authored almost 5 years ago
Default to using DNS cache (with max 256 entries) for Connector
550c336bcdec76b1331e25a65611a9020e6b4c3f authored almost 5 years agoFix cancelling happy eyeballs to stop timer, fix rejection reason and simplify timer logic
4fbe726799db6902ebd3a80162cc5eb8d6bade9c authored almost 5 years agoc7320094dc9a81f075c29da60614d0d8f4cefac0 authored almost 5 years ago
511f85d7d8e791d7352e241435e3ff43d34af764 authored almost 5 years ago
b400a57fd8718b6d891a232cbc2d62b8634dbb16 authored almost 5 years ago
Make happy eyeballs algorithm (IPv6) the default, add new `happy_eyeballs` option to `Connector`
13d8259150860420e22d136ac7dd53d7b5cdf271 authored almost 5 years ago5b51fb9cfb9d5c02ccc0ec019cbe061a70d36d5c authored almost 5 years ago
e243955ea795cf2fcf2e4e2c64c9147ae01ffd8b authored almost 5 years ago
cc4737dfa828a77080b6b1b0bdac340325f4a807 authored almost 5 years ago
Run tests on PHP 7.4 and simplify test matrix
66fc1033699e41984bffb61c198770efc4b0ae40 authored almost 5 years ago0631701f8c0d1cf088c5f9803749bc887f92d578 authored almost 5 years ago
Add .gitattributes to exclude dev files from exports
a831b9451df0b751fe2a0d035e6cb8c578544394 authored about 5 years agoe5c3e41fbdf90f3269e4cb7ab0a4bad83f9ad081 authored about 5 years ago
Minor code style fix for stream_set_blocking() parameter type
d3e7198311ad9002d39e78023e785d13dff30d93 authored about 5 years agoTo be strict, the second parameter of this function is a `bool` instead of an `int`.
b5b661c569ef70943df00596b276f068e2c33bed authored about 5 years agoImprove test suite to exclude TLS 1.3 tests on PHP 7.3
420e02bcef24e7e1675cc277d82a4ba2cfba26fa authored about 5 years ago
Explicit TLS 1.3 support will be available in PHP 7.4:
https://github.com/php/php-src/pull/3909
...
Implement the Happy Eye Balls RFC's
529a5f8b46df132e85a7f6224773f31325ff4830 authored over 5 years ago
By using the happy eye balls algorithm as described in RFC6555 and
RFC8305 it will connect to th...
Improve test suite by awaiting events instead of sleeping
ccdab00ccde0d97ae3d08e292376cd8041b5ddfe authored over 5 years agobc4abf874208a8542c761787ceeeb005be6839e5 authored over 5 years ago
Avoid failing test by using invalid DNS resolver IP instead of hostname
b1dee1e2ef6c231cdc527ff0ab0738bccd9bd995 authored over 5 years agoc29e1b37854f865fc14fdf2fd932a44d37c1ee19 authored over 5 years ago
Accept DNS `ResolverInterface` and fix failing test suite
87e7633fb4d758efefe5cbe60428cd7720d1cb42 authored over 5 years ago326e228ba0c81e09632fb8f1e239afba3a715ed5 authored over 5 years ago
10f0629ec83ea0fa22597f348623f554227e3ca0 authored over 5 years ago
Forward compatibility with upcoming stable DNS component
1ca5104692edd3e79a33164bd3628de19ef01a48 authored over 5 years ago3b9d303c1b9b1fbf39e0e3d234ff82987e4cf4bb authored over 5 years ago
4d49bd3d6ca0257ada8645dd0f8a2f1885e290b3 authored over 5 years ago
Avoid uneeded fragmented TLS work around for PHP 7.3.3+
ba5fb5c5650634bb063b8318ba53233d9aa6aa26 authored over 5 years ago
The work around was introduced in order to bring TLS 1.3 support to all
supported versions, but ...
Work around failing test case detecting EOF on TLS 1.3 socket streams
032db4d5bd39d2bad7b8996ed6d68d36a325979f authored over 5 years ago
This PR improves the test suite to avoid a possible race condition for
our TLS tests. It does no...
Example 99 improvements
2cf8dfa7fc30cdadf24aa49b5978838fd3ec7f09 authored about 6 years ago6a00174e6d0f611d0053faeae031a28b22475504 authored about 6 years ago
8fe02f4316e360e381fb6f3884eb22acb0908a91 authored about 6 years ago
23b7372bb25cea934f6124f5bdac34e30161959e authored about 6 years ago
Avoid possibility of missing remote address when TLS handshake fails
2d518657813dd2db25a03929afb85ff5bbc3e0a4 authored about 6 years ago
This fixes a race condition where the remote address could appear to be
"emtpy" in the server ex...
Update documentation to use full class names with namespaces
de2c87fe52fe36c0e3267e27e5add8c3748f7811 authored about 6 years ago1e5370a75be18e58dedacbbb2410a00f7bec7754 authored about 6 years ago