Change bf69dc5 "Increase unit test coverage" introduced a bug to how
we track current reachability (wifi, wwan) in SPDYSessionManager. It
failed to pass the correct value when being updated via callback.
A lot of code here is unnecessary, so this change removes much of that
in order to simplify. There are no more global variables or +initialize
code. Each instance of SPDYSessionManager manages its own reachability now.
This also allows the new behavior of moving a session to the correct pool to be
configurable.
Change bf69dc5 "Increase unit test coverage" introduced a bug to how we track current reachability (wifi, wwan) in SPDYSessionManager. It failed to pass the correct value when being updated via callback.
A lot of code here is unnecessary, so this change removes much of that in order to simplify. There are no more global variables or +initialize code. Each instance of SPDYSessionManager manages its own reachability now.
This also allows the new behavior of moving a session to the correct pool to be configurable.