Files
weave/router
Matthias Radestock fbf2208e80 simplify fragmentation test
This is how fragmentation tests used to happen:

    A: conn.stackFrag = false
    A->B: StartFragmentationTest
    B->A: send large non-DF UDP packet
    A->B: FragmentationReceived
    B: conn.stackFrag = true

conn.stackFrag = true means "UDP packets sent to the other peer get
correctly fragmented and re-assembled".

Note how A clears its own stackFrag flag, but the test establishes
whether fragmentation works for B->A, and ends up setting stackFrag on
B. Not only is this weird, it also means that if A previously had
stackFrag=true, it will now start fragmenting packets until B
initiates a fragmentation test.

The new sequence is:

    A: conn.stackFrag = false
    A->B: send large non-DF UDP packet
    B->A: FragmentationReceived
    A: conn.stackFrag = true

Closes #746.
2015-06-10 07:41:37 +01:00
..
2015-06-10 07:41:37 +01:00
2015-04-30 14:47:16 +01:00
2015-04-14 17:58:13 +01:00
2015-05-14 12:35:01 +01:00
2015-05-11 17:19:54 +01:00
2015-05-27 16:52:08 +01:00
2015-05-14 12:35:01 +01:00
2015-06-10 07:41:37 +01:00
2015-05-28 15:24:51 +01:00