Skip to content
  • Jakub Adam's avatar
    udp-turn: handle multiple RFC4571 frames received in a TCP-TURN message · d79d1179
    Jakub Adam authored
    There might be multiple RFC4571-framed messages (or fragments thereof)
    within a single TCP-TURN message. Make sure each NiceInputMessage
    passed by the user into socket_recv_messages() gets exactly one RFC4571
    frame, or remains empty if there aren't any messages to receive.
    
    We should keep any data that doesn't fit into the user buffers for
    the next time socket_recv_messages() gets called with the socket.
    d79d1179