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

Simplify table int type (#3407)

* remove int size

* code optimization

* fix bug

6de1f1c6c3392fca05903a4a7f145f9e16c8ccbe authored over 4 years ago by 韩天峰-Rango <[email protected]>
feat: add tcp_user_timeout (#3404)

* feat: add tcp_user_timeout

* fix: fix test

* improvement

821c5c85890cded4230d98e9527e3057486b9441 authored over 4 years ago by codinghuang <[email protected]>
Fix #3391 (#3400)

2f0fb43680f855da421039c6ed773f6ec2c39899 authored over 4 years ago by twosee <[email protected]>
Fix warning (#3398)

79bb02d81d3737413771b50a37b9232fefdf11ff authored over 4 years ago by twosee <[email protected]>
Added lowercase_header option for HttpClient (#3399)

* add lowercase_header option

* add tests

262d96d6a68f5867718273504feed6db4e219981 authored over 4 years ago by 韩天峰-Rango <[email protected]>
Fix send yield logic bug (#3397)

* Fix send yield logic bug

* use auto

* Use auto

* Use auto 2

* defense

Co-author...

3acd648e755c47735cc7e9eb6600e7339cec9dc2 authored over 4 years ago by twosee <[email protected]>
fix: fix heart thread operate conn->socket (#3396)

* fix: fix heart thread operate conn->socket

* improvement: use swSocket_write_blocking inste...

e166871d3e1d57c7fa0c5f339b6944bff910bf57 authored over 4 years ago by codinghuang <[email protected]>
test: create websocket server in process pool (#3394)

78226b1e73863c60fe4bbbbd19d43d898d226b18 authored over 4 years ago by codinghuang <[email protected]>
feat: add bind_address and bind_port for http client (#3390)

* feat: add bind_address and bind_port for http client

* improve: request the internet

d575d70da746351fb7c544227b03f505feac8641 authored over 4 years ago by codinghuang <[email protected]>
fix: stop worker in workerStart (#3382)

* fix: stop worker in workerStart

* improvement: add newline at end of file

e59eda15989f0c9bc1e86379f354d53bb183f3f8 authored over 4 years ago by codinghuang <[email protected]>
Fix missing php_error_docref, timeout_event and return value (keep sa… (#3383)

* Fix missing php_error_docref, timeout_event and return value (keep same with PHP netstream)

...

83b4d13bdcb9cef6d7aae3ff66b95a8d5b81a611 authored over 4 years ago by twosee <[email protected]>
Fix PHP8 compatibility (we should not use zend_throw_error_exception) (#3384)

e949fc225a2693acec3caf5912188e57d215eecc authored over 4 years ago by twosee <[email protected]>
Fix unused return value warning (#3385)

ad81174339cf32971264be2adb60662d21e197ce authored over 4 years ago by twosee <[email protected]>
Do not create file before recv body when download (#3381)

abb5f83e2a26209bbe7e85e80fb50ee2ed909d35 authored over 4 years ago by twosee <[email protected]>
fix mysql test case (#3374)

3daa5b98391924a687ba837200e704e1da0fb4da authored over 4 years ago by 耐小心 <[email protected]>
Fix swoole_get_local_mac on OSX (#3372)

0bb698639ea7ee498ccbb2057b725f62a861c39f authored over 4 years ago by twosee <[email protected]>
Fix #3368 (#3369)

* fix #3367

* Fix typo

Co-authored-by: twosee <[email protected]>

5d9b38e756da7a071b85b6fd3adaacbb4d180c78 authored over 4 years ago by 韩天峰-Rango <[email protected]>
improvement: improve read object properties (#3363)

* improvement: improve read object properties

use zend_read_property_ex instead of zend_read_...

8790b63b90dc8f9a0c889a8b8e8d4e4b05445241 authored over 4 years ago by codinghuang <[email protected]>
Fix #3362 (#3365)

b604a9c6842617cc3ff3f2cf1a00b6bf8f955a16 authored over 4 years ago by twosee <[email protected]>
Fix swSignalfd_setup and fix possible nullptr error in wait_signal (#3360)

c91c276ba0d7f71ee086fc516d1f73f6edf80731 authored over 4 years ago by twosee <[email protected]>
Do not defer close when sockfd is -1 (#3361)

7c9f8bc43f3e83e746a1135a083d39f6127bb767 authored over 4 years ago by twosee <[email protected]>
Handle protocol_status_error, rename conn to socket (#3359)

* Handle protocol_status_error, rename conn to socket

* Fix typo

* Fix typo again

bc5d8536b76b8f01421344a3da365fcb1b5edec8 authored over 4 years ago by twosee <[email protected]>
Optimize code (#3357)

* Optimize code

* fix bug

* extern C, c++ style struct

* Fix arginfo

Co-authored-by:...

916478bc7457f05c9cb1b96fe97ce0279e02c50d authored over 4 years ago by 韩天峰-Rango <[email protected]>
improve: improve http2 client to build http header frame (#3356)

6302206c4e9d5b4aa7e88312b8bc5d31382ea2b1 authored over 4 years ago by codinghuang <[email protected]>
Add usePipelineRead to support streaming call (#3354)

* Add usePipelineRead to support streaming call

* Fix warning

* Fix typo

1f5a30dcb645a738d7d4f30a2a4265d2e58754b0 authored over 4 years ago by twosee <[email protected]>
Fix typo (#3355)

713e752390a23535430f4534262de3faecea1f61 authored over 4 years ago by twosee <[email protected]>
Update version to 4.5.3-alpha (#3352)

* update version

* update version[alpha]

* update version[alpha]

* Fix

* Update CMak...

bc80f157a634d1670ba14853c31c18ab1e38c130 authored over 4 years ago by 韩天峰-Rango <[email protected]>
improve: improve http2 client parse_header (#3350)

* improve: improve http2 client parse_header

* Try to improve the code

* Fix

* Fix typo...

6ea2df947784ed345661d0ff4e43a70808a592c2 authored over 4 years ago by codinghuang <[email protected]>
Cpp style header file (#3351)

* use c++ style

* fix include websocket.h

e8540b84ebbe7cf96a971d1d19e0876a3b8a50b6 authored over 4 years ago by 韩天峰-Rango <[email protected]>
remove unuse macro

7fb71c48ea5cbe7d7df2679139fc9fc334d51aa0 authored over 4 years ago by GXhua <[email protected]>
remove unuse macro

5e0a9bfedb7af1f18d3779ecaeddf7fc731cfd5e authored over 4 years ago by GXhua <[email protected]>
improve: use nullptr instead of NULL (#3349)

* improve: use nullptr instead of NULL

* fix

* improve: use NULL in extern "C"

* improv...

f1a66611d8779114afbb0638d18c528689194ac8 authored over 4 years ago by codinghuang <[email protected]>
Update version for Swoole 4.5.2

348b5ad6c8c30ef9d02f1729b39b3f7f0f06decf authored over 4 years ago by twosee <[email protected]>
Check the packet length of PRI (#3348)

fc0a2a53476335521f980a025935f072164de8b4 authored over 4 years ago by twosee <[email protected]>
Fix int overflow (#3346)

* Fix int overflow

* Fix typo

5f3b6000370a300f9b3ded0f7e2ca62c78421027 authored over 4 years ago by twosee <[email protected]>
Improve swoole::String

0e34f0a98e9680e04a546c27a5416007577d7c9d authored over 4 years ago by matyhtf <[email protected]>
Optimize code

b259642b7c9898693a1f5cb380ca86428271c7cb authored over 4 years ago by matyhtf <[email protected]>
update test readme (#3345)

89c46179cdeb28b2ae48c8802e02a0555f11a240 authored over 4 years ago by 沈唁 <[email protected]>
Improve configuration parser about Host (#3343)

* Improve configuration parser about Host

* Update

7216f03a4c41a1338fc036fb08e25dbf5cbbfe6b authored over 4 years ago by twosee <[email protected]>
fix: set ssl quiet shutdown when client close (#3342)

* fix: set ssl quiet shutdown when client close

* comment: add comment

* improve: get orig...

9df6be8e0e3a0540dced0945c26616207238a481 authored over 4 years ago by codinghuang <[email protected]>
add mqtt length_offset test (#3341)

65979ccab2cb2ebc67fdd7e9d90f9675f5f7591b authored over 4 years ago by 沈唁 <[email protected]>
Fix all MQTT protocol settings

2ae8eb321518be25221638df7b685cf045556842 authored over 4 years ago by twosee <[email protected]>
Merge branch 'master' of https://github.com/swoole/swoole-src

d5a1cb52ef635b2cf53aa4b988e429ffd7f24ffd authored over 4 years ago by 郭新华 <[email protected]>
fix mqtt protocol parse bug

8dbf506b507a37deec0a8e7bf1bc5fdcf53c7c4d authored over 4 years ago by 郭新华 <[email protected]>
improve: improve worker idle warning (#3328)

* improve: improve worker idle warning

distinguish between worker processes and task process ...

400d8555e94c53aefceaf3b14406b0ed77e83000 authored over 4 years ago by codinghuang <[email protected]>
Fix taskwait macos (#3330)

* fix taskwait() on macOS

* fix

0d79d6968a542e04bbb9f904d19efb37382a83c9 authored over 4 years ago by 韩天峰-Rango <[email protected]>
use steady_clock (#3329)

* use steady_clock

* remove useless code

* use c++ template

* fix tests

9f9b96aa5ba44a40a41d8e41cfed7954f0e3f897 authored over 4 years ago by 韩天峰-Rango <[email protected]>
Zero copy (#3327)

* Zero copy

* Use private member

bcf69e8976a3cfa290d9223373d849c4a8af713b authored over 4 years ago by twosee <[email protected]>
Optimize table, prevent deadlock, force unlock when timeout

6d8dfdef179aa0b59c3740dd83e79d4ccdbabb11 authored over 4 years ago by matyhtf <[email protected]>
add const modifier (#3326)

* add const modifier

* fix tests

acc005599a671b0553cb2df5e1c73f751a69fae9 authored over 4 years ago by 韩天峰-Rango <[email protected]>
Update build-library.php (#3324)

404ac0d00166b7f63de737ac0539aea191dee11f authored over 4 years ago by 沈唁 <[email protected]>
Support send empty file (#3318)

bb43cdeab89d7c4eb16bcec887e881565cfe3aaf authored over 4 years ago by twosee <[email protected]>
Code optimization, Compatible with C

e2fda65700cfc1fd5d6202e02c3814674fe5d568 authored over 4 years ago by matyhtf <[email protected]>
use SSL_CTX_set1_curves_list, default value "auto" (#3316)

7f1a9d218c0404a18be6108865532d7949574031 authored over 4 years ago by 韩天峰-Rango <[email protected]>
improve: replace SwooleG.error (#3315)

* improve: replace SwooleG.error

* feat: add swThreadGlobal_t::error

* fix: core tests

...

2eb990c5eae51840aba7bf8bff45dfadcd0c1df8 authored over 4 years ago by codinghuang <[email protected]>
add wait_signal option (#3314)

d4ab68ddc00db7b64210e63e04090e8e65f84c32 authored over 4 years ago by 韩天峰-Rango <[email protected]>
Fix #3312 (#3313)

* Fix #3312

* Fix build

682448c7f1698156d02ce2123e27a1bc65a82c8a authored over 4 years ago by twosee <[email protected]>
optimize

99963281e098f446cc5f23d74a3c70e666f3f3de authored over 4 years ago by matyhtf <[email protected]>
add swoole_set_last_error/swoole_get_last_error

e25f262a0571b9cc2c622ec5a02292840a00e513 authored over 4 years ago by matyhtf <[email protected]>
Optimize directory structure

117f6c47c9b6f870f860cb22018a8401fc2151cf authored over 4 years ago by matyhtf <[email protected]>
log_rotation (#3311)

* log_rotation

* add log_rotation option

* Check data format string length

* fix mem leak

4562bd6fe6ecf2308cdcb1b55d0e98c0b5d2f564 authored over 4 years ago by 韩天峰-Rango <[email protected]>
Update version for Swoole 4.5.1

3074d50b8d426b8731fa9b417257495fc79d17a1 authored over 4 years ago by twosee <[email protected]>
Improve tests (#3310)

* Add expectExitSignal

* Add SIGTERM

* Fix BORK tests

* Improve tests

* Try to fix t...

f479a4721544268aa5223a3d29fb7fea27d491c7 authored over 4 years ago by twosee <[email protected]>
Update the latest PHP version in CI

20d31e8189cbd803fa844bca9b5e3a2a2e1de97e authored over 4 years ago by twosee <[email protected]>
Do not use sys error

644b4f0541b3017dcb52cd2d575a3579c7527a0b authored over 4 years ago by twosee <[email protected]>
Fix heartbeat timeout null ptr error (#3307)

327b20eb83c2113ec835cb154517dc4ec0deb539 authored over 4 years ago by twosee <[email protected]>
Defensive programming for #3304 (#3305)

* Defensive programming for #3304

* Fix test

cce4985e4fb06cf4b716c0c73c6ccbdb65d8ed68 authored over 4 years ago by twosee <[email protected]>
remove swoole_error_log[php func], add core tests (#3300)

* remove swoole_error_log[php func], add core tests

* fix tests

* fix tests[2]

* fix te...

7e035b72d4bbd9e2696c92748d5a296c601de9a0 authored over 4 years ago by 韩天峰-Rango <[email protected]>
Optimize table (#3302)

* Optimize table

* Remove debug code

Co-authored-by: twosee <[email protected]>

d7b87b65dff123eb8b0c7043ec3b1d40805ea79f authored over 4 years ago by 韩天峰-Rango <[email protected]>
Adjust the default socket send timeout (#3303)

8f6828ce274d612897188d83bd4767c5c0a1e73b authored over 4 years ago by 韩天峰-Rango <[email protected]>
Update README-CN.md (#3295)

3876d74b85bc5aa1cafa3046fe263ebe39090d2a authored over 4 years ago by Luffy <[email protected]>
Exit process directly

a732fe56e02a7e4ca41620b18d8100fc71fc4a5b authored over 4 years ago by matyhtf <[email protected]>
fix: fix client sendto (#3298)

don't need to free the client when the domain resolution fails

f69bda7f46f43e68b8e864f7b378395f60614176 authored over 4 years ago by codinghuang <[email protected]>
improve: improve swAio_handler_gethostbyname (#3297)

* improve: improve swAio_handler_gethostbyname

* delete: delete useless code

swAio_event::...

8f3e555affd9d70e6173cded2235bb8ca24e77e0 authored over 4 years ago by codinghuang <[email protected]>
Update FUNDING.yml

148eb26645bcf8e907191fd1adc94e205ab2643c authored over 4 years ago by 韩天峰-Rango <[email protected]>
optimize, fix memory leak

27abca138f9a9fec0a3802c75873ebda0e09fa42 authored over 4 years ago by matyhtf <[email protected]>
optimize, add more options for log (#3296)

* optimize, add more options for log

* add log tests, add swoole_error_log, refactor settings...

baf895bc2129febabf0359c291070bbc0c63bc6c authored over 4 years ago by 韩天峰-Rango <[email protected]>
feat: support dns resolve in client::sendto (#3292)

* feat: support dns resolve in client::sendto

* fix: check udg

* improve: improve code

...

806c590982eccc3dffb3d963cbf5791662c17dbc authored over 4 years ago by codinghuang <[email protected]>
optimize (#3290)

* optimize

* 'register' storage class specifier is deprecated

d980dd32be7151fce2fc57b3bc970fc5671cdb55 authored over 4 years ago by 韩天峰-Rango <[email protected]>
Fix typo (#3289)

0d7c2023fd1909014a1636915bd5fc5144d28766 authored over 4 years ago by Luffy <[email protected]>
MacOS compatible (#3286)

* MacOS compatible

* remove ROOT_DIR

89bc7cfd83acd55bb9ad0261a115c2a558baccc9 authored over 4 years ago by 韩天峰-Rango <[email protected]>
Fix type conversion

ada01b5af50456c64c3a364f4313506b5e04a9f9 authored over 4 years ago by twosee <[email protected]>
Preserve readFile/writeFile methods, code clean up

a3a66c0844c91550e81120ffb9f8e7fa518dda4e authored over 4 years ago by twosee <[email protected]>
Update version to 4.5.1-alpha

a5e3e450b8849ed96f5723f81ac043e6a771141b authored over 4 years ago by twosee <[email protected]>
Use zend_object_alloc

cf1afb25bfd1756b066b9a36c388ebcb6c87be5b authored over 4 years ago by twosee <[email protected]>
Mark Coroutine\System file methods as deprecated

c7c9bb4018446f3a1475ce36c102de1be00a6fb2 authored over 4 years ago by twosee <[email protected]>
improve: coroutine client reconnect (#3280)

* improve: coroutine client reconnect

* improve: set errCode and errMsg when multiple call co...

8549adf3521cad1e47d9c23d2f287698a1859c0a authored over 4 years ago by codinghuang <[email protected]>
feat: support socket context bindto in hook (#3278)

fix issue #3275

d2bb7356bd2db713902f34ffc0d22e73d9269deb authored over 4 years ago by codinghuang <[email protected]>
Fix 32-bit build (#3276) (#3277)

707a7ce38f97a782d0fc7fdbc033c16b146b9809 authored over 4 years ago by twosee <[email protected]>
Update version for Swoole 4.5.0

6c384af02a7617dbf3517c41f84909ad81faf2ca authored over 4 years ago by twosee <[email protected]>
Fix missing library files

f24c0dd68643809253661c59591c53de2d5f6ff1 authored over 4 years ago by twosee <[email protected]>
remove Server::getInstance()

d664f34f87b3a1761514fc28c2db0825789df664 authored over 4 years ago by matyhtf <[email protected]>
Support set cookies when websocket handshake (#3270) (#3272)

* Support set cookies when websocket handshake (#3270)

* Add a test

04ab148505f1ffe22dd32c0290962b04bd55ac66 authored over 4 years ago by twosee <[email protected]>
Implement get_gc to solve memory leak (#3271)

* Fix shutdown dead loop

* Implement get_gc to solve memory leak

* Fix

* Fix the test

c57cf219bb906a4689ad5040e276a451c81c6e90 authored over 4 years ago by twosee <[email protected]>
add tests

cdb027049f247f26d659c2f2c2872c633a02990a authored over 4 years ago by matyhtf <[email protected]>
add Runtime::setHookFlags (#3266)

33834d083a85ed8a2a7e0fd1640491858d2363d3 authored over 4 years ago by 韩天峰-Rango <[email protected]>
Fix shutdown during onAccept (#3267)

* Fix shutdown during handshake

* Fix HTTP2 receivers

* Remove duplicated code

04a47ca910f66098e5009426f17d7d1f88962ef3 authored over 4 years ago by twosee <[email protected]>
add curl option (#3265)

Co-authored-by: shiguangqi <[email protected]>

a2139967706a441db8a6072ba2b5a7ce70380f02 authored over 4 years ago by shiguangqi <[email protected]>
fix core-tests

efd6c9009b450d36b0c8401e992e9235a2eb3b24 authored over 4 years ago by matyhtf <[email protected]>
Call destructor first

75ac7964195eeda6d6efb80621547bcb0a337598 authored over 4 years ago by twosee <[email protected]>