HandlerSocket supports naming a UNIX socket as a port in its configuration
(although it's not documented), which will create a socket instead of a port
(useful for security if HandlerSocket exists on the same server as it's being
read/written from). However, because the php-handlersocket extension casts the
port parameter in the __construct() to an int, php-handlersocket does not allow
a socket string to be passed as the port parameter (which is currently the only
way to specify a socket instead of a port).
I've attached a diff file that successfully compiles and allows a string to be
passed as the port as well as an int.
Original issue reported on code.google.com by mattwar...@gmail.com on 30 Mar 2011 at 9:30
Original issue reported on code.google.com by
mattwar...@gmail.com
on 30 Mar 2011 at 9:30Attachments: