gozer       2003/11/17 14:10:07

  Modified:    src/docs/2.0/user/handlers protocols.pod
  Log:
  Note that for PerConnection, the 2nd argument (the client socket) isn't
  currently passed in
  
  Revision  Changes    Path
  1.12      +5 -3      modperl-docs/src/docs/2.0/user/handlers/protocols.pod
  
  Index: protocols.pod
  ===================================================================
  RCS file: /home/cvs/modperl-docs/src/docs/2.0/user/handlers/protocols.pod,v
  retrieving revision 1.11
  retrieving revision 1.12
  diff -u -r1.11 -r1.12
  --- protocols.pod     8 Oct 2003 15:16:48 -0000       1.11
  +++ protocols.pod     17 Nov 2003 22:10:06 -0000      1.12
  @@ -86,14 +86,16 @@
   C<L<SRV|docs::2.0::user::config::config/item_SRV>>, because it's not
   known yet which resource the request will be mapped to.
   
  -A I<pre_connection> handler accepts connection record and socket
  -objects as its arguments:
  +A I<pre_connection> handler accepts a connection record at its argument:
   
     sub handler {
  -      my ($c, $socket) = @_;
  +      my $c = shift;
         # ...
         return Apache::OK;
     }
  +
  +[META: There is another argument passed (the actual client socket), but
  +it currently an undef]
   
   Here is a useful I<pre_connection> phase example: provide a facility
   to block remote clients by their IP, before too many resources were
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to