Skip to content
Snippets Groups Projects
  1. Dec 05, 2019
    • Cecylia Bocovich's avatar
      Added another lock to protect broker stats · 06298eec
      Cecylia Bocovich authored
      Added another lock to the metrics struct to synchronize accesses to the
      broker stats. There's a possible race condition if stats are updated at
      the same time they are being logged.
      06298eec
    • Cecylia Bocovich's avatar
      Add tests to check for data race in broker · 42e16021
      Cecylia Bocovich authored
      We had some data races in the broker that occur when proxies and clients
      modify the heap/snowflake map at the same time. This test has a client
      and proxy access the broker simultaneously to check for data races.
      42e16021
    • Cecylia Bocovich's avatar
      Add synchronization to prevent race in broker · dccc15a6
      Cecylia Bocovich authored
      There's a race condition in the broker where both the proxy and the
      client processes try to pop/remove the same snowflake from the heap.
      This patch adds synchronization to prevent simultaneous accesses to
      snowflakes.
      dccc15a6
  2. Dec 03, 2019
  3. Nov 28, 2019
  4. Nov 22, 2019
  5. Nov 21, 2019
  6. Nov 13, 2019
  7. Nov 11, 2019
  8. Oct 31, 2019
    • Cecylia Bocovich's avatar
      Changed variable name for multiplexed clients · 300a23c6
      Cecylia Bocovich authored
      The variable maxNumClients was unused, while connectionsPerClient was
      used for spawning multiple proxyPairs. The former is a more appropriate
      name for the multiplexing behaviour we use it for.
      
      Multiplexing now just works thanks to implementing ticket #31310.
      300a23c6
    • Cecylia Bocovich's avatar
      Moved function comments to their definitions · 64b66c85
      Cecylia Bocovich authored
      Increase readability of code a bit, the function descriptions were
      automatically placed in the constructor when we moved from coffeescript.
      64b66c85
    • Cecylia Bocovich's avatar
      Remove "active" property of proxyPairs · 789285e0
      Cecylia Bocovich authored
      Use their existence in the proxy pair list to indicate they are active.
      789285e0
    • Cecylia Bocovich's avatar
      Remove property "running" from proxy-pair · d186fcd4
      Cecylia Bocovich authored
      We don't need it, and already have a function webrtcIsReady that tells
      us what we need to know (whether a datachannel was opened before the
      timeout period).
      d186fcd4
    • Cecylia Bocovich's avatar
      Removed "janky" snowflake state machine · 9b470fbe
      Cecylia Bocovich authored
      The only place it was used was in window.onpageunload, and we have a
      better way of determining if the proxy is active there (through the ui).
      
      I also removed that code from the webextension since the proxy won't
      stop running unless you close the browser and after testing it looks
      like that code doesn't notify the user anyway.
      9b470fbe
  9. Oct 28, 2019
  10. Oct 25, 2019
  11. Oct 16, 2019
Loading