nodejs中socket.io中emit发送数据量太大造成无法发送
maxhttpbuffersize//设置http最大缓冲大小
var io = require(‘socket.io’)(http,{maxhttpbuffersize:1024*1024});
nodejs中socket.io中emit发送数据量太大造成无法发送
maxhttpbuffersize//设置http最大缓冲大小
var io = require(‘socket.io’)(http,{maxhttpbuffersize:1024*1024});