Skip to content
Snippets Groups Projects
  1. Mar 14, 2016
  2. Mar 11, 2016
  3. Mar 09, 2016
    • akwizgran's avatar
      Merge branch 'bluetooth-race' into 'master' · c615dd1e
      akwizgran authored
      Fix race condition when closing redundant Bluetooth sockets
      
      The Bluetooth invitation code has a race condition: if Alice and Bob connect to each other at roughly the same time, they each consider their outgoing socket to be redundant and close it, resulting in both sockets being closed. This can be triggered pretty reliably by using two phones of the same model and pressing 'Continue' at the same time on both phones.
      
      When more than one invitation socket is opened, Alice should pick which one to use and Bob should use whichever one Alice picks, which Bob can detect by trying to read from both sockets.
      
      Hopefully the Bluetooth invitation code will be retired when #117 is merged, but I'm putting this up for review in case we need to keep Bluetooth as a fallback method.
      
      See merge request !120
      c615dd1e
  4. Mar 08, 2016
  5. Mar 07, 2016
  6. Mar 04, 2016
  7. Mar 03, 2016
  8. Mar 02, 2016
  9. Feb 29, 2016
Loading