* server/listen.c: duplicate sockets correctly when using systemd socket
activation, fix addrlen in getsockname() call.



git-svn-id: http://svn.apache.org/repos/asf/httpd/httpd/trunk@1608686 13f79535-47bb-0310-9956-ffa450edef68
Follow up r1608686, pass process to alloc_systemd_listener.


git-svn-id: http://svn.apache.org/repos/asf/httpd/httpd/trunk@1608694 13f79535-47bb-0310-9956-ffa450edef68
* server/listen.c: detect systemd socket activation using sd_listen_fds(),
drop the support for "Listen systemd" and use standard Listen syntax instead.

This allows using the same configuration file with or without socket activation
and allows setting protocol when using socket activation.



git-svn-id: http://svn.apache.org/repos/asf/httpd/httpd/trunk@1608703 13f79535-47bb-0310-9956-ffa450edef68
whitespace changes only

git-svn-id: http://svn.apache.org/repos/asf/httpd/httpd/trunk@1608721 13f79535-47bb-0310-9956-ffa450edef68
* server/listen.c: return -1 in find_systemd_socket on error


git-svn-id: http://svn.apache.org/repos/asf/httpd/httpd/trunk@1608744 13f79535-47bb-0310-9956-ffa450edef68
backported


git-svn-id: http://svn.apache.org/repos/asf/httpd/httpd/trunk@1608766 13f79535-47bb-0310-9956-ffa450edef68
clarify a comment

git-svn-id: http://svn.apache.org/repos/asf/httpd/httpd/trunk@1608785 13f79535-47bb-0310-9956-ffa450edef68
s/apr_pstrndup/apr_pstrmemdup/ to save a few cycles

git-svn-id: http://svn.apache.org/repos/asf/httpd/httpd/trunk@1608999 13f79535-47bb-0310-9956-ffa450edef68