• 请不要在回答技术问题时复制粘贴 AI 生成的内容
linlm
V2EX  ›  程序员

swoole_http_server 奇怪的问题!大神回复

  •  
  •   linlm · Mar 12, 2018 · 2393 views
    This topic created in 3007 days ago, the information mentioned may be changed or developed.

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

    No Comments Yet
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   3012 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 33ms · UTC 08:31 · PVG 16:31 · LAX 01:31 · JFK 04:31
    ♥ Do have faith in what you're doing.