News for hackers. Stuff that matters.
Re:Linux /dev/urandom and concurrency by acqq on Friday April 18, 2014 @06:29PM (#7611666)
I just guess, but maybe the things missing in the stack trace (marked with ?? -- maybe you miss some debug symbols?) do what is described in the manual entry I've quoted (calling global init which calls ares?).

And why curl at all? PHP has built in HTTPRequest?

Re:Linux /dev/urandom and concurrency by ZoF on Friday April 18, 2014 @10:05PM (#7612277)
HTTPRequest isn't technically built in to PHP.

I agree that they aren't using the correct technology for their use case though.

Re:Linux /dev/urandom and concurrency by acqq on Friday April 18, 2014 @10:38PM (#7612384)
Yes, being a C programmer I knew curl is overkill, but not what's the best lightwieght alternative, now I believe it's:

http://at2.php.net/stream_socket_client