Ecosyste.ms: OpenCollective
An open API service for software projects hosted on Open Collective.
github.com/hoaproject/Socket
The Hoa\Socket library.
https://github.com/hoaproject/Socket
38ef12b9af14b9348f6db97614218be32cde42c5 authored about 7 years ago
11af5ec291d4000de550748543c5ca7461ebfb8f authored about 7 years ago
8d6e17f6436db792a39522ba24b6f63b74aab9dd authored about 7 years ago
dc9d1bb0121366d16c5ae0c32ac06d1110ac1e4b authored about 7 years ago
3d6ca0e2b55a6c6a04f483d9d115d6b44c906244 authored about 7 years ago
dfd3cbd4d8356e44f624988c38666e09b56a3cee authored about 7 years ago
Define minimal supported version of PHP needed into composer.json
Address hoaproject/Central#70
705ec983534171c825e2c63a26d51b97e5de01b8 authored over 7 years ago1991cce7f31ac752bb49670523f27f92c3390422 authored over 7 years ago
1a43f073d910d0f803de8cc9256779db1027906d authored over 7 years ago
98199af6fbbd5fc5280861043127b94e1fce5e91 authored almost 8 years ago
Apparently, `Mock\Hoa\Socket\Connection\Handler` already exists. We
create a mock with a new nam...
694d73ccfb1199ff9c8531fdbe83063b0b23bb36 authored about 8 years ago
82682c6e365be8646de38934b0d5bd5f0a0c51ca authored about 8 years ago
b88ebbc2cf32d94ca5171857ea424706dd676cc3 authored over 8 years ago
a448815528b87725462845d3f3ffb47425d82787 authored over 8 years ago
ccc045b35c9583bf196311233ddd053558830cf5 authored over 8 years ago
b70f2066e92dc997efa31484a4934a1ec5783ccf authored over 8 years ago
`SUT::get` can return more values than expected. This is not bad but the
test cases will fail. S...
The following encryption constants are now provided:
* `Hoa\Socket\Client::ENCRYPTION_TLS_v1_...
5b136b1ba4f2309c4401de442eca38010b9c9805 authored almost 9 years agofab08cf5ab5fb8c297e55e153802b177aea45953 authored almost 9 years ago
Basically in the `case_send_broken_pipe`, we ensure that the old stream
is restored, and in `cas...
6a02404c130cc712f45f390ab0297c96024b0000 authored almost 9 years ago
See previous commit on `Hoa\Socket\Connection\Connection` which now
throws a `Hoa\Socket\Excepti...
4016df9bc7f5442628e1589509a67ceaff90b407 authored almost 9 years ago
Broken pipe is caught when the `_send` method returns a closure, which
is wrapped. This is smart...
e3ebd438c20ed13aa9c2f1c851e51be87735123f authored almost 9 years ago
While broadcasting a message to some nodes an error can occur because the node connection is clo...
feaaed622353292ca0b5e0483bc700db97760753 authored almost 9 years agob21daef216811a49b6c4cbadfa8c00bbc42f786a authored almost 9 years ago
29bd79b51e6e8a2b5bb3769cf8d414104467910a authored almost 9 years ago
fcfd0d14bd71c52e07027153ba91843ca00b0911 authored almost 9 years ago
These methods must return booleans but they were returning integers,
despites the cast to `bool`...
This method returns the internal node stack. This is useful when doing
tests.
The flag always needs the `LISTEN` value when the transport is `tcp`. We
used the wrong bitwise ...
This protected method provides an access to the iterator values. It also
eases testing.
30f00e12e6b567794f45da194176d7fbbfa172d9 authored almost 9 years ago
We used a double-equal (`==`) to check error number while trying to
connect a client to a server...
The flag always needs the `CONNECT` value. We used the wrong bitwise
operator in the constructor...
de1ef81bea939bf964d6d7ea8e5e557d0c83e5bb authored almost 9 years ago
adf50f25743ea97208dea9704dbefd2bda021b57 authored almost 9 years ago
0416a36e3ffc93026020f0f4130e46b671a42738 authored almost 9 years ago
Thanks @jubianchi!
df811a17c03bbc0b97bd6a7e1b50709e1e2fefc0 authored almost 9 years ago1877c6cd7ab7b1891b5daa16b82f35b8f6bb8299 authored almost 9 years ago
The `run` method does a `while(true)`. This is impossible to test. So we
reverse it for a `do { ...
3011e9e4e52ecf00a7598dbb358b8b812963cd5a authored about 9 years ago
This avoids direct access to the `_connections` attribute.
e479d5ed7cd2d8f316a363acafaf07c124dd7348 authored about 9 years ago8b4cb84c5ad6a9eaf23dadc39b1392ac34d3e862 authored about 9 years ago
ba536693a086932cefd89b3987958f1f46e738ff authored about 9 years ago
adef1ff32f9395ede5322a3f177ce4dca75b92b5 authored about 9 years ago
9ad84683d09512035886fa72b57c0005bb8cba94 authored about 9 years ago
e87c54b022f2efec9dd29c80a4a7dc0787b48eb0 authored about 9 years ago
456eaba200f2da97f780cdecda2c9de9632954ae authored about 9 years ago
b47bda87d08fa9bc414c4f43bae7dc8aec462f22 authored about 9 years ago
79dc0fad73885669f9df8dccba06a23e316ffc26 authored about 9 years ago
3c68b98f5148e545556ae25f65637a2144dd4024 authored about 9 years ago
a47a6a4d5ef76a739ced3cc9ef78a65d80b5df97 authored about 9 years ago
bb7a74e8d4c8fca40c019ebb6b3fa9a6de4332bc authored about 9 years ago
a6e8d91fbabcea10bbfb5a0fb5a35ddec25cea15 authored about 9 years ago
2b02e35679f7d7c699f13d5a5e4ac630f4d857a3 authored about 9 years ago
d464a429b294bcdfde83cbaefa245b962be9aea7 authored about 9 years ago
2eea6ebe5838b59e3628318ceadf7f95c56958a5 authored about 9 years ago
14d7543161e98c9ff5df95f508659fe09d3b9f7c authored about 9 years ago
0d9b24e3f0a8ef8ae2d3d401c50b55fecc54cce6 authored about 9 years ago
The core is being splitted into several libraries. `Hoa\Exception` is
one of them.
f33034735c76f1c0502183ad9b24a2a7e5dbf30e authored about 9 years ago
8f330ea6e28085dd448f6212d2251b60c15cfa52 authored about 9 years ago
Now this is possible to know whether a socket is secured or not.
Signed-off-by: Stéphane HULARD...
2f0ad39705018fed38b7350ccc5d4f3dfbee6573 authored about 9 years ago18dd95e3fadf5d6f794167776359def774ed3fec authored about 9 years ago
Now we are able to register our own transports, like: `ws://foo/bar`.
The idea is very simple: ...
ab28d81ae18a5639c8bf11fa7fc2f2bc1677928f authored about 9 years ago7dba807b6c309d4df628e225a5c8db381854c849 authored about 9 years ago
1df6b6a0b9230dacdfa43d7501050db77e42edd8 authored over 9 years ago
We introduce two new constants:
* `READ_OUT_OF_BAND`,
* `READ_PEEK`.
And we allow to use th...
db190ca6cc035f832dd28b44d30ce424126dfa45 authored over 9 years agoSigned-off-by: Stéphane HULARD <[email protected]>
c851694e7dfb1cf2c52b0bc394e30568fa72382b authored over 9 years ago0b0f4c33b55f7a0fefdb252a02375f3ce49ac9c0 authored over 9 years ago
f9fbc26102286a1c7b10529268b172c653de544e authored over 9 years ago
It partly reverses 6830694.
2714fb13260c8654658a5c29342f7c506ddde984 authored over 9 years agof348b74b0d6afa92feae2750ec535020eede49ae authored over 9 years ago
82082ad6f7b5618fdfb6f1eec2af9e5f339f9b50 authored over 9 years ago
fa62553ed1e97e819454bbc2fbbf692b8140154c authored over 9 years ago
8c57600d21582b7b4256590de6830839ac4555f1 authored almost 10 years ago
4a1e84de1f8cc1695a9cc56a309f343dd759997e authored almost 10 years ago
7e998c0d884457369feaabe86e2f962349850dc0 authored almost 10 years ago
0a558ad1377cbe78cbac00aa1ec93e323c863389 authored about 10 years ago
442ecbc9e5ca663052c720bb2d5915723002e2fd authored about 10 years ago
ba875e9c80d04c7b1ef3ea17b1c0740a3fead362 authored about 10 years ago
828db073ad1d4606ac98025b9c7e11a07d38026b authored over 10 years ago
a122920b0cea38906d4362596d687076b1c51001 authored over 10 years ago
a8d3e64282121f06ce5e779e9b08ceab753a3c4e authored over 10 years ago
7d70d0dbdd8361a7cb4ac98bdc4cea1bd450c0f6 authored over 10 years ago
5b391d528787a08f95208232f5018f5feac576b6 authored over 10 years ago
91a35df38067ff3ba7211aae487d757538f4fb13 authored over 10 years ago
462d96f1ad67310a9e198e17e546c4935b8d9036 authored over 10 years ago
PR #6 | Move encryption to Hoa\Socket\Node
PR #6 | Fix erase declaration
PR #6 Rename encrypti...
e49177cdd8d2043d2bba211c7bdedfe612e60015 authored over 10 years ago
This method broadcasts a message to a subset of nodes that respect a
given predicate. For exampl...
3347473f45db44cd898a853e2b21bcc8f07b74a3 authored over 10 years ago
c0820fa8eee12d2d375818fe5877a0853d6a3246 authored over 10 years ago
bfc885e60e1e4c7b091d83c1cbd9a217584a29b0 authored over 10 years ago
5a5789225b996d27c16a679d7525f65564490493 authored almost 11 years ago
9a97b6cfa760133568820f2a797ee08d852325ed authored almost 11 years ago
197b3c420f9c79f5a28bea7fbaeec319e28e8dfc authored almost 11 years ago
164f86f20b33306f0145457a6d8bd59b22e0722d authored almost 11 years ago