Ecosyste.ms: OpenCollective

An open API service for software projects hosted on Open Collective.

github.com/swoole/swoole-src

🚀 Coroutine-based concurrency library for PHP
https://github.com/swoole/swoole-src

Update version for Swoole 4.5.8 (#3852)

f761af90ece10652cd0c758ce99d20c026ae8452 authored almost 4 years ago by codinghuang <[email protected]>
Fix is_callable() can not access internal private callable on PHP8 (#3859)

ca218a5ec404c7445b1f691343010a07942ea162 authored almost 4 years ago by twosee <[email protected]>
Fix memory overread when parse form-data boundary (#3858)

21290cf0f4bfa86fa34a61725d3893a0dbbe3ef7 authored almost 4 years ago by twosee <[email protected]>
Fix wrong sizeof argument (SIZEOF_MISMATCH) (#3861)

a190737d6f38152a1f5afc1aab152ce423f57cd3 authored almost 4 years ago by codinghuang <[email protected]>
Support cookie priority (#3854)

* Support cookie priority

* Fix missing priority parameter declaration

Co-authored-by: cod...

d6476dcf80ded62f92d7ce0f476679cf1c152792 authored almost 4 years ago by 韩天峰-Rango <[email protected]>
Feat support ssl for readv and writev (#3857)

* Optimize iovector operation

* Support writeVector_ssl

* Support writeVectorAll ssl

* ...

ff759513fb2157fe9b3fd3941e0d82b86ca07928 authored almost 4 years ago by codinghuang <[email protected]>
Refactor allocator (#3853)

b09a7e9acb2c19c91f2c69df449c9fa77be5d010 authored almost 4 years ago by 韩天峰-Rango <[email protected]>
Refactor iovector (#3843)

* Refactor iovector

* Refactor Socket::readv

* Refactor Socket::writev

* Refactor get_o...

e6abbc6d6de1f5b62f8b2a5a8809a397de4c576b authored almost 4 years ago by codinghuang <[email protected]>
Improve dtls, support 16k record (#3849)

c3b9cf79cbb10e85e3dac3977472fcc8fe85a910 authored almost 4 years ago by 韩天峰-Rango <[email protected]>
Skip fork repository sync (#3848)

bdd37d5341b5795d282524689087f8483ef8d4d1 authored almost 4 years ago by 沈唁 <[email protected]>
Remove useless create_flag and re-align struct (#3847)

f9b0c7151c5bc8698fcb12a7eb85691fe1059bca authored almost 4 years ago by twosee <[email protected]>
fix core-tests, https://sourceware.org/bugzilla/show_bug.cgi?id=17523

e3149f808750dbbb7bef74683443dfe49992dd55 authored almost 4 years ago by matyhtf <[email protected]>
fix #3839

a71956d6370d375f97c34c8cabc379b553a3e410 authored almost 4 years ago by matyhtf <[email protected]>
disable tcp_cork on macos

661b789adb2be7d48b1fc4d667c8d280e343a901 authored almost 4 years ago by matyhtf <[email protected]>
Refactor pipe (#3841)

* refactor pipe

* fix tests

* fix tests [2]

* fix tests[3]

* fix tests[4]

* fix t...

b7934ec519dc6a4ba9cbd18ae0d24358d6a30796 authored almost 4 years ago by 韩天峰-Rango <[email protected]>
Add Test for Append writeFile (#3840)

* Add Test for Append writeFile

* Update writefile_append.phpt

* Update writefile_append.p...

aec3df3c1974cfbd21aab70ae8badfaab9098bce authored almost 4 years ago by 沈唁 <[email protected]>
Fix binary security of table keys (#3842)

a6bcc4cb002a7bdfb255399d4bdba8b39cba9f63 authored almost 4 years ago by twosee <[email protected]>
Fix coverity scan issues (#3837)

* Fix Unchecked return value

* Fix explicit null dereferenced (FORWARD_NULL)

* Throw Excep...

9ef0648dbeaafb18ffc7f2f86e1e6c061a1efb6c authored almost 4 years ago by codinghuang <[email protected]>
Fix invalid read by valgrind (#3836)

44b5929bc9193751433b0705a04a96b7771ee7a0 authored almost 4 years ago by codinghuang <[email protected]>
Refactor memory allocation function, replace macro with SwooleG.std_allocator

531b7d39eb26cf0cfc584e55bce7e36005bc3b96 authored almost 4 years ago by matyhtf <[email protected]>
Hidden reactor creation function

79fd01f3d1f7a82f7cf7ecef2b9598ddcd2a9413 authored almost 4 years ago by matyhtf <[email protected]>
Optimize log rotation

67d2bffe76be036720800d3b6ff462a9d4a4206f authored almost 4 years ago by matyhtf <[email protected]>
Warning free

6ede7361ceb792f9deee828323533f09d8397520 authored almost 4 years ago by matyhtf <[email protected]>
Refactor async dispatch function

c2dcb399f1793ecb32bc85cdaa8ec57052b67b22 authored almost 4 years ago by matyhtf <[email protected]>
Fix warning for PHP8

03f3fb0b6b03de9fe061bd4756f3f3f161d8af07 authored almost 4 years ago by matyhtf <[email protected]>
Fix readv_all and writev_all (#3830)

* Fix readv_all

we should not modify the iov after the readv call is failed,
for example EAG...

664e8b58519400d38d306e934a889c8349b27cd6 authored almost 4 years ago by codinghuang <[email protected]>
Do not wait when the child process does not exist (#3832)

72a5be9d7a2cd159861cd81e86bd69527142e6e5 authored almost 4 years ago by 韩天峰-Rango <[email protected]>
fix gdbinit script

3c08c9a16380383f601fc13d75b24d0e2bc8c925 authored almost 4 years ago by matyhtf <[email protected]>
Add enable hook can only be run in CLI mode (#3823)

* Add enable hook can only be run in CLI mode

* fix

* fix

fd689d0e67e66144cfa621b31d1585042794e910 authored almost 4 years ago by 沈唁 <[email protected]>
fix: set 0 to the end of zend_string::val (#3827)

46aee5a98eabd0fa6d240a89d2cf368063e04b70 authored almost 4 years ago by codinghuang <[email protected]>
Allow binding to a random port (#3825)

31cf895f7259832535083eeec9fd8ec5d4b01ac1 authored almost 4 years ago by twosee <[email protected]>
improvement: throw exception in writeVector when use ssl (#3822)

* improvement: throw exception in writeVector when use ssl

* improvement: throw exception in ...

1464b5625b3fae036c54fbc8d2590fa6783b43a2 authored almost 4 years ago by codinghuang <[email protected]>
Fixes for PHP8 #3819 (#3821)

* Fixed for PHP8 #3819

* Update swoole_socket_coro.cc

Co-authored-by: 韩天峰-Rango <mikan.ten...

5f9ed2db63c2fa4858b03c83f8b49f445b6922da authored almost 4 years ago by Bruce Dou <[email protected]>
Update API_VERSION_ID, Change header file installation directory

56b07ae11c8e1c85ce77676f52348f7973508aa3 authored almost 4 years ago by matyhtf <[email protected]>
Fix test description (#3818)

581bb4912bc92eac5bbd90c848d841ff00f9a65e authored almost 4 years ago by Yurun <[email protected]>
Fix build error, unused return_value (#3816)

* Fix build error, unused return_value

* update

* optimize code

* optimize code [2]

...

6268f4dfbb3745b794c662ef9f66c7e4f269026c authored almost 4 years ago by codinghuang <[email protected]>
Fix coverity issues (#3814)

* fix: try to fix coverity issues

* fix coverity issues

* fix [2]

* fix [3]

* remove...

1743e776863691941f7e815e29054a2b584d7428 authored almost 4 years ago by 韩天峰-Rango <[email protected]>
Add getSize method for Swoole\Table (#3811)

* Add getSize method for Swoole\Table

* Add property declare

5c321421872a3c68350ebe28b0a74dc119239604 authored almost 4 years ago by 沈唁 <[email protected]>
Optimize return value of EventBarrier, Stop event waiting when the PO… (#3813)

* Optimize return value of EventBarrier, Stop event waiting when the POLLHUP is triggered

* f...

91dc7f231f9ce1b40ede4b78bd7037092372c9ce authored almost 4 years ago by 韩天峰-Rango <[email protected]>
Update version for Swoole 4.5.7 (#3812)

a557e012173ab0acc7a02dd9f424ce1e491599f7 authored almost 4 years ago by codinghuang <[email protected]>
Remove useless parameter and return value (#3810)

f4d5fa3ac07a423033655cadf0e1d4053774786f authored almost 4 years ago by 韩天峰-Rango <[email protected]>
optimize CoSocket::writev_all()& CoSocket::readv_all()

68e4d388308a4129339d2aafcc8add35313e659e authored almost 4 years ago by matyhtf <[email protected]>
feat: support coroutine socket writev (#3764)

* feat: add coroutine socket writev

* improvement: improve the test

* improvement: use def...

9c8df2f9e6316dd40d7fdf7b2923c06cfd06d867 authored almost 4 years ago by codinghuang <[email protected]>
revert openssl 1.0.1 support

5505e9e01cd2c52875080fb7d9a9428e76cc1aa6 authored almost 4 years ago by matyhtf <[email protected]>
Add compilation option for JSON decoder, Support negative offset (#3809)

* optimize code [2]

* fix

* Support negative offset

* defense code

4432dc1827455b8dd3c6b61f07c5b97e78147a0a authored almost 4 years ago by 韩天峰-Rango <[email protected]>
Add dispatch count (#3806)

* add dispatch_count

* fix tests

9edcc4cadd1d1c689a3e8015091e171ea0901e8b authored almost 4 years ago by 韩天峰-Rango <[email protected]>
optimize code

7fe1c6c4b7ee04fa49815e4cbcc349cb42077dae authored almost 4 years ago by matyhtf <[email protected]>
Limit uid range of server->bind (#3785)

* Fix bind negative number overflow

* Update bind-negative-number.phpt

* Delete bind-negat...

b722670bf82ac88ae0de4b1b8ff054286d19c64d authored almost 4 years ago by 沈唁 <[email protected]>
optimize string (#3801)

* optimize string

* optimize string[2]

5cc784cbc5c2b5f163c0fe960f8a74ab3ec20961 authored almost 4 years ago by 韩天峰-Rango <[email protected]>
Optimize namespace 2 (#3798)

* optimize base64

* optimize type of sendfile return code

4ec00e85236ac5076dac1709496820f2296fd34c authored almost 4 years ago by 韩天峰-Rango <[email protected]>
remove HUGEPAGE, optimize code (#3795)

1bf4629b83ecb7cc103213c7682d65cd80ba1e9b authored almost 4 years ago by 韩天峰-Rango <[email protected]>
Optimize namespace (#3794)

* optimize namespace

* fix

* fix tests

* add eol

* add eol [2]

* optimize code [2]

a6f8e7faffe6355ee494ed845e2ce39beedeba2b authored almost 4 years ago by 韩天峰-Rango <[email protected]>
Fix #3792 and add a test for it (#3793)

a8e11b9c2163f61d286c6625ecdf852674b9cfc4 authored almost 4 years ago by twosee <[email protected]>
Fix kqueue build

abd3887361f747e78925fe6f8c64f0c14d476e19 authored almost 4 years ago by twosee <[email protected]>
Fix undefined in_silence

5da019db745a5d6e65f42aa274fb71b6128488ec authored almost 4 years ago by twosee <[email protected]>
Refactor lock (#3791)

* Refactor lock

* fix tests

26ba02b20123bfba25ffb82c9ba68fe67ed4784d authored almost 4 years ago by 韩天峰-Rango <[email protected]>
Refactor memory pool (#3790)

* refactor memory pool

* fix tests, optimize code

* optimize code [2]

* optimize code [...

43584a5a62ce29fa6d15bc74e2bcbc691fe9e9e1 authored almost 4 years ago by 韩天峰-Rango <[email protected]>
declare extension dependencies (#3789)

f765fc1f81dba8055f33871c99f2395dbc89b4ba authored almost 4 years ago by Remi Collet <[email protected]>
refactor reactor (#3787)

* refactor reactor

* fix

e39474e8b1ec097a225acb758caa2522b0a9ad06 authored almost 4 years ago by 韩天峰-Rango <[email protected]>
boost.stacktrace (#3788)

a3b70d698efb0f2a2b45d9934650eb5694de041a authored almost 4 years ago by 韩天峰-Rango <[email protected]>
Refactor server factory (#3786)

* Refactor

* format

* rename

* fix tests

* code optimization

* fix core-tests

...

cff31230719bc393c82b404d4334b7563025eba4 authored almost 4 years ago by 韩天峰-Rango <[email protected]>
Add task_worker_num for server->stats (#3771)

* Add task_worker_num for server->stats

* fix

* fix typo

e0ebc49cfb3ebceb2e708c3b05aedc9cedd21052 authored almost 4 years ago by 沈唁 <[email protected]>
Add mirror to gitee repo (#3775)

* Add mirror to gitee repo

* update

1a1ed8bd63f7379521f46a5413c126ca4927f7dc authored almost 4 years ago by 沈唁 <[email protected]>
Fix sync client error info (#3784)

b5164b83ca97f1c87289312599d2e9bcd6021492 authored almost 4 years ago by twosee <[email protected]>
Update README (#3783)

2a223f595076b9fc11e96f806e6ea6bb0dc6a690 authored almost 4 years ago by twosee <[email protected]>
Update README-CN.md

3d5146dcbd586845be0091cd47e117dc11c5e423 authored almost 4 years ago by 韩天峰-Rango <[email protected]>
Remove useless icon

b54af3710d4bbf90ec5919f7e17a1b88e3302e61 authored almost 4 years ago by 韩天峰-Rango <[email protected]>
Update version for Swoole 4.5.6 (#3768)

6edd32258ea3c68b32ee94bef7c0fd91770e860c authored almost 4 years ago by codinghuang <[email protected]>
improvement: improve printf format (#3773)

1. add __attribute__ format for sw_snprintf
2. change SessionId and TaskId to long

5dd7f08ea46dcd0ffe5160b4bd28f7310bc5446e authored almost 4 years ago by codinghuang <[email protected]>
Fix coverity issues 2 (#3769)

* update supported.md

* fix printf type

* fix 2

3096a807bd93cabbc60e1ba9f4671a573d57ca17 authored almost 4 years ago by 韩天峰-Rango <[email protected]>
fix coverity issues (#3767)

* fix coverity issues

* fix issues

* fix

* fix

962e25768fc987ffe1745c798bbd1cc61f1522ee authored almost 4 years ago by 韩天峰-Rango <[email protected]>
add discard_timeout_request tests

8b508f82584897a66ad35ef5a887ed6cdd3b4746 authored almost 4 years ago by matyhtf <[email protected]>
fix: fix build errror (#3763)

* fix: fix build errror

1. when open --enable-swoole-dev

* improvement: use PRId64 instead...

cf3c3ba8332387c8988b74b8813dbd7efdd5b4bf authored almost 4 years ago by codinghuang <[email protected]>
Add ext decoder (#3762)

* add swoole_ext_json_decode / swoole_ext_unserialize

* finish it, add tests

* fix tests
...

1af414cec31a3f52b647ddf18a09d4b15bb6f252 authored almost 4 years ago by 韩天峰-Rango <[email protected]>
Set Coroutine\Http\Server::onAccept to private property

dfcc83bb549a8fc7a43d8cb934b092b44d63cf6d authored almost 4 years ago by matyhtf <[email protected]>
Optimize server code (#3756)

* Optimize code, Added type of SessionId

* SessionId

* fix tests

* fix tests [2]

* f...

6c9a358114858c7bf5fe27f72f3975c86bb0ecb1 authored almost 4 years ago by 韩天峰-Rango <[email protected]>
fix: build-library path error (#3759)

f6a09176472bc1eec608dabeea8bb0643264b5ed authored almost 4 years ago by 沈唁 <[email protected]>
add Co\WebSocket ping/pong test (#3750)

* add test

* update

76727e39d2bd30bdfb93a238db04e02729ed5a3d authored almost 4 years ago by 沈唁 <[email protected]>
Fix PHP-8.1 build (#3757)

e443a24b05398f0309bee51d7734247cd529517f authored almost 4 years ago by twosee <[email protected]>
Refactor MsgQueue (#3749)

* Refactor MsgQueue

* update pacage.xml

* fix tests

d7a72552f6c63a69b9b63d2cb77f1cff2553e85e authored about 4 years ago by 韩天峰-Rango <[email protected]>
Optimize file ops (#3746)

* Optimize file ops

* fix tests

10de57f8bf300444328a8610535f51fc665113d6 authored about 4 years ago by 韩天峰-Rango <[email protected]>
Optimize code (#3744)

* Optimize code

* fix tests

* Optimize code

* fix tests

1eb4a6a2490af54df9066157fab59d9e430fd8da authored about 4 years ago by 韩天峰-Rango <[email protected]>
Migrate PHP extension source code to ext-src directory (#3743)

* Migrate PHP extension source code to ext-src directory

* remove file

* fix tests

* fi...

eba657b310fb7e714764e3b4d4e398138714180d authored about 4 years ago by 韩天峰-Rango <[email protected]>
Optimize header files

a7e9e6cd87f7ded44ecaa125810d1e10d765b293 authored about 4 years ago by matyhtf <[email protected]>
Add File class, Refactor File API (#3741)

* Add File module, Refactor file ops

* Optimize code, Remove useless code

* Optimize code,...

96549dadb675335a6f23af4bc6284ffff14ee045 authored about 4 years ago by 韩天峰-Rango <[email protected]>
Optimize code, Fix swMutex_lockwait invalid

0fc5665c2a8fa515a49b9ae59ae494eca64605cf authored about 4 years ago by matyhtf <[email protected]>
fix coverity issues[2] (#3740)

* fix coverity issues[2]

* fix coverity issues[2]

77fd91854b865bc6fba16aca6adf699b60a81603 authored about 4 years ago by 韩天峰-Rango <[email protected]>
fix (#3738)

05e15eb712fb19fce8b6eef280ddf4fd5d6509d6 authored about 4 years ago by 韩天峰-Rango <[email protected]>
Fix coverity issues (#3737)

* fix coverity issues

* fix coverity issues [2]

* fix coverity issues [3]

* swoole_strl...

3d138ef31a5b910601141d43bea96bd8080c843f authored about 4 years ago by 韩天峰-Rango <[email protected]>
Added Socket::read/write/shutdown/check_liveness (#3735)

* Added Socket::read/write/shutdown/check_liveness

* use peek

20a85e276f85b4d39f18b6d5163f86dc9062141a authored about 4 years ago by 韩天峰-Rango <[email protected]>
Optimize crc32 code, Remove useless files

b26312b336f573ed2c3e805985a8f267b10ac58c authored about 4 years ago by matyhtf <[email protected]>
Update version for Swoole 4.5.5 (#3734)

8b1126048818eead37e314188f51462d04211625 authored about 4 years ago by codinghuang <[email protected]>
Optimize code, Remove swCond

6d014615f29552f7615a03e769cc20a776e88bc5 authored about 4 years ago by matyhtf <[email protected]>
Optimize socks5

d961c38befe6cc306bfb5bd979f877e7a2d39ec8 authored about 4 years ago by matyhtf <[email protected]>
Optimize socket (#3733)

* optimize socket

* improve set socket option

* ipv6_v6only option

* Optimize code

*...

05f69c6c0b27471e04e21666a68b657ccfae6e2a authored about 4 years ago by 韩天峰-Rango <[email protected]>
HTTP2 improvement (#3714)

* Update worker.cc

* Fix HTTP2 last_stream_id.

* Fix HTTP2 request_count

* Close HTTP2 ...

c4b9acb4656bc46d5b49e5b4a2efa2aa482b2219 authored about 4 years ago by Bruce Dou <[email protected]>
add recv_queued_bytes to Server::getClientInfo() (#3731)

1484ad279a1f156e326877954f5258f5fac569ac authored about 4 years ago by 韩天峰-Rango <[email protected]>
Optimize code (#3730)

fd6c33c73f9200947eebc8d8d57a23e79d6d0446 authored about 4 years ago by 韩天峰-Rango <[email protected]>
Support option of stats_file (#3725)

* Support saving server stats to file every 1 second

* Optimize

* Optimize

* Fix test
...

4e1c357425009722f8ab50f6a8be9411882da9f0 authored about 4 years ago by 韩天峰-Rango <[email protected]>
Fix PHP8 build (register_user_shutdown_function) (#3727)

0de5350397b10f4fb850f5ab747057a270518c9a authored about 4 years ago by twosee <[email protected]>