Skip to content
Snippets Groups Projects
  1. Mar 07, 2016
    • akwizgran's avatar
      Fixed race condition when closing redundant sockets. · 0ac67239
      akwizgran authored
      When more than one invitation socket is opened, Alice should pick which one to use and Bob should use whichever one Alice picks. This fixes a race condition where each party picked a different socket and closed the other.
      0ac67239
  2. Mar 04, 2016
  3. Mar 02, 2016
  4. Feb 29, 2016
  5. Feb 26, 2016
  6. Feb 25, 2016
    • str4d's avatar
      Merge branch '250-tor-polling' into 'master' · 8c8b2a53
      str4d authored
      New polling logic for Tor. #250
      
      Poll for outgoing connections each time the network is enabled, then disable polling once our hidden service descriptor has been published. If our contacts do the same, any contacts that are offline when we poll will connect to us when they come online.
      
      This should reduce bandwidth and battery usage. The idea comes from Ricochet:
      
      https://github.com/ricochet-im/ricochet/issues/68
      
      Fixes #250.
      
      See merge request !103
      8c8b2a53
    • akwizgran's avatar
      Fixed race condition in descriptor publication. · d8079b18
      akwizgran authored
      If two contacts publish their descriptors simultaneously, they may both stop polling without retrieving each other's descriptors. Continue polling for 2 intervals after publishing the descriptor.
      d8079b18
    • akwizgran's avatar
      New polling logic for Tor. #250 · 066285b8
      akwizgran authored
      Poll for outgoing connections each time the network is enabled, then disable polling once our hidden service descriptor has been published.
      066285b8
  7. Feb 24, 2016
    • akwizgran's avatar
      Merge branch '252-lan-polling' into 'master' · fee4beae
      akwizgran authored
      New polling logic for LAN. #252
      
      Same approach as !104. Modified the poller to cancel any scheduled poll when pollNow() is called and randomise the next polling interval so plugins that call pollNow() at the same time don't end up polling in sync.
      
      Depends on !104. Fixes #252.
      
      See merge request !105
      fee4beae
    • akwizgran's avatar
      Merge branch '251-bluetooth-polling' into 'master' · d829d471
      akwizgran authored
      New polling logic for Bluetooth. #251
      
      Increase the polling interval exponentially each time polling is unsuccessful, up to a maximum of 60 minutes. The interval is reset to 2 minutes whenever a connection is made and whenever Bluetooth is re-enabled.
      
      This should reduce battery usage when there are no contacts nearby.
      
      Fixes #251.
      
      See merge request !104
      d829d471
    • akwizgran's avatar
      Merge branch '225-bluetooth-address' into 'master' · 441b12d9
      akwizgran authored
      Try to use the real Bluetooth address on Android 6. #225
      
      Fixes #225 until Google breaks the Settings.Secure workaround.
      
      See merge request !109
      441b12d9
    • akwizgran's avatar
      000936b7
  8. Feb 23, 2016
  9. Feb 22, 2016
  10. Feb 19, 2016
Loading