tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mt...@apache.org
Subject cvs commit: jakarta-tomcat-connectors/ajp/proxy mod_proxy.h
Date Wed, 04 Aug 2004 14:34:56 GMT
mturk       2004/08/04 07:34:56

  Modified:    ajp/proxy mod_proxy.h
  Log:
  Added ap_proxy_determine_connection API call.
  It will be used both for http and ajp handlers.
  
  Revision  Changes    Path
  1.12      +4 -0      jakarta-tomcat-connectors/ajp/proxy/mod_proxy.h
  
  Index: mod_proxy.h
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat-connectors/ajp/proxy/mod_proxy.h,v
  retrieving revision 1.11
  retrieving revision 1.12
  diff -u -r1.11 -r1.12
  --- mod_proxy.h	4 Aug 2004 12:31:12 -0000	1.11
  +++ mod_proxy.h	4 Aug 2004 14:34:55 -0000	1.12
  @@ -195,6 +195,7 @@
   typedef struct {
       apr_pool_t   *pool; /* Subpool used for creating socket */
       apr_socket_t *sock;
  +    int          flags; /* 0: newly created 1: initialized -1: in error */
       int          close; /* Close 'this' connection */
   } proxy_conn;
   
  @@ -353,6 +354,9 @@
   PROXY_DECLARE(const char *) ap_proxy_add_balancer(struct proxy_balancer **balancer, apr_pool_t
*p, proxy_server_conf *conf, const char *url);
   PROXY_DECLARE(void) ap_proxy_add_worker_to_balancer(struct proxy_balancer *balancer, proxy_worker
*worker);
   PROXY_DECLARE(int) ap_proxy_pre_request(proxy_worker **worker, struct proxy_balancer **balancer,
request_rec *r, proxy_server_conf *conf, char **url);
  +PROXY_DECLARE(apr_status_t) ap_proxy_determine_connection(apr_pool_t *p, request_rec *r,
proxy_server_conf *conf, proxy_module_conf *mconf,
  +                                                          apr_pool_t *ppool, apr_uri_t
*uri, char **url, const char *proxyname, apr_port_t proxyport,
  +                                                          char *server_portstr, int server_portstr_size);
   
   /* For proxy_util */
   extern module PROXY_DECLARE_DATA proxy_module;
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org


Mime
View raw message