Henri Gomez wrote:
> > 
> > We don't need that (at least stuff that creates the connection)
> 
> the ajplib should provide this service isn't it ?
> It will ease the task for developpers. It's not so easy to 
> create a socket via APR and the extra cost will be usefull 
> for APR beginers (including myself )
>

OK. but the api should use the apr_socket_t and conn_rec.
I was thinking to make the wrapper for ap_run_create_connection that will
create the conn_rec from socket_t. 

> 
> We code split in :
> 
> ajp_ilink_create_connection()
> ajp_ilink_connect()
> ajp_ilink_setsocket(apr_socket_t) :)
> 

Well, I was thinking to use something simpler that will do that in a single
call.
ajp_connect_to_backend(pool, apr_socket_t **, conn_rec **, timeout,
keepalive)

So you will get both a socket and conn_rec created.


MT.

Attachment: smime.p7s
Description: S/MIME cryptographic signature

Reply via email to