新注册的用户请输入邮箱并保存,随后登录邮箱激活账号。后续可直接使用邮箱登录!

  • Olivier Poitrey's avatar
    Use the correct source IP when binding multiple IPs · eb6bdfdf
    Olivier Poitrey authored
    When the server is listening on multiple interfaces or interfaces with
    multiple IPs, the outgoing datagrams are sometime delivered with the
    wrong source IP address.
    
    In order to fix that, each quic connection needs to extract the
    destination IP (and optionally interface id) of the received datagrams,
    and set it as source IP (and interface) on the sent datagrams.
    
    On most platforms, this can be done using ancillary data with recvmsg()
    and sendmsg(). Some of the machinery for this is already there for ECN,
    this change extends it to read the destination IP info and write it to
    the outgoing packets.
    
    Fix #1736
    eb6bdfdf
send_conn_test.go 958 Bytes