Graylog2/gelf-php — pull request #16 by janoszen (2012-12-20 08:45:51+00:00)
Title: Buffering of getSocketConnection

I have profiled gelf-php with xdebug because the application we ran was too slow and it turned out, that the most time is spent in getSocketConnection(), especially the gethostbyname() call. This commit changes the function to store the created stream socket client and reuse it.