You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by Dean Gaudet <dg...@arctic.org> on 1997/07/08 05:04:13 UTC

Re: connection handles

So is it only associated with r->connection->client, or is it needed
potentially for any BUFF * ?  Just trying to pidgeon-hole it.

Dean

On Mon, 7 Jul 1997, Doug MacEachern wrote:

> Dean Gaudet <dg...@arctic.org> wrote:
> 
> > Isn't this specific to B_SFIO stuff ?  I'm not clear on what the
> > "transport handle" means ... 
> 
> Not really specific to B_SFIO.  When a different transport protocol is
> used, such as rpc or ssl, the void * t_handle just provides a slot for
> adding extra stuff to r->connection->client.  Stuff we simply need at a
> lower level than most modules.  Example, ssl could use this slot
> instead of the patch chunk below: 
>  
>       int fd;                /* the file descriptor */
>       int fd_in;             /* input file descriptor, if different */
> + 
> + #ifdef APACHE_SSL
> +     /* Add some context for SSL */
> +     SSL *ssl;
> +     char *szClientX509;
> +     int nVerifyError;
> + #endif
> 
> The dce plugin uses it to store a pointer the rpc binding handle.
> Maybe it should be called "opaque handle" (o_handle)?  
> 
> -Doug
>