Welcome to ShenZhenJia Knowledge Sharing Community for programmer and developer-Open, Learning and Share
menu search
person
Welcome To Ask or Share your Answers For Others

Categories

我的swoole是4.5.0的,我使用的是websocketServer ssl的,但是我在日志里发现有全世界的ip地址访问到我的swoole中,我复制一条报错案例,这样的还有好多条:WARNING swSSL_accept: bad SSL client[45.141.84.55:64376], reason=252, error_string=unknown protocol;这个怎么禁止客户端用php client访问呢?


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
thumb_up_alt 0 like thumb_down_alt 0 dislike
117 views
Welcome To Ask or Share your Answers For Others

1 Answer

这个,建立 ssl 链接时就出错了..也不会进入你的业务,也记录了日志,没必要禁止吧.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
thumb_up_alt 0 like thumb_down_alt 0 dislike
Welcome to ShenZhenJia Knowledge Sharing Community for programmer and developer-Open, Learning and Share

548k questions

547k answers

4 comments

86.3k users

...