httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From r..@apache.org
Subject cvs commit: httpd-2.0/include http_connection.h
Date Tue, 13 Nov 2001 04:01:28 GMT
rbb         01/11/12 20:01:28

  Modified:    include  http_connection.h
  Log:
  Add docs for the newest hook.
  
  Revision  Changes    Path
  1.42      +11 -1     httpd-2.0/include/http_connection.h
  
  Index: http_connection.h
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/include/http_connection.h,v
  retrieving revision 1.41
  retrieving revision 1.42
  diff -u -r1.41 -r1.42
  --- http_connection.h	2001/11/13 02:09:07	1.41
  +++ http_connection.h	2001/11/13 04:01:28	1.42
  @@ -129,9 +129,19 @@
   AP_DECLARE_HOOK(int,process_connection,(conn_rec *c))
   
   /**
  + * This hook allows modules to create connections. After the connection
  + * has been accepted, the socket is passed to this function to actually
  + * insert all filters that operate on the network, and create the connection
  + * record. The first module to create a connection is the last module
  + * run
  + * @param p The pool from which to allocate the connection record
  + * @param csd The socket that has been accepted
  + * @param conn_id A unique identifier for this connection.  The ID only
  + *                needs to be unique at that time, not forever.
  + * @return An allocated connection record or NULL.
    */
   AP_DECLARE_HOOK(conn_rec *, create_connection,
  -                (apr_pool_t *p, apr_socket_t *csd, int conn_ed))
  +                (apr_pool_t *p, apr_socket_t *csd, int conn_id))
   
   #ifdef __cplusplus
   }
  
  
  

Mime
View raw message