游戏服务器多进程间调用 httpd.read_request 阻塞 #2008
zhongxiangLi
started this conversation in
General
Replies: 1 comment
-
|
看了下源码,感觉像是content-length的原因,不能原封不动转发header;在lobby转发时 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
之前一直使用c++,现在使用skyne设计游戏服务器lobby+game开发,目前感觉良好,现遇到个问题
lobby进程启动有http监听,收到post请求后 解析参数后发送到对应的game进程的http监听去,发送过程总发现 game这边
ocal code, url, method, header, body = httpd.read_request(sockethelper.readfunc(id),8192) 阻塞住了,读取不了数据;使用postman单独给game进程的http服务发送数据是可以正常接收到数据的,这种情况是lobby转发的数据格式不对还是什么情况呢?
Beta Was this translation helpful? Give feedback.
All reactions