• Olivier Crête's avatar
    agent: Use 1280 instead of 65536 buffer size to send STUN Message · f02e4d6b
    Olivier Crête authored
    RFC 5389 says:
       All STUN messages sent over UDP SHOULD be less than the path MTU, if
       known.  If the path MTU is unknown, messages SHOULD be the smaller of
       576 bytes and the first-hop MTU for IPv4 [RFC1122] and 1280 bytes for
       IPv6 [RFC2460].
    
    So sending 65536 bytes is always wrong
    f02e4d6b
Name
Last commit
Last update
agent Loading commit data...
docs Loading commit data...
examples Loading commit data...
gst Loading commit data...
m4 Loading commit data...
nice Loading commit data...
random Loading commit data...
scripts Loading commit data...
socket Loading commit data...
stun Loading commit data...
tests Loading commit data...
win32/vs9 Loading commit data...
.gitignore Loading commit data...
AUTHORS Loading commit data...
COPYING Loading commit data...
COPYING.LGPL Loading commit data...
COPYING.MPL Loading commit data...
ChangeLog Loading commit data...
Makefile.am Loading commit data...
NEWS Loading commit data...
README Loading commit data...
README.win32 Loading commit data...
TODO Loading commit data...
autogen.sh Loading commit data...
common.mk Loading commit data...
configure.ac Loading commit data...