swoole_http_server 奇怪的问题!大神回复

2018-03-12 16:53:08 +08:00
 linlm

开始的时候页面正常无论怎么刷新都正常,接着我发送几个 post 请求(请求详情如下),post 请求正常返回,swoole 服务没有报错,这时候我刷新页面,页面就开始卡死,浏览器刷新不了,一直在转。但是我继续发送 post 请求,还是可以正常返回,只是刷新浏览器不行了。需要我重启 swoole 服务,才正常。反复如此!

Request URL:http://192.168.81.131/backend/login Request Method:POST Status Code:200 OK Remote Address:192.168.81.131:80 Referrer Policy:no-referrer-when-downgrade Connection:keep-alive Content-Length:6 Content-Type:text/html Date:Mon, 12 Mar 2018 08:43:11 GMT Server:nginx/1.12.2 Accept:application/json, text/plain, / Accept-Encoding:gzip, deflate Accept-Language:zh-CN,zh;q=0.9 Cache-Control:no-cache Connection:keep-alive Content-Length:57 Content-Type:application/json;charset=UTF-8 Host:192.168.81.131 Origin:http://192.168.81.131 Pragma:no-cache Referer:http://192.168.81.131/backend User-Agent:Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/64.0.3282.186 Safari/537.36 X-Authrization:Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJTSEEyNTYifQ==.eyJpYXQiOjE1MjA4NDI1MTksImV4cCI6MTUyMDg1MzMxOSwiaWQiOiI2NDEifQ==.eff09f8ee53098609450ad7a9d685f66cbfbdec13578d0716def8e3998c7d494 X-Requested-With:XMLHttpRequest {account: "ewrewrw", password: "ewrwere", remeber: true} account : "ewrewrw" password : "ewrwere" remeber : true

1858 次点击
所在节点    程序员
0 条回复

这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。

https://www.v2ex.com/t/437315

V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。

V2EX is a community of developers, designers and creative people.

© 2021 V2EX