通过代理Websocket流量(重新组装帧) [英] Websocket traffic via proxy (Reassemble the frame)

查看:140
本文介绍了通过代理Websocket流量(重新组装帧)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,



我已经创建了跟踪websocket流量的代理。当传输少量数据时工作正常。

在其他情况下,当传输大量数据时我收到差异帧(chunk)中的数据而不是一个。我需要大数据作为单帧(块)



有没有办法重新组装所有框架。



以下网站用于跟踪websocket流量。

http://www.websocket.org/echo.html



最佳

解决方案

您好,



你需要检查一下你的是什么网络配置的最大请求长度。



参考: http://msdn.microsoft.com/en-IN/library/e1f13641(v = vs.71).aspx [ ^ ]



第二:关于web Socket Ref->的RFC文档; http://msdn.microsoft.com/en-IN/library/e1f13641 (v = vs.71).aspx [ ^ ]



通过答案你会发现原因: http://stackoverflow.com/questions/14102862/websocket-is-not-able-to-send-large-数据 [ ^ ]

Hi All,

I have been created the proxy to trace websocket traffic .It work fine when small amount data has been transferred.
In other case when transfer big amount of the data I received data in difference frame (chunk) instead of one.I need the big data as single frame (chunk)

Is there any way reassemble the all the frame.

The below website has been use for the trace websocket traffic.
http://www.websocket.org/echo.html

Best

解决方案

Hi,

You need to check what is your max request length at web Config.

Ref : http://msdn.microsoft.com/en-IN/library/e1f13641(v=vs.71).aspx[^]

Second : RFC doc about web Socket Ref-> http://msdn.microsoft.com/en-IN/library/e1f13641(v=vs.71).aspx[^]

Go through the answer you will find the reason: http://stackoverflow.com/questions/14102862/websocket-is-not-able-to-send-large-data[^]


这篇关于通过代理Websocket流量(重新组装帧)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆