pikiwidb
pikiwidb copied to clipboard
bug: hscan arg should be inited in DoInit
Is this a regression?
Yes
Description
Please provide a link to a minimal reproduction of the bug
No response
Screenshots or videos
Please provide the version you discovered this bug in (check about page for version information)
No response
Anything else?
No response
感谢反馈,我们这边看一下
in PikaDispatchThread::Handles::AccessHandle()
if (ip == "127.0.0.1") { ip = g_pika_server->host(); }
有什么特殊用意么...
这里应该是对应于下面的ip != g_pika_server->host()那个判断, 如果连接量数量已经达到了maxclients上线,还是允许本机上的几个客户端连接上pika进行一些操作,也就是对应于root_connection,不过好像没必要直接把ip的值给变了, 直接在下面做判断就可以了
长久无人关注,现 close 掉该 issue。