Skip to content
Snippets Groups Projects
  1. Mar 19, 2021
    • Tomas Krizek's avatar
      Merge branch 'cap-explore-timeout' into 'master' · 94bf3b00
      Tomas Krizek authored
      selection: cap the timeout value when probing a random server
      
      See merge request !1154
      94bf3b00
    • Štěpán Balážik's avatar
      selection: cap the timeout value when probing a random server · 7bd70e16
      Štěpán Balážik authored and Tomas Krizek's avatar Tomas Krizek committed
      This patch caps the timeout set on UDP queries to servers chosen in the
      EXPLORE phase of the selection algorithm to two times the timeout that
      would be set if we were EXPLOITing.
      
      This measns that we no longer spend an unreasonable amount of time
      probing servers that are probably dead anyway while ensuring that we do
      probe them from time to time to check if they didn't come to life.
      
      If the timeout value is capped and the server fails to respond, we don't
      punish the server for it i.e. we don't cache the timeout.
      Verified
      7bd70e16
  2. Mar 17, 2021
  3. Mar 16, 2021
  4. Mar 15, 2021
  5. Mar 12, 2021
  6. Mar 11, 2021
  7. Mar 09, 2021
  8. Mar 02, 2021
  9. Feb 25, 2021
  10. Feb 22, 2021
  11. Feb 21, 2021
  12. Feb 19, 2021
  13. Feb 18, 2021
    • Štěpán Balážik's avatar
      lib/selection{,_iter}.c: allow switching back to UDP · f032e5ec
      Štěpán Balážik authored
      Switching to TCP instead of querying very slow servers over UDP has had
      unwanted side effect – we would sometimes get stuck with a server
      permanently switched to TCP. And if the server happens to not reply over
      TCP we were in trouble.
      
      Therefore after we TCP connect fails or timeouts we provide one last
      chance for the server over UDP. This will not prevent the next request
      to try TCP again on this server again, but we don't care because
      DNS MUST ******* work over TCP.
      f032e5ec
  14. Feb 12, 2021
  15. Feb 11, 2021
  16. Feb 10, 2021
Loading