[erlang-patches] ssl: fix initialization of DTLS fragment reassembler
Andreas Schultz
aschultz@REDACTED
Sun Sep 29 13:33:08 CEST 2013
Hi,
Ingela imported my DTLS fragment reassembler almost unmodified.
In the meantime, I have found a small problem in it that cause
it to fail if the first fragment is reordered.
Change:
The DTLS fragment reassembler use a list [{Start, End}] for the
fragments. When the first received fragment was not the starting
fragment, that list got initialized with [{Start, Length}],
causing the merge of following fragment to fail.
pull request:
https://github.com/erlang/otp/pull/88
And the usual:
git fetch git://github.com/RoadRunnr/otp.git fix_dtls_fragment_decoder
https://github.com/RoadRunnr/otp/compare/erlang:master...fix_dtls_fragment_decoder
https://github.com/RoadRunnr/otp/compare/erlang:master...fix_dtls_fragment_decoder.patch
Andreas
More information about the erlang-patches
mailing list