You are viewing a plain text version of this content. The canonical link for it is here.
Posted to modperl-cvs@perl.apache.org by ch...@hyperreal.org on 1999/09/09 11:40:34 UTC

cvs commit: modperl ToDo Changes

cholet      99/09/09 02:40:34

  Modified:    src/modules/perl Connection.xs
               .        ToDo Changes
  Log:
  Joshua's patch to make $c->remote_host writeable
  
  Revision  Changes    Path
  1.5       +4 -1      modperl/src/modules/perl/Connection.xs
  
  Index: Connection.xs
  ===================================================================
  RCS file: /export/home/cvs/modperl/src/modules/perl/Connection.xs,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- Connection.xs	1999/01/08 21:09:10	1.4
  +++ Connection.xs	1999/09/09 09:40:31	1.5
  @@ -89,11 +89,14 @@
       RETVAL
   
   char *
  -remote_host(conn)
  +remote_host(conn, ...)
       Apache::Connection	conn
   
       CODE:
       RETVAL = conn->remote_host;
  +
  +    if(items > 1)
  +         conn->remote_host = pstrdup(conn->pool, (char *)SvPV(ST(1),na));
   
       OUTPUT:
       RETVAL
  
  
  
  1.200     +0 -2      modperl/ToDo
  
  Index: ToDo
  ===================================================================
  RCS file: /export/home/cvs/modperl/ToDo,v
  retrieving revision 1.199
  retrieving revision 1.200
  diff -u -r1.199 -r1.200
  --- ToDo	1999/09/09 09:13:00	1.199
  +++ ToDo	1999/09/09 09:40:32	1.200
  @@ -22,8 +22,6 @@
   - 'make test' AllowOverride None for / 
     ["Lembark, Steve" <St...@wfg.com>]
   
  -- patch for writeable $c->remote_host [Joshua Chamas <jo...@chamas.com>] {cholet}
  -
   - fix t/httpd symlink logic ["Young, Geoffrey S." <yo...@acwilm.com>]
   
   - rename PerlSendHeader?
  
  
  
  1.343     +2 -0      modperl/Changes
  
  Index: Changes
  ===================================================================
  RCS file: /export/home/cvs/modperl/Changes,v
  retrieving revision 1.342
  retrieving revision 1.343
  diff -u -r1.342 -r1.343
  --- Changes	1999/09/03 01:47:48	1.342
  +++ Changes	1999/09/09 09:40:32	1.343
  @@ -10,6 +10,8 @@
   
   =item 1.21_01-dev
   
  +make $c->remote_host writeable [Joshua Chamas <jo...@chamas.com>]
  +
   add per-server PerlSetVar variables, accessed using
   Apache->server->dir_config or $r->server->dir_config.
   $r->dir_config merges them with per-directory variables.