Open gebin opened 7 years ago
set-cookie的值io=xxxxxx一直在发生变化,然后一直请求ajax: http://localhost:2120/socket.io/?EIO=3&transport=polling&t=1504683797964-0 http://localhost:2120/socket.io/?EIO=3&transport=polling&t=1504683797964-1 http://localhost:2120/socket.io/?EIO=3&transport=polling&t=1504683797964-2
+1
me too
@nuysoft 你好,关于 Mock.js 和 socketio 冲突的问题,有相关解决办法吗? @gebin 你解决了吗?
关闭 mock 就好了,socket.io 会降级 连接被mock 拦截
@nuysoft 这个问题能解决吗
研究了几天,都没能解决。
socket.io的transports设置为['websocket']
set-cookie的值io=xxxxxx一直在发生变化,然后一直请求ajax: http://localhost:2120/socket.io/?EIO=3&transport=polling&t=1504683797964-0 http://localhost:2120/socket.io/?EIO=3&transport=polling&t=1504683797964-1 http://localhost:2120/socket.io/?EIO=3&transport=polling&t=1504683797964-2