httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From b..@hyperreal.org
Subject cvs commit: apache-2.0/mpm/src/modules/mpm/prefork prefork.c
Date Sat, 24 Jul 1999 13:55:57 GMT
ben         99/07/24 06:55:57

  Modified:    mpm/src/modules/mpm/prefork prefork.c
  Log:
  Fix listener selection logic.
  
  Revision  Changes    Path
  1.14      +4 -4      apache-2.0/mpm/src/modules/mpm/prefork/prefork.c
  
  Index: prefork.c
  ===================================================================
  RCS file: /export/home/cvs/apache-2.0/mpm/src/modules/mpm/prefork/prefork.c,v
  retrieving revision 1.13
  retrieving revision 1.14
  diff -u -r1.13 -r1.14
  --- prefork.c	1999/07/17 10:35:48	1.13
  +++ prefork.c	1999/07/24 13:55:56	1.14
  @@ -2164,12 +2164,12 @@
   		    if (!lr) {
   			lr = ap_listeners;
   		    }
  -		    if (FD_ISSET(lr->fd, &main_fds)) break;
  +		    if (FD_ISSET(lr->fd, &main_fds))
  +			goto got_listener;
   		    lr = lr->next;
   		}
  -		if (lr == last_lr) {
  -		    continue;
  -		}
  +		continue;
  +	got_listener:
   		last_lr = lr;
   		sd = lr->fd;
   	    }
  
  
  

Mime
View raw message