httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From r..@ai.mit.edu (Robert S. Thau)
Subject Rob's HP-UX problems...
Date Sun, 09 Jul 1995 18:45:16 GMT
Oooooooooops... this fixes it here (with this, and a replacement
userdir module to accomodate local conventions, it runs fine on the HP
webserver downstairs).

(An observation --- I had much better luck compiling with 'gcc' for
debugging than compiling with 'c89'.  It's possible that the people
downstairs just hasn't paid the extra dough which the man page claims
is required to get a vendor compiler with a working -g option, but
there could also be some fight over stabs formats going on between the
GNU suite and the vendor stuff...).

Unfortunately, because of this, I didn't get to all the stuff I had
planned.  At least there's an alternative to the hard timeouts in TNR.
Sigh... 

rst

*** http_main.c~	Tue Jul  4 14:04:19 1995
--- http_main.c	Sun Jul  9 18:22:28 1995
***************
*** 450,456 ****
  	
  	accept_mutex_on();  /* Lock around "accept", if necessary */
  	
! 	while ((csd=accept(sd,(struct sockaddr *)&sa_client,&clen)) == -1) 
             if (errno != EINTR) 
  		log_error("socket error: accept failed", server_conf);
  
--- 450,456 ----
  	
  	accept_mutex_on();  /* Lock around "accept", if necessary */
  	
! 	while ((csd=accept(sd,(struct sockaddr *)sa_client,&clen)) == -1) 
             if (errno != EINTR) 
  		log_error("socket error: accept failed", server_conf);
  

Mime
View raw message