Skip to content

add: purge expired IPs from trafic_limiter.php file#47

Open
ziirish wants to merge 1 commit into
sebsauvage:masterfrom
ziirish:trafic
Open

add: purge expired IPs from trafic_limiter.php file#47
ziirish wants to merge 1 commit into
sebsauvage:masterfrom
ziirish:trafic

Conversation

@ziirish
Copy link
Copy Markdown

@ziirish ziirish commented Apr 29, 2013

Hi,

Here is a little patch that implements the purge of the trafic_limiter.php file

@cutnpaster
Copy link
Copy Markdown

Very nice. It works.

@jelhan
Copy link
Copy Markdown

jelhan commented Sep 28, 2013

Why do you unset $tp[ip] on line 36? Just a few lines later (l. 43) value is overwritten with new timestamp.

@ziirish
Copy link
Copy Markdown
Author

ziirish commented Sep 30, 2013

Well, good question. That's unless indeed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants