cvs commit: modperl-2.0/xs/Apache/Connection Apache__Connection.h

2002-01-29 Thread dougm

dougm   02/01/29 08:32:25

  Modified:xs/Apache/Connection Apache__Connection.h
  Log:
  get Apache::Connection-client_socket working again
  
  Revision  ChangesPath
  1.2   +9 -0  modperl-2.0/xs/Apache/Connection/Apache__Connection.h
  
  Index: Apache__Connection.h
  ===
  RCS file: /home/cvs/modperl-2.0/xs/Apache/Connection/Apache__Connection.h,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- Apache__Connection.h  19 Nov 2001 17:32:46 -  1.1
  +++ Apache__Connection.h  29 Jan 2002 16:32:25 -  1.2
  @@ -2,6 +2,8 @@
   apr_socket_t *mpxs_Apache__Connection_client_socket(pTHX_ conn_rec *c,
   apr_socket_t *s)
   {
  +/* XXX: until minds are made up */
  +#if 0
   apr_socket_t *socket =
   ap_get_module_config(c-conn_config, core_module);
   
  @@ -10,4 +12,11 @@
   }
   
   return socket;
  +#else
  +if (s) {
  +c-client_socket = s;
  +}
  +
  +return c-client_socket;
  +#endif
   }
  
  
  



cvs commit: modperl-2.0/xs/Apache/Connection Apache__Connection.h

2002-01-29 Thread dougm

dougm   02/01/29 19:30:24

  Modified:xs/Apache/Connection Apache__Connection.h
  Log:
  conn_rec.client_socket has gone away again
  
  Revision  ChangesPath
  1.3   +0 -9  modperl-2.0/xs/Apache/Connection/Apache__Connection.h
  
  Index: Apache__Connection.h
  ===
  RCS file: /home/cvs/modperl-2.0/xs/Apache/Connection/Apache__Connection.h,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- Apache__Connection.h  29 Jan 2002 16:32:25 -  1.2
  +++ Apache__Connection.h  30 Jan 2002 03:30:24 -  1.3
  @@ -2,8 +2,6 @@
   apr_socket_t *mpxs_Apache__Connection_client_socket(pTHX_ conn_rec *c,
   apr_socket_t *s)
   {
  -/* XXX: until minds are made up */
  -#if 0
   apr_socket_t *socket =
   ap_get_module_config(c-conn_config, core_module);
   
  @@ -12,11 +10,4 @@
   }
   
   return socket;
  -#else
  -if (s) {
  -c-client_socket = s;
  -}
  -
  -return c-client_socket;
  -#endif
   }
  
  
  



cvs commit: modperl-2.0/xs/Apache/Connection Apache__Connection.h

2001-11-19 Thread dougm

dougm   01/11/19 09:32:46

  Added:   xs/Apache/Connection Apache__Connection.h
  Log:
  the new client_socket code
  
  Revision  ChangesPath
  1.1  modperl-2.0/xs/Apache/Connection/Apache__Connection.h
  
  Index: Apache__Connection.h
  ===
  static MP_INLINE
  apr_socket_t *mpxs_Apache__Connection_client_socket(pTHX_ conn_rec *c,
  apr_socket_t *s)
  {
  apr_socket_t *socket =
  ap_get_module_config(c-conn_config, core_module);
  
  if (s) {
  ap_set_module_config(c-conn_config, core_module, s);
  }
  
  return socket;
  }