V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
linlm
V2EX  ›  程序员

swoole_http_server 奇怪的问题!大神回复

  •  
  •   linlm · 2018-03-12 16:53:08 +08:00 · 1848 次点击
    这是一个创建于 2234 天前的主题,其中的信息可能已经有所发展或是发生改变。

    开始的时候页面正常无论怎么刷新都正常,接着我发送几个 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

    目前尚无回复
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   5298 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 25ms · UTC 07:57 · PVG 15:57 · LAX 00:57 · JFK 03:57
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.