Click here to Skip to main content
15,879,096 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
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
Posted
Updated 27-Oct-14 20:39pm
v2

1 solution

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[^]
 
Share this answer
 
Comments
GAJERA 28-Oct-14 5:02am    
Thanks for reply,
In my case there is no control at client and server side.I have just create proxy (Man in Middle) which receive data from server and sent to client and vice verse.
Proxy is intercepting this process and capture the web socket traffic.

My proxy server socket receive data in chunk instead of one chunk.So i want to reassemble all frame in case of the large amount data.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900