I2P Address: [http://git.idk.i2p]

Skip to content
Snippets Groups Projects
  • zzz's avatar
    8b6751f4
    Streaming: · 8b6751f4
    zzz authored
    Fix the window size increment logic so it does it much more often.
    The code increased the window size by MSS * MSS / N, like
    in RFC 2581, but it did it only once every N,
    so that was like MSS * MSS / N**2.
    Now do it all the time, except for isolated packets like keepalives
    that aren't using more than one message of the window.
    Seems to speed up outbound significantly, without any
    noticable increase in stream.sendsBeforeAck.
    8b6751f4
    History
    Streaming:
    zzz authored
    Fix the window size increment logic so it does it much more often.
    The code increased the window size by MSS * MSS / N, like
    in RFC 2581, but it did it only once every N,
    so that was like MSS * MSS / N**2.
    Now do it all the time, except for isolated packets like keepalives
    that aren't using more than one message of the window.
    Seems to speed up outbound significantly, without any
    noticable increase in stream.sendsBeforeAck.
To find the state of this project's repository at the time of any of these versions, check out the tags.