• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

simplesamlphp / simplesamlphp / 4534 / 1
81%
master: 81%

Build:
DEFAULT BRANCH: master
Ran 04 Sep 2019 02:15PM UTC
Files 146
Run time 23s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

04 Sep 2019 02:10PM UTC coverage: 35.091%. Remained the same
COMMAND="install"

push

travis-ci

jaimeperez
Make sure expired data is actually purged

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

4359 of 12422 relevant lines covered (35.09%)

2.1 hits per line

Source Files on job 4534.1 (COMMAND="install")
  • Tree
  • List 0
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 3662
  • Travis Job 4534.1
  • 3c52b289 on github
  • Prev Job for COMMAND="install" on master (#4512.1)
  • Next Job for COMMAND="install" on master (#4543.1)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc