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

进入后日志显示有6个客户端连接,这是为啥 #112

Open
Chen-Christins opened this issue Sep 2, 2024 · 1 comment
Open

Comments

@Chen-Christins
Copy link

Chen-Christins commented Sep 2, 2024

进入网页,本地日志显示多个客户端连接,这是为什么

2024-09-03 01:34:20.801375 [info] : ========== Server init ==========
2024-09-03 01:34:20.801393 [info] : Port:1316, OpenLinger: false
2024-09-03 01:34:20.801398 [info] : Listen Mode: ET, OpenConn Mode: ET
2024-09-03 01:34:20.801459 [info] : LogSys level: 1
2024-09-03 01:34:20.801463 [info] : srcDir: /home/ubuntu/WebServer-master/resources/
2024-09-03 01:34:20.801635 [info] : SqlConnPool num: 12, ThreadPool num: 6
2024-09-03 01:34:20.801654 [info] : ========== Server start ==========
2024-09-03 01:34:31.094616 [info] : Client[18](127.0.0.1:48849) in, userCount:1
2024-09-03 01:34:31.094701 [info] : Client[18] in!
2024-09-03 01:34:31.100135 [info] : Client[25](127.0.0.1:49873) in, userCount:2
2024-09-03 01:34:31.100300 [info] : Client[25] in!
2024-09-03 01:34:31.302632 [info] : Client[26](127.0.0.1:52433) in, userCount:3
2024-09-03 01:34:31.302667 [info] : Client[26] in!
2024-09-03 01:34:31.307436 [info] : Client[27](127.0.0.1:56529) in, userCount:4
2024-09-03 01:34:31.307513 [info] : Client[27] in!
2024-09-03 01:34:31.307682 [info] : Client[28](127.0.0.1:59089) in, userCount:5
2024-09-03 01:34:31.307718 [info] : Client[28] in!
2024-09-03 01:34:31.328100 [info] : Client[29](127.0.0.1:61137) in, userCount:6
2024-09-03 01:34:31.328203 [info] : Client[29] in!
@Chen-Christins Chen-Christins changed the title 网页显示异常以及日志系统问题 进入后日志显示有6个客户端连接,这是为啥 Sep 4, 2024
@Cukoo-Li
Copy link

Cukoo-Li commented Sep 6, 2024

现代浏览器会通过跟服务器建立多个连接来提高传输效率。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants