Skip to content
  • Youness Alaoui's avatar
    Store connections in tcp-passive to allow sending · 05b1cea0
    Youness Alaoui authored and Olivier Crête's avatar Olivier Crête committed
    In the case of TCP-ACTIVE, we don't have a problem, because the new
    socket will generate a  peer-reflexive candidate with the right
    sockptr, and all sends will go through it, but for TCP-PASSIVE, there
    is no peer reflexive candidates, so once the pair is selected, the local
    candidate will point to the TCP-PASSIVE candidate with the TCP_PASSIVE
    socket type which will cause all sends to fail, so we need to proxy
    them to the child connections
    05b1cea0