GitLab is used only for code review, issue tracking and project management. Canonical locations for source code are still and

  1. 15 Oct, 2020 1 commit
    • Philipp Winter's avatar
      Replace testing mechanism and use SETCONF instead. · d260aa1f
      Philipp Winter authored
      So far, bridgestrap would bootstrap a new tor instance for each request.
      That's both expensive and slow.  Roger suggested to use a single,
      long-lived tor instance instead, and use the SETCONF controller command
      to test a batch of bridges at once.  This patch makes that happen.
      This fixes #3.
  2. 30 Sep, 2020 1 commit
  3. 04 Feb, 2020 1 commit
    • Philipp Winter's avatar
      Fix synchronisation issue with TestCache. · 4fd2f58b
      Philipp Winter authored
      When bridgestrap tests several bridges in parallel, it spawns several go
      routines.  When all these go routines access our cache simultaneously,
      we're running into sync issues because more than one go routine is
      reading from or writing to the cache.
      This commit adds a locking mechanism to fix this issue, and a unit test
      to demonstrate that the fix works.
  4. 27 Nov, 2019 1 commit
    • Philipp Winter's avatar
      Write test cache to disk, so it survives restarts. · ef291d3d
      Philipp Winter authored
      Our cache will contain hundreds of bridges.  Testing all these bridges
      again after bridgestrap quits for whatever reason is expensive.  This
      patch makes bridgestrap write its cache to disk when it exists, and
      read it from disk when it starts, so we don't have to re-build our cache
      after a restart.
      The new flag '-cache' specifies the path to our cache.
  5. 20 Nov, 2019 1 commit
  6. 29 Oct, 2019 2 commits