Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix keep alive when not use pool #38

Merged
merged 9 commits into from
May 17, 2019

Conversation

ihipop
Copy link
Contributor

@ihipop ihipop commented Apr 23, 2019

写了单元测试,ALL PASSED

php ./phpunit --filter testKeepAliveAmongSameHostAndPortWithOutUsePool

待Review @twose

Verified

This commit was signed with the committer’s verified signature.
ihipop ihipop
@ihipop
Copy link
Contributor Author

ihipop commented Apr 23, 2019

close #37
fix: #35 (comment)

ihipop added 3 commits April 23, 2019 17:33

Verified

This commit was signed with the committer’s verified signature.
ihipop ihipop

Verified

This commit was signed with the committer’s verified signature.
ihipop ihipop

Verified

This commit was signed with the committer’s verified signature.
ihipop ihipop
@ihipop ihipop changed the title WIP: keep alive when not use pool fix keep alive when not use pool Apr 23, 2019
ihipop added 5 commits April 23, 2019 17:56

Verified

This commit was signed with the committer’s verified signature.
ihipop ihipop

Verified

This commit was signed with the committer’s verified signature.
ihipop ihipop

Verified

This commit was signed with the committer’s verified signature.
ihipop ihipop

Verified

This commit was signed with the committer’s verified signature.
ihipop ihipop

Verified

This commit was signed with the committer’s verified signature.
ihipop ihipop
@ihipop
Copy link
Contributor Author

ihipop commented Apr 25, 2019

之所以在单元测试里面加上了httpd.而不是用mixed是因为mixed用的swoole 的web socket server ,可能是By Design,在我的swoole 4.3.2版本下,连击一次以后会被强制断开导致长测试不能通过。

@twose
Copy link
Member

twose commented Apr 25, 2019

粗略看了下没有问题,明天有空再仔细看看,没有你所说的设计,这里可能存在误区。

@ihipop
Copy link
Contributor Author

ihipop commented Apr 26, 2019

粗略看了下没有问题,明天有空再仔细看看,没有你所说的设计,这里可能存在误区。

@twose
你可以试下在单元测试里面把对端服务器换成你默认的mixed,然后试试,通不过测试。
saber会报告对端关闭连接(第二次连接的时候)可能是我的误区 ,如果你想挖可以挖一下

@twose
Copy link
Member

twose commented May 17, 2019

和我想象的不太一样, 但先merge了, release之前我会再做更多检查

@twose twose merged commit a8e1a41 into swlib:master May 17, 2019
@twose twose added enhancement New feature or request fixed and removed in progress enhancement New feature or request labels May 17, 2019
twose added a commit that referenced this pull request May 7, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants