commit | a5c5593a2469b34511728cd20f5f33b97d6d26d7 | [log] [tgz] |
---|---|---|
author | Daniel Morsing <daniel@cloudflare.com> | Sun Dec 14 13:34:18 2014 +0100 |
committer | Daniel Morsing <daniel@cloudflare.com> | Sun Dec 14 13:34:18 2014 +0100 |
tree | 9bb2198f8366fa5895d4abeeb6f17d01ecb7acca | |
parent | df959c2f39ac04ba1fddee52449d5453a9631a24 [diff] |
strengthen priority tree code and add tests The priority tree codes has been strengthened to handle some new corner cases. - Handle setting the parent to itself. - Handle exclusive reprioritization to the root stream. - Handle reprioritization to stream dependent of stream being reprioritized. In addition, split out the adjustment function so that it can be tested independently of the serverConn and add tests.