apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Paul Querna <c...@force-elite.com>
Subject Re: Porting to APR failed
Date Thu, 22 Jan 2009 16:21:32 GMT
Andreas Otto wrote:
> Dear APR Support Team,
> 
>   some time ago I made the strategic decision to port my software:
> 
> 	http://libmsgque.sourceforge.net/
> 
>   to APR by able to use all of the nice features.
> 
>   Some days ago I finally start to do this job ... but today I got a massive
>   disappointment ...
> 
>   You ask why ?
> 
>   It's the UNIX Domain Socket issue !!!
> 
>   well Unix-Domains are very beautiful in terms of usability
> 
>   you only have to create the "sockaddr_un" as part of "sockaddr"
>   and you can use the same code you allready written for
>   network sockets to use local sockets
> 
>   The main advantages are:
> 
> 	1. 50% faster as network sockets (on linux)
> 	2. absolute secure -> no network access
> 
>  now the problem:
> 
>    APR does not support Unix Domain Sockets

Check out this:
<https://svn.apache.org/repos/asf/httpd/httpd/trunk/modules/proxy/mod_proxy_fdpass.c>

It provides a few functions and boxes a UDS in and out of an apr_socket.

-Paul


Mime
View raw message