Ecosyste.ms: OpenCollective
An open API service for software projects hosted on Open Collective.
github.com/swow/swow
Coroutine-based cross-platform concurrent I/O engine.
https://github.com/swow/swow
zend_string_realloc did not work as expected.
7c31da9a15a9af85ad83cb83d94167887707bc9d authored over 2 years agodac4fea8877fa9b3d1dcf9ce43c44f4b503ae3d5 authored over 2 years ago
37d3f30044db29c6bace2554e19e15d1b17b95d0 authored over 2 years ago
* libcat/libcat@4075cbb22359293affe7067e2a4e8c8e28d19ebb
4f1f4b52cb5b46059c4369e018643a8ab89d5747 authored over 2 years agoSeems do ... while wrapper would prevent it from breaking, it's unexpected.
7ebf75f0366abb7654f6b594c589c26a60ea7faf authored over 2 years ago4d2520833a2529e7644f72cd1ac5a38780dea67e authored over 2 years ago
9aab881c327ed6907e0d72ab787129064d5e0a82 authored over 2 years ago
Introduce WebSocket Header and remove previous WebSocket Frame implementation.
Since v0.2.0.
d0e7bf6bb77a93bd35b2b8f914b9f8059f1a4c4c authored over 2 years agoaf3672a3c0006b450a073179d7e99a7370b2fe96 authored over 2 years ago
To sync with Buffer changes.
Socket->sendString(To) have been merged into Socket->send(To), and ...
3c94ddb8f387e22cc1ddd1593727aafac55cd1d4 authored over 2 years ago
Use string_get_readable_space() API instead of macro, and rename param from "offset" to "start" ...
098e8de42cd42064a32e29ebc790ee3a96e229de authored over 2 years ago7e5ea5de24e8761f46c138d9e02cafde738c5adb authored over 2 years ago
ca56bb739ace204a81150c915edee50c0f59dd07 authored over 2 years ago
1. No longer follow Psr style, we will do it in PHP library layer without inheriting because Psr...
f5e0d7b99d046178b0784a84b727b356e4d4147e authored over 2 years ago
getNameFor(int) => getNameOf(int)
getReasonPhraseFor(int) => getReasonPhraseOf(int)
getDescripti...
These comments mean unknown, and it breaks test coverage collection.
43bc393791dee6ea8b871357f81e6afbb31df855 authored over 2 years agode3bf54c6aa1b96fe144834b81468b1143016426 authored over 2 years ago
c4f966ddfb74f481554d0f73b653348feafd3f22 authored over 2 years ago
bdaeffbe41a2c09d867be8c9d8bbd447fd0312a9 authored over 2 years ago
f570edd1e2e67619140b16def95d263b69bedd2d authored over 2 years ago
0ce5207df0da2b0ff0f9e1853148e030dc7fbb0b authored over 2 years ago
7a0f5b0bd3a10fcfa5b3ed44dbbc85d946e7e89e authored over 2 years ago
41461196ef169307bbf0e9acd1ddb0dde51fc621 authored over 2 years ago
f6be8f49421399e3dc1bb799438f6779b0dfba11 authored over 2 years ago
cc08146c9605605beed52c1fbbcd20faa5150cee authored over 2 years ago
4ca209f2c52e5e13e83269d4f9027cc1b09c163d authored over 2 years ago
b788c9d08ce4e98db58672bd8c7cd97bd63756ab authored over 2 years ago
fc55c45b0a3272e5010479c4ae5b92536f8aad94 authored over 2 years ago
Socket->write($buffer, $length) is equal to $buffer->read($length).
bb8bf186b82e6c73d6b13a303d5050bf23a3cbaf authored over 2 years ago07899be4d8e703668362dda9039554e3fa2d2597 authored over 2 years ago
Use string instead of Buffer.
8d583dfdba12b128268c6de0fd6dfdf75c748121 authored over 2 years agoWe've already refactored logic of parser, and EVENT_NONE event can represent all "more data need...
e1b9857cc5efbc8e7158ae9bc071e04d9e349919 authored over 2 years ago24046c38648313c35a2302f7f7bb3426dcc195f1 authored over 2 years ago
b76e501ac2a684f84f2e0d4c6a5c5c5d063002fa authored over 2 years ago
50070de3c2cd3aa90a88ca2e5d5a031391cfc5da authored over 2 years ago
ebf08dcd659650785d3a09b738996d231d97258b authored over 2 years ago
Instead of always allocating new string and copy from old one.
Previously, we want to reduce the...
94654c6bd1aa5404f30bcee51bb78738c45499d3 authored over 2 years ago
b255992f6ebf0fd5c6a74d100f7cf257b5e6104f authored over 2 years ago
1c9552b7edce1d58ad4900c977b89562e46d84bc authored over 2 years ago
Consist with file_(get/put)_contents.
1ce7ee18b1da982971fd20b4290dec765f977e65 authored over 2 years ago
+ Http\Parser->getPreviousEvent()
+ Http\Parser->getPreviousEventName()
+ Http\Parser::getEventN...
15e56f44df8b8c41bae8d480c89556f687e5ac56 authored over 2 years ago
104c9c964a8c0356c0469a831ad7f926b99b7159 authored over 2 years ago
Also added a test for it.
c4809fe7afc0856a1dd6311098014e8f17a1e724 authored over 2 years agoSocket->read($buffer) is equal to $buffer->write($data), so offset should be moved to the end of...
3e529b66e2feffa6fb079c459784857e232fd8a9 authored over 2 years ago273fdd87efec473b5cfe4635c2eb72bb3d564261 authored over 2 years ago
698c6a642820a0e58bbd09d73c2ce18794706b2b authored over 2 years ago
4433bca6dbc351ced47f3eb2478f3a67c01206fa authored over 2 years ago
6cea6e0b55950560c88969374de981cb05843635 authored over 2 years ago
eece83246fe46d7f5ae974e6dd2abcea471fc595 authored over 2 years ago
cc29dcb3b78fdab643b517e4b1dc703d8a76be2d authored over 2 years ago
2e9fd9ff58c8f2e57ba1791cf8731825a11e7ece authored over 2 years ago
f565083b7e096fba1a1336f54370d7cb3ebd8108 authored over 2 years ago
c1dadf448bc91195500b15e99a3619c9712b8190 authored over 2 years ago
67921e84f2c672e19e33e2d083f1886c8fa995cd authored over 2 years ago
4b5b59fc6867462219ed727c26f93287902df0aa authored over 2 years ago
7d56649f8f506bac94d3b0327843704f347e26eb authored over 2 years ago
c3101412f1a2af3871d93f55b24f100560b24c6a authored over 2 years ago
* libcat/libcat@0a6e02c22f0e104e7060b0dd8ad119e18d2c440a
b456600b92b2564e49b9fa5878b3e2421b0f19fe authored over 2 years agoWe have already did it in dtor function.
bd49cd9df9634e941f0ab1747d19ac1a75a94cc0 authored over 2 years agoae5242dc5d3f1f72e5ada1febcb0ffe35a02b77a authored over 2 years ago
7c4601bcbcd61cc74d2bad51a50fe68216ce70a9 authored over 2 years ago
9c6f820958691eb3b7eba4c6e82ce4d54e645171 authored over 2 years ago
* libcat/libcat@8ee23a2f30f8d58461dbdb81707224404971e89c
0c34388fa98da25afcce3210424cca155bbdf300 authored over 2 years agof087a87307d09ba8c6743f2bf63ef11fdfdedfd5 authored over 2 years ago
This should be refactored later, just do defensive programming for now.
b307f90fc11bc2928b50dafb367ad6338ce9d802 authored over 2 years agofetch() is difference with get(), fetch() is to take away the string.
768f8636b561424d181bd02f506355c011da9730 authored over 2 years ago7c6f6dd86bd2f1204a0f2776e26b401c90b74cf8 authored over 2 years ago
a84de16a2e19bf5deb209e6925ac02821ac8b232 authored over 2 years ago
ebd84e32c82df6a993581b2640440f25c852715b authored over 2 years ago
3bfdf220696066bceb0d648cab9b0f374618f758 authored over 2 years ago
We may save exception before zend_call_function() and restore exception after it, and coroutine ...
6286d946f6f76aea4e8e6658994e0684b5d8cb52 authored over 2 years ago89b30e4ed89061b1ae0b6124c0f46077f9b993f1 authored over 2 years ago
36239cdb1b978fe651c1a71485d47fd3b2bfa777 authored over 2 years ago
1be1c0c9901505c6731fb57aa28bac59be80a839 authored over 2 years ago
1bef3f7db0cb8a1b47df227879620f5221477dd8 authored over 2 years ago
09ab7daf8764302915af86aec8f4b43735d1bbc9 authored over 2 years ago
* libcat/libcat@ca5bfd9760c331df0e28fe683d3098649178722f
23c932353c08ee5cdf6ce3be2a8c3ec68aa8589a authored over 2 years ago2a40770bfef700ff09c06bec40ce40ca068d8f98 authored over 2 years ago
For response objects implemented by 3rd parties, this will cause the body to be incorrect.
99e94ea3e093f72bb444234017494830cac00ebd authored over 2 years ago80b5247d47e518e6f321af3c2d88405c43365be1 authored over 2 years ago
b5b6ca72f5bcf79e2d46ac4ad421453638686a37 authored over 2 years ago
595a8dd497462f3a4fd473c2175c85f9ef1262ce authored over 2 years ago
47600f1fe66c81d6e59c0153f58e416803f5d8ea authored over 2 years ago
* libcat/libcat@f7a9a7fa7abc2cf77a6908ac2f5c985f69a21f23
7af60d4dddba911805967c5a01387891ad64898e authored over 2 years agoAnd add connection closed by peer test.
eb28aa0b641f9f9fab645b7b4f4f3d7ef9c1d0f2 authored over 2 years agowatchdog is one word instead of two.
f9789eb4f81b27998d07971c71f2e845f43ee4e4 authored over 2 years agofb3f84358d8dd47ad712aada9f45b21abbb46765 authored over 2 years ago
8b87300a40ecd2715e90609ac28d2242940313ae authored over 2 years ago
watchdog is one word instead of two.
08c1a8e4ec30a667b9788f462e306cef184869e6 authored over 2 years ago43b17f5ca4ff69cb40f8386d2e54dc1a5e1a6b98 authored over 2 years ago
It broke code alignment and diminished code readability.
0d1790456bbb807f697e0cdc5eab34b77d67f696 authored over 2 years agoe7f2d278a8b307adefec7abc47b63b50db3491d7 authored over 2 years ago
79d27c4d1ba66fcdf1263c51c1e1c4a3cfa7a785 authored over 2 years ago
22dd56e74f030e122643c40e31073e4d4b06d48f authored over 2 years ago
Do not pass empty data to parser anymore, but go to receive more data from socket directly.
6d5a82e0e256c4f9bf1d3645dff74a421ab6a4e8 authored over 2 years ago9e51d63b913616fab6a11da23c7b0c1ba81ef0cb authored over 2 years ago
14712b7c171402064e661f8fd66a440814f2b5be authored over 2 years ago