[rtmpdump] [PATCH] HTTP_Read not reading full response before parsing.
faltuvisitor at yahoo.co.in
Fri Dec 23 11:33:02 CET 2011
Howard Chu wrote:
>What version of the flash client are you using? I know the headers have
>strange end-of-lines, but these match exactly what my Flash 10 client was sending.
i am using Flash 184.108.40.206 on Win XP SP3.
> in case of last two urls server drops connection (sends FIN) as soon as second handshake packet is sent. it doesn't wait
> for any further communications. flash server in both failing cases is FlashCom 3.5.4. assuming it's not new rtmp handshake
> (which seems to be the case because we have now other url's to test) the only thing that remains to be tested is sending the
> second handshake and connect command in single packet because it's the only difference i can notice between flash client
> and rtmpdump.
i have solved the problem regarding other two sites too. the key was to send second handshake and
connect command in single packet as i suspected earlier. at the moment i am using ugly hack to
combine both packets. we need to rewrite the SendConnectPacket function to do it in better way.
all three test cases work with this new patch.
new patch is attached herewith.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 4701 bytes
Desc: not available
More information about the rtmpdump