geoff       2003/12/02 07:49:22

  Modified:    t/filter/TestFilter both_str_req_proxy.pm
               t/response/TestAPI rutil.pm
               xs/maps  apr_functions.map
               xs/tables/current/Apache ConstantsTable.pm FunctionTable.pm
  Log:
  remove deprecated APR features: apr_uri_default_port_for_scheme(),
  apr_socket_opt_get(), apr_socket_opt_set(), and APR_NO_TIMEOUT.
  
  Revision  Changes    Path
  1.3       +20 -1     modperl-2.0/t/filter/TestFilter/both_str_req_proxy.pm
  
  Index: both_str_req_proxy.pm
  ===================================================================
  RCS file: /home/cvs/modperl-2.0/t/filter/TestFilter/both_str_req_proxy.pm,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- both_str_req_proxy.pm     25 Nov 2003 00:11:52 -0000      1.2
  +++ both_str_req_proxy.pm     2 Dec 2003 15:49:22 -0000       1.3
  @@ -58,6 +58,8 @@
   __DATA__
   <NoAutoConfig>
       <IfModule mod_proxy.c>
  +
  +        # 2.0
           <IfModule mod_access.c>
               <Proxy http://@servername@:@port@/*>
                   Order Deny,Allow
  @@ -71,7 +73,24 @@
               http://@servername@:@port@/TestFilter__both_str_req_proxy_content/
               ProxyPassReverse /TestFilter__both_str_req_proxy/ \
               http://@servername@:@port@/TestFilter__both_str_req_proxy_content/
  -    </IfModule>
  +        </IfModule>
  +
  +        # 2.1
  +        <IfModule mod_authz_host.c>
  +            <Proxy http://@servername@:@port@/*>
  +                Order Deny,Allow
  +                Deny from all
  +                Allow from @servername@
  +            </Proxy>
  +            ProxyRequests Off
  +            RewriteEngine On
  +
  +            ProxyPass    /TestFilter__both_str_req_proxy/ \
  +            http://@servername@:@port@/TestFilter__both_str_req_proxy_content/
  +            ProxyPassReverse /TestFilter__both_str_req_proxy/ \
  +            http://@servername@:@port@/TestFilter__both_str_req_proxy_content/
  +        </IfModule>
  +
       </IfModule>
   
       PerlModule TestFilter::both_str_req_proxy
  
  
  
  1.10      +1 -1      modperl-2.0/t/response/TestAPI/rutil.pm
  
  Index: rutil.pm
  ===================================================================
  RCS file: /home/cvs/modperl-2.0/t/response/TestAPI/rutil.pm,v
  retrieving revision 1.9
  retrieving revision 1.10
  diff -u -r1.9 -r1.10
  --- rutil.pm  22 Aug 2003 19:15:08 -0000      1.9
  +++ rutil.pm  2 Dec 2003 15:49:22 -0000       1.10
  @@ -44,7 +44,7 @@
       ok $r->get_limit_req_body || 1;
   
       while(my($scheme, $port) = each %default_ports) {
  -        my $apr_port = APR::URI::default_port_for_scheme($scheme);
  +        my $apr_port = APR::URI::port_of_scheme($scheme);
           #$r->puts("$scheme => expect: $port, got: $apr_port\n");
           ok $apr_port == $port;
       }
  
  
  
  1.61      +1 -3      modperl-2.0/xs/maps/apr_functions.map
  
  Index: apr_functions.map
  ===================================================================
  RCS file: /home/cvs/modperl-2.0/xs/maps/apr_functions.map,v
  retrieving revision 1.60
  retrieving revision 1.61
  diff -u -r1.60 -r1.61
  --- apr_functions.map 17 Nov 2003 23:27:11 -0000      1.60
  +++ apr_functions.map 2 Dec 2003 15:49:22 -0000       1.61
  @@ -58,8 +58,6 @@
   !apr_socket_addr_get
   !apr_socket_data_get
   !apr_socket_data_set
  - apr_socket_opt_get
  - apr_socket_opt_set
    apr_socket_timeout_get | mpxs_ | ...
    apr_socket_timeout_set
   -apr_socket_sendfile
  @@ -569,7 +567,7 @@
                     uptr, flags=APR_URI_UNP_OMITPASSWORD | unparse
    #special case to set both uri->port and uri->port_str
    mpxs_APR__URI_port | | uri, portsv=Nullsv
  - apr_uri_default_port_for_scheme
  + apr_uri_port_of_scheme
   
   !MODULE=Apache::XML
    apr_text_append
  
  
  
  1.32      +0 -1      modperl-2.0/xs/tables/current/Apache/ConstantsTable.pm
  
  Index: ConstantsTable.pm
  ===================================================================
  RCS file: /home/cvs/modperl-2.0/xs/tables/current/Apache/ConstantsTable.pm,v
  retrieving revision 1.31
  retrieving revision 1.32
  diff -u -r1.31 -r1.32
  --- ConstantsTable.pm 25 Nov 2003 18:41:47 -0000      1.31
  +++ ConstantsTable.pm 2 Dec 2003 15:49:22 -0000       1.32
  @@ -242,7 +242,6 @@
         'APR_SO_DEBUG',
         'APR_SO_NONBLOCK',
         'APR_SO_REUSEADDR',
  -      'APR_SO_TIMEOUT',
         'APR_SO_SNDBUF',
         'APR_SO_RCVBUF',
         'APR_SO_DISCONNECTED'
  
  
  
  1.49      +0 -10     modperl-2.0/xs/tables/current/Apache/FunctionTable.pm
  
  Index: FunctionTable.pm
  ===================================================================
  RCS file: /home/cvs/modperl-2.0/xs/tables/current/Apache/FunctionTable.pm,v
  retrieving revision 1.48
  retrieving revision 1.49
  diff -u -r1.48 -r1.49
  --- FunctionTable.pm  1 Dec 2003 17:14:16 -0000       1.48
  +++ FunctionTable.pm  2 Dec 2003 15:49:22 -0000       1.49
  @@ -12903,16 +12903,6 @@
       ]
     },
     {
  -    'return_type' => 'apr_port_t',
  -    'name' => 'apr_uri_default_port_for_scheme',
  -    'args' => [
  -      {
  -        'type' => 'const char *',
  -        'name' => 'scheme_str'
  -      }
  -    ]
  -  },
  -  {
       'return_type' => 'int',
       'name' => 'apr_uri_parse',
       'args' => [
  
  
  

Reply via email to