Skip to content
  • Vladimír Čunát's avatar
    a4455c78
    TTL bounds: improve the logic · a4455c78
    Vladimír Čunát authored
    - apply to first (uncached) answer already
    - don't extend over signature validity
    
    Nit: the tests were using too high TTL (RFCs disallow the "sign bit").
    It was working because (manual) cache-insertion was applying bounds,
    but now the bounds don't get applied anymore, so it would fail.
    a4455c78
    TTL bounds: improve the logic
    Vladimír Čunát authored
    - apply to first (uncached) answer already
    - don't extend over signature validity
    
    Nit: the tests were using too high TTL (RFCs disallow the "sign bit").
    It was working because (manual) cache-insertion was applying bounds,
    but now the bounds don't get applied anymore, so it would fail.
Loading