You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by Alexei Kosut <ak...@nueva.pvt.k12.ca.us> on 1996/02/12 02:55:44 UTC

97.proxy-02.tar.gz

Hi..

As you may recall, I vetoed patch 97 because it failed to link on my
system. I got it to link, and it caused a SIGSEGV. But I fixed that, too,
and I'm willing to change my -1 to a +1 if the following patch is applied
to mod_proxy.c: 

*** mod_proxy.c.orig	Sun Feb 11 17:37:00 1996
--- mod_proxy.c	Sun Feb 11 17:37:30 1996
***************
*** 1278,1284 ****
      {
  	lastcheck = buf.st_mtime;  /* save the time */
  	if (now < lastcheck + every) return;
! 	if (utimes(filename, NULL) == -1)
  	    log_uerror("utimes", filename, NULL, r->server);
      }
  
--- 1278,1284 ----
      {
  	lastcheck = buf.st_mtime;  /* save the time */
  	if (now < lastcheck + every) return;
! 	if (utime(filename, NULL) == -1)
  	    log_uerror("utimes", filename, NULL, r->server);
      }
  
***************
*** 2541,2547 ****
  	}
  	buffer[--len] = '\0';
  	memcpy(inprotocol, buffer, 8);
! 	buffer[8] = '\0';
  
  /* we use the same protocol on output as on input */
  	strcpy(outprotocol, inprotocol);
--- 2541,2547 ----
  	}
  	buffer[--len] = '\0';
  	memcpy(inprotocol, buffer, 8);
! 	inprotocol[8] = '\0';
  
  /* we use the same protocol on output as on input */
  	strcpy(outprotocol, inprotocol);


Anyone have a problem with this?

--/ Alexei Kosut <ak...@nueva.pvt.k12.ca.us> /--------/ Lefler on IRC
----------------------------/ <http://www.nueva.pvt.k12.ca.us/~akosut/>
The viewpoints expressed above are entirely false, and in no way
represent Alexei Kosut nor any other person or entity. /--------------



Re: 97.proxy-02.tar.gz

Posted by Alexei Kosut <ak...@nueva.pvt.k12.ca.us>.
On Sun, 11 Feb 1996, Alexei Kosut wrote:

> As you may recall, I vetoed patch 97 because it failed to link on my
> system. I got it to link, and it caused a SIGSEGV. But I fixed that, too,
> and I'm willing to change my -1 to a +1 if the following patch is applied
> to mod_proxy.c: 

(yes, I'm responding to my own email). BTW, I've put this into
for_Apache_1.0.2/102.proxy_hpux.patch, just to make things less (or more,
depending on how you look at it) confusing. Needless to say, I vote +1 on
it. 

--/ Alexei Kosut <ak...@nueva.pvt.k12.ca.us> /--------/ Lefler on IRC
----------------------------/ <http://www.nueva.pvt.k12.ca.us/~akosut/>
The viewpoints expressed above are entirely false, and in no way
represent Alexei Kosut nor any other person or entity. /--------------