Ecosyste.ms: OpenCollective
An open API service for software projects hosted on Open Collective.
github.com/walkor/workerman
An asynchronous event driven PHP socket framework. Supports HTTP, Websocket, SSL and other custom protocols.
https://github.com/walkor/workerman
Unify and faster CLI SAPI validation
2c6d49953d64c97c7bfec866d06423e593760314 authored over 5 years agofix bug
79916729afb35dadf17bcc7001137eac49bc7a1f authored over 5 years ago保存parseSocketAddress的结果存储到_localSocket
11532e595900ce8378a86ce9b83b8fabc05b7fe8 authored over 5 years agoc2e940aa03ae20872e8332fa75476b34d27877a3 authored over 5 years ago
省得在mater或者worker里listen()时重复解析
703511e81942f46bdce550eab2b52ce1e0c49a5f authored over 5 years agoef96e6da3894b5cf9efeb9ab78d7613b13c38795 authored over 5 years ago
2ed2bd736bcfb10f120405ab07bd341792417d84 authored over 5 years ago
daaae3287e1750a90831dfac437d076003483d74 authored over 5 years ago
96af7a811764344479dc24593564cfe8de0792ea authored over 5 years ago
As the constant file it's only used by the worker.
c3378e878f31418ddf014ded4dda09b9104e5553 authored over 5 years ago34d07c66c0b211aa66e97df176245b5bd765eb39 authored over 5 years ago
9342d945ba356a1d25a94c769810749d3eb62044 authored over 5 years ago
fd8ff791b159ad16a530ddaf62a9b5f479ace6cf authored over 5 years ago
d3f97a6f468d6820fd8165518e255b87e752642c authored over 5 years ago
Use PHP_SAPI constant instead of function
ad32b7aa82443f96c27f04845e618955c89c6888 authored over 5 years agoSeparate Set-Cookie from headers
dfefd61444000bc43b31605b97d817b4cd921152 authored over 5 years agoae205665e5e3da4dfc26cbf73519f715236b8a22 authored over 5 years ago
facf8ba008a7c14fb274b3a2285d57facfb1685d authored over 5 years ago
68322257ef1c056e1454b22227c4f280daa01861 authored over 5 years ago
c2b7375a357a151722ef608467b70ff09bb88dc4 authored over 5 years ago
for faster encode
255193ae6a1cd3b0f990bae72a807c327f71d757 authored over 5 years agoSimplify and faster headers from Set-Cookie
86538beccd761939b3dbc361f0056492335ce184 authored over 5 years ago3edfb563f39df46d4352199f0b647090c3b767a2 authored over 5 years ago
Update headers defaults
b09e9e25108dad9ee91b125c9902842cec6bc935 authored over 5 years agoNow it's working
052d17f84fa2e78e0df87771a185547051ff6777 authored over 5 years agoUpdate response code
7f3341ce93d925781dc1f4b4fed9b24db517dd84 authored over 5 years ago90077515af34cf3394d9f7429a582d49e89969c3 authored over 5 years ago
3367e7632f578351e801e22c7f4e9104e126f029 authored over 5 years ago
Add Http::responseCode()
36f53c47e289b30fb9b4e6cf1f929a278a1ea7a8 authored over 5 years ago0daee7f580988c0839c626fbcfc0da84782e1fef authored over 5 years ago
Improve header creation
e3a4f50ff74c2f7cbb74bae866849fe15f6994af authored over 5 years agoTo add the code string for us. And used internally in Http::header()
6268bc8d831cd06090ccef087f9a09ddc040c6e6 authored over 5 years agof68815abe0521002ac7151007cefc7cd9368bfed authored over 5 years ago
Change getErrorType from switch() to array
83ea680b802e793ff967563836c053d8af088770 authored over 5 years agoIt's faster and easier to update. We use the constants and not numbers.
58f0492a3ea126e681010978b4181d57c70753cd authored over 5 years agoc296abc899a4d236bdcb94638021045f61a48dbf authored over 5 years ago
Performance changes in Http::header()
0acc57e5d5f81c46b33490cb5907849b4c04d52b authored over 5 years agoe3ccf9c85799aacfa96bfb53ed2b2cdd4c3139e8 authored over 5 years ago
f73ba219cb802b94765ab8daa819a95d8211286d authored over 5 years ago
before call isset in the large array
15a47a07a787cd5900c67f3be066bbbfb8a22f22 authored over 5 years agoChanged directly the response code.
19468bdcfcc00c9525f1854304383fc985be3967 authored over 5 years agoSeparate return, as return null.
c74b8346575641c464136ab503fd48baa560c1d0 authored over 5 years agothe same that in header
103a8ed1235f9dff47d843e0346d6147f7ffcb7f authored over 5 years ago5ccf24346fc9761d24333a4810a75dd7d6af46f3 authored over 5 years ago
9f0322489d6cfe96327cff6a21f7833154f9ba93 authored over 5 years ago
3474a7436b8d3dd792bb91a8980ead8a2eaba724 authored over 5 years ago
240c15a44028fae82a4f977e44f7ce2e0b139195 authored over 5 years ago
Enforce type hints
ab797e83db14aefcd9563a3012d80f6a54553a89 authored over 5 years agoSmall Performance
cb239e215f596b2ad71d48d2f8b590a78d40632f authored over 5 years agoAdd REQUEST_TIME_FLOAT
1a1fd4fcb234ce0c3c1f606aa123126a39089437 authored over 5 years agoDelete unnecessary variable
991174264fefcb474858bfe3f1de64149684f17b authored over 5 years agod88d46039a0f4d6b7b30a913dd808886c855406d authored over 5 years ago
e868d6705c3d435091f5579d2a2e388f47ae6037 authored over 5 years ago
edadc095e43b86e69043aa7b92155834ad10998c authored over 5 years ago
25d1b1caffd07c27c77441f7585d9d222e403be5 authored over 5 years ago
4d92ee1a36fe83c83d5b6da7723288e843f658af authored over 5 years ago
79fda46a361a1f6d328443918aaca3b5bd421b02 authored over 5 years ago
76b90a4149413d84ac769d38d1f70970633d7e91 authored over 5 years ago
7d959b41ec5109f954b966e169ee5e8618364224 authored over 5 years ago
be2c9a1c2a5ad6d0ab7f2f3b4fbe712404b412ab authored over 5 years ago
053a6d01fde280d2a76971be2d73ccb1f1bd454e authored over 5 years ago
f9e8b2e4169b0d451b7b6cf6d097f65d4ae0d39d authored over 5 years ago
2a12a586f7f9be820267ca022c0d383a4bac90ee authored over 5 years ago
2b4e7b629e36cd1a23bb2f3934d461a139a3713f authored over 5 years ago
9c598b5a1c738d78f6f9d2f71d51aed971163c80 authored over 5 years ago
56bff584417a0573814b5bfa54b2789a1c6d29a6 authored over 5 years ago
compatible with php 5.4 and useful for benchmarks
001d8b13d6127a38717987a0249e04cb0e0e7f88 authored over 5 years agod18273d3fb5cd2ab2849d98238d8bf4a224c11fe authored over 5 years ago
Enforce type hints
38b59d0d54fd4df8df4289a445c4f8d91f905b07 authored over 5 years agoChange phpdoc callback to callable
16775dd464dae1841b660e522bb2b27520adbb5c authored over 5 years ago60c967bfecc8feb030ae3734d36bf1c9e66cee63 authored over 5 years ago
a71e9bc19d800c1eb86171f73235d0428120f6b4 authored over 5 years ago
41398f9a4fae6cc9c166b31efc5c65cf23e9fefe authored over 5 years ago
ada24344f8b7352f668279ab2952fc12679ec9e9 authored over 5 years ago
19b289eae99c1f478a8533d45f1b957ec14f1aa0 authored over 5 years ago
a1af125b78154f91974c2159b0db51e91597c85b authored over 5 years ago
b6456b53db3a7b09dbe3ba7f9bd8f0867f0a0443 authored over 5 years ago
turn reusePort on by default for better performance
c528197ef7b44e387e33f5cc0d9d2e0ee7bcf843 authored over 5 years agoef6fe16cff13ce0e853934adc8fc90ef0d2f9212 authored over 5 years ago
17b8cf08a76b0cf426047ed24a0fc29853e6aea7 authored over 5 years ago
Different protocol has different type for Protocol::encode().Fix ide …
a3536b80008f103908eedd4c023d0f35a6559e33 authored over 5 years ago5dc6da08eeb789a2ea1cfd5262d87bd4dc7b550f authored over 5 years ago
Fix keep-alived only for php file.
372bac84cf33ec27ddd6489e614f4f77f6682e96 authored over 5 years ago078cf5f339ebdbf6e93362bc44b983cfc4fab1c1 authored over 5 years ago
optimize Ws protocol encode performance
e54d5f95adeec5bffc2df104998ca4645e10eb59 authored over 5 years agoc894fd32efda5d513e3e36cf1dbbbebba8d2340e authored over 5 years ago
981eea39b26653a88769745905a0c2a459eefdd0 authored over 5 years ago
Discard sending data when status is connecting on close.
e8415bb87ce0534f961103ee87c3525422cce045 authored over 5 years agoBump websocket decode performance to %40000 or more in heavy traffic.
70aa00ed8a14cf6ce509af0f7818000127c550b7 authored over 5 years agoc3f33c4354fa3a87784d00d3b7c8d761f5c56f50 authored over 5 years ago
01ea5037f268fcc465f61a6039327e4212fe3463 authored over 5 years ago
Remove forced ws client header 'Origin'.
93a8828190f9ea465a19426aa38f441a3ece190a authored over 5 years agobc5d3a4db2002f116fc403c71ccee0058a5d4f13 authored over 5 years ago
This is not needed in common cases and may cause 4xx response.
The default value '*' is also inv...
4d590130310a8d7632f807120c3ca1c0f55ed0d7 authored over 5 years ago
4c173c30505d49656b71d315963f960280ba3d41 authored over 5 years ago
b5145b12f9ceddce36a69fa50d0dca0abbe78218 authored over 5 years ago
6127e345e967780ed78d144b21ed1546cc8d9d9a authored over 5 years ago
e23ffda31bc1241a50cc3c0635e866c27ecee2e5 authored over 5 years ago