Re: HashDos protection
| From: | Yasuo Ohgaki | Date: | Fri, 27 Nov 2015 09:05:21 +0000 |
| Subject: | Re: HashDos protection | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-89461@lists.php.net to get a copy of this message | ||
Hi Nikita,
On Fri, Nov 27, 2015 at 2:24 AM, Nikita Popov <nikita.ppv@gmail.com> wrote:
> What are your thoughts on this?
Great! This is exactly what I was thinking.
I prefer collision counting rather than slower hash function.
Hardcoded collision max (1000) seems ok for me.
Catchable fatal error, at least E_RECOVERABLE_ERROR, is preferred, IMHO.
Regards,
--
Yasuo Ohgaki
yohgaki@ohgaki.net