note 108101 added to oauthprovider.generatetoken
| From: | carlosouza at me dot com | Date: | Wed, 28 Mar 2012 14:32:37 +0000 |
| Subject: | note 108101 added to oauthprovider.generatetoken | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-186892@lists.php.net to get a copy of this message | ||
Be careful when setting the 'strong' parameter to true.
If you system doesn't have enough entropy your script will block which can cause timeouts in
other parts of your code.
In my case, the most serious symptom was my script blocking when trying to read from /dev/random and
causing a 'MySQL has gone away' error.
Hopefully this saves someone the trouble when deciding to use /dev/random entropy
----
Server IP: 69.147.83.197
Probable Submitter: 62.7.89.140
----
Manual Page -- http://www.php.net/manual/en/oauthprovider.generatetoken.php
Edit -- https://master.php.net/note/edit/108101
Del: integrated -- https://master.php.net/note/delete/108101/integrated
Del: useless -- https://master.php.net/note/delete/108101/useless
Del: bad code -- https://master.php.net/note/delete/108101/bad+code
Del: spam -- https://master.php.net/note/delete/108101/spam
Del: non-english -- https://master.php.net/note/delete/108101/non-english
Del: in docs -- https://master.php.net/note/delete/108101/in+docs
Del: other reasons-- https://master.php.net/note/delete/108101
Reject -- https://master.php.net/note/reject/108101
Search -- https://master.php.net/manage/user-notes.php