httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mar...@apache.org
Subject cvs commit: apache-1.3/src/main http_main.c
Date Fri, 25 Oct 2002 21:12:23 GMT
martin      2002/10/25 14:12:23

  Modified:    src/main http_main.c
  Log:
  csd and dupped_csd are sockets, so they ought to handled in ap_note_cleanups_for_socket().
  (Not noticed before because ap_note_cleanups_for_socket() and ap_note_cleanups_for_fd()
simply close the fd,
  except for OSs where closesocket() in different from close())
  
  Revision  Changes    Path
  1.596     +2 -2      apache-1.3/src/main/http_main.c
  
  Index: http_main.c
  ===================================================================
  RCS file: /home/cvs/apache-1.3/src/main/http_main.c,v
  retrieving revision 1.595
  retrieving revision 1.596
  diff -u -r1.595 -r1.596
  --- http_main.c	21 Oct 2002 13:41:57 -0000	1.595
  +++ http_main.c	25 Oct 2002 21:12:23 -0000	1.596
  @@ -4517,7 +4517,7 @@
   	 */
   	signal(SIGUSR1, SIG_IGN);
   
  -	ap_note_cleanups_for_fd(ptrans, csd);
  +	ap_note_cleanups_for_socket(ptrans, csd);
   
   	/* protect various fd_sets */
   #ifdef CHECK_FD_SETSIZE
  @@ -4565,7 +4565,7 @@
   			"dup: couldn't duplicate csd");
   	    dupped_csd = csd;	/* Oh well... */
   	}
  -	ap_note_cleanups_for_fd(ptrans, dupped_csd);
  +	ap_note_cleanups_for_socket(ptrans, dupped_csd);
   
   	/* protect various fd_sets */
   #ifdef CHECK_FD_SETSIZE
  
  
  

Mime
View raw message