我使用signalr 2.2.2将当前的html发送到信号服务器托管进程以转换为pdf,同时这样做会保留客户端显示的进度条。问题是signalr的最大消息限制为64kb。我该如何增加?下面是我的websocket传输跟踪日志。目标和编译.net框架是4.5,因此SignalR正在使用websockets。
SignalR.Transports.TransportHeartBeat信息:0:连接2a307c4b-1ef6-4334-a3ef-875e0167ed75是新的。 SignalR.Transports.WebSocketTransport详细:0:发送外发留言。连接ID:2a307c4b-1ef6-4334-a3ef-875e0167ed75,transport:WebSocketTransport,message:{" C":" d-3FF6BE97-B,0 | C,0 | D,1&#34 ;," S":1," M":[]} SignalR.Transports.WebSocketTransport信息:0:中止(2a307c4b-1ef6-4334-a3ef-875e0167ed75) SignalR.Transports.WebSocketTransport信息:0:CloseSocket(2a307c4b-1ef6-4334-a3ef-875e0167ed75) SignalR.Transports.TransportHeartBeat信息:0:删除连接2a307c4b-1ef6-4334-a3ef-875e0167ed75 SignalR.Transports.WebSocketTransport信息:0:结束(2a307c4b-1ef6-4334-a3ef-875e0167ed75) SignalR.Transports.WebSocketTransport详细:0:DrainWrites(2a307c4b-1ef6-4334-a3ef-875e0167ed75) SignalR.Transports.WebSocketTransport信息:0:CompleteRequest(2a307c4b-1ef6-4334-a3ef-875e0167ed75) SignalR.Transports.TransportHeartBeat信息:0:连接58e58295-77a1-48d7-bac3-5e7fcbb51073是新的。 SignalR.Transports.WebSocketTransport详细:0:发送外发留言。连接ID:58e58295-77a1-48d7-bac3-5e7fcbb51073,transport:WebSocketTransport,message:{" C":" d-3FF6BE97-B,0 | E,0 | F,1&#34 ;," S":1," M":[]} SignalR.Transports.WebSocketTransport错误:0:OnError(58e58295-77a1-48d7-bac3-5e7fcbb51073,System.InvalidOperationException:超出缓冲区长度 在Microsoft.AspNet.SignalR.Infrastructure.ByteBuffer.Append(Byte []段) 在Microsoft.AspNet.SignalR.WebSockets.WebSocketMessageReader.d__3.MoveNext() ---从抛出异常的先前位置开始的堆栈跟踪结束--- 在System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(任务任务) 在System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(任务任务) 在Microsoft.AspNet.SignalR.WebSockets.WebSocketHandler.d__25.MoveNext()) SignalR.Transports.WebSocketTransport信息:0:CloseSocket(58e58295-77a1-48d7-bac3-5e7fcbb51073) SignalR.Transports.TransportHeartBeat详细:0:连接58e58295-77a1-48d7-bac3-5e7fcbb51073存在。关闭之前的连接。 SignalR.Transports.WebSocketTransport信息:0:结束(58e58295-77a1-48d7-bac3-5e7fcbb51073) SignalR.Transports.WebSocketTransport详细:0:取消(58e58295-77a1-48d7-bac3-5e7fcbb51073) SignalR.Transports.WebSocketTransport详细:0:DrainWrites(58e58295-77a1-48d7-bac3-5e7fcbb51073) SignalR.Transports.WebSocketTransport信息:0:CompleteRequest(58e58295-77a1-48d7-bac3-5e7fcbb51073) SignalR.Transports.TransportHeartBeat详细:0:KeepAlive(58e58295-77a1-48d7-bac3-5e7fcbb51073) SignalR.Transports.TransportHeartBeat详细:0:KeepAlive(58e58295-77a1-48d7-bac3-5e7fcbb51073) SignalR.Transports.TransportHeartBeat详细:0:KeepAlive(58e58295-77a1-48d7-bac3-5e7fcbb51073) SignalR.Transports.TransportHeartBeat详细:0:KeepAlive(58e58295-77a1-48d7-bac3-5e7fcbb51073) SignalR.Transports.TransportHeartBeat详细:0:KeepAlive(58e58295-77a1-48d7-bac3-5e7fcbb51073) SignalR.Transports.TransportHeartBeat详细:0:KeepAlive(58e58295-77a1-48d7-bac3-5e7fcbb51073) SignalR.Transports.TransportHeartBeat详细:0:KeepAlive(58e58295-77a1-48d7-bac3-5e7fcbb51073) SignalR.Transports.TransportHeartBeat详细:0:KeepAlive(58e58295-77a1-48d7-bac3-5e7fcbb51073) SignalR.Transports.TransportHeartBeat详细:0:KeepAlive(58e58295-77a1-48d7-bac3-5e7fcbb51073) SignalR.Transports.TransportHeartBeat详细:0:KeepAlive(58e58295-77a1-48d7-bac3-5e7fcbb51073) SignalR.Transports.TransportHeartBeat详细:0:KeepAlive(58e58295-77a1-48d7-bac3-5e7fcbb51073) SignalR.Transports.TransportHeartBeat详细:0:KeepAlive(58e58295-77a1-48d7-bac3-5e7fcbb51073) SignalR.Transports.TransportHeartBeat详细:0:KeepAlive(58e58295-77a1-48d7-bac3-5e7fcbb51073) SignalR.Transports.TransportHeartBeat详细:0:KeepAlive(58e58295-77a1-48d7-bac3-5e7fcbb51073) SignalR.Transports.TransportHeartBeat详细:0:KeepAlive(58e58295-77a1-48d7-bac3-5e7fcbb51073) SignalR.Transports.TransportHeartBeat详细:0:KeepAlive(58e58295-77a1-48d7-bac3-5e7fcbb51073) SignalR.Transports.TransportHeartBeat详细:0:KeepAlive(58e58295-77a1-48d7-bac3-5e7fcbb51073) SignalR.Transports.TransportHeartBeat详细:0:KeepAlive(58e58295-77a1-48d7-bac3-5e7fcbb51073) SignalR.Transports.TransportHeartBeat详细:0:KeepAlive(58e58295-77a1-48d7-bac3-5e7fcbb51073) SignalR.Transports.TransportHeartBeat详细:0:KeepAlive(58e58295-77a1-48d7-bac3-5e7fcbb51073) SignalR.Transports.TransportHeartBeat详细:0:KeepAlive(58e58295-77a1-48d7-bac3-5e7fcbb51073) SignalR.Transports.TransportHeartBeat详细:0:KeepAlive(58e58295-77a1-48d7-bac3-5e7fcbb51073) SignalR.Transports.TransportHeartBeat详细:0:KeepAlive(58e58295-77a1-48d7-bac3-5e7fcbb51073) SignalR.Transports.TransportHeartBeat详细:0:KeepAlive(58e58295-77a1-48d7-bac3-5e7fcbb51073) SignalR.Transports.TransportHeartBeat详细:0:KeepAlive(58e58295-77a1-48d7-bac3-5e7fcbb51073) SignalR.Transports.TransportHeartBeat详细:0:KeepAlive(58e58295-77a1-48d7-bac3-5e7fcbb51073) SignalR.Transports.TransportHeartBeat详细:0:KeepAlive(58e58295-77a1-48d7-bac3-5e7fcbb51073) SignalR.Transports.TransportHeartBeat详细:0:KeepAlive(58e58295-77a1-48d7-bac3-5e7fcbb51073) SignalR.Transports.TransportHeartBeat详细:0:KeepAlive(58e58295-77a1-48d7-bac3-5e7fcbb51073) SignalR.Transports.TransportHeartBeat详细:0:KeepAlive(58e58295-77a1-48d7-bac3-5e7fcbb51073) SignalR.Transports.TransportHeartBeat详细:0:KeepAlive(58e58295-77a1-48d7-bac3-5e7fcbb51073) SignalR.Transports.TransportHeartBeat详细:0:KeepAlive(58e58295-77a1-48d7-bac3-5e7fcbb51073) SignalR.Transports.TransportHeartBeat详细:0:KeepAlive(58e58295-77a1-48d7-bac3-5e7fcbb51073) SignalR.Transports.TransportHeartBeat详细:0:KeepAlive(58e58295-77a1-48d7-bac3-5e7fcbb51073) SignalR.Transports.TransportHeartBeat详细:0:KeepAlive(58e58295-77a1-48d7-bac3-5e7fcbb51073) SignalR.Transports.TransportHeartBeat详细:0:KeepAlive(58e58295-77a1-48d7-bac3-5e7fcbb51073) SignalR.Transports.TransportHeartBeat详细:0:KeepAlive(58e58295-77a1-48d7-bac3-5e7fcbb51073)