if (FD_ISSET (sock[0], &read_selects))
if (read_polls[0].revents & (POLLRDNORM|POLLERR))
get_request (int *conn, request_header *req, char **key){  int i, nr, done = 0;  fd_set read_selects;  if (debug_flag)    dbg_log ("get_request");  /* loop, processing new connection requests until a client buffer     is read in on an existing connection.  */  while (!done)    {      /* Set up the socket descriptor mask for the select.	 copy read_set into the local copy.  */      FD_ZERO (&read_selects);      pthread_mutex_lock (&sock_lock);      for (i = 0; i < MAX_NUM_CONNECTIONS; ++i)	{	  if (FD_ISSET (sock[i], &read_set))	    FD_SET (sock[i], &read_selects);	}      pthread_mutex_unlock (&sock_lock);      /* Poll active connections using select().  */      nr = select (FD_SETSIZE, &read_selects, NULL, NULL, NULL);      if (nr <= 0)	{	  perror (_("Select new reads"));	  exit (1);	}      if (FD_ISSET (sock[0], &read_selects))	/* Handle the case of a new connection request on the named socket.  */	handle_new_connection ();      else	{	  /* Read data from client specific descriptor.  */	  if (handle_new_request (read_selects, &conn, &req, key) == 0)	    {	      FD_CLR (sock[*conn], &read_set);	      done = 1;	    }	}    } /* While not_done.  */}