Closed markity closed 1 year ago
I am implementing vpn.
Howerver my client read returned read udp xxxx:12345->xxxx:8000: message too long.
I found it comes from UdpConn.Read in inboundLoop().
After I closed the pmtu of client host, my vpn worked properly.
I want to konw if it is possible for dtls to take the "meesage too long" into consideration to hint the program to send smaller packet?
How can I handle this error elegantly?
I am implementing vpn.
Howerver my client read returned read udp xxxx:12345->xxxx:8000: message too long.
I found it comes from UdpConn.Read in inboundLoop().
After I closed the pmtu of client host, my vpn worked properly.
I want to konw if it is possible for dtls to take the "meesage too long" into consideration to hint the program to send smaller packet?
How can I handle this error elegantly?