Do the recv on relayed socket
authorYouness Alaoui <youness.alaoui@collabora.co.uk>
Sat, 19 Apr 2014 04:48:13 +0000 (00:48 -0400)
committerOlivier CrĂȘte <olivier.crete@collabora.com>
Sat, 17 May 2014 04:22:36 +0000 (00:22 -0400)
commit486ddffeb19d91d4715e64b557ee8aac5cfeeb70
tree63bd3de74b500670a135af324ef374e594e2e224
parentafa8d74bc3c5d4789c930820c0a9cf4ea04cd144
Do the recv on relayed socket

With OC2007 compat, doing a recv on the attached socket (udp-turn-over-tcp)
will cause the RFC4571 to be unframed before doing the parse_recv on the
udp-turn socket, which will fail. And even if that didn't fail, it
would still cause the resulting data to be rfc4571 since the unframing
in the agent happens before the parse_recv
agent/agent.c