Skip to content
Snippets Groups Projects
  1. Sep 11, 2019
  2. Sep 06, 2019
  3. Sep 04, 2019
    • Jaime Pérez Crespo's avatar
      Make sure expired data is actually purged · 3c52b289
      Jaime Pérez Crespo authored
      The SimpleSAML\Session::expireData() method did not mark the session as dirty when there was expired data on it, so if nothing else changed, the data was never actually purged. It was done like this by design, but in practice, it seems like sessions aren't modified as often, meaning they end up growing a lot with each state array that's stored on them, and expired data is never removed. We now check for expired data in the save() method (which is run every time a session is destroyed, if not manually) and if there is any, we mark the session as dirty, so that it is actually updated in the backend. Most of the time this will be transparent and have no visible performance hit, as it'll be run after the response is sent, during shutdown.
      
      This closes #1053
  4. Aug 31, 2019
  5. Aug 30, 2019
  6. Aug 29, 2019
  7. Aug 28, 2019
  8. Aug 27, 2019
  9. Aug 26, 2019
  10. Aug 22, 2019
Loading