Article delegate-en/127 of [1-5169] on the server localhost:119
  upper oldest olders older1 this newer1 newers latest
search
[Top/Up] [oldest] - [Older+chunk] - [Newer+chunk] - [newest + Check]
[Reference:<_A126@delegate-en.ML_>]
Newsgroups: mail-lists.delegate-en

[DeleGate-En] Re: SEGV with Delegate 5.7.0
13 Oct 1998 11:27:18 GMT ysato@etl.go.jp (Yutaka Sato 佐藤豊)


Hi Dominique,

In message <_A126@delegate-en.ML_> on 10/13/98(17:27:17)
you Dominique Rousseau <ppyaabdyi-53habjxumnzr.ml@ml.delegate.org> wrote:
 |I was using Delegate 5.5.6 as HTTP server to relay to an NT server.
 |
 |While having some problems with IE4/HTTP1.1 clients, I tried upgrading
 |to 5.7.0, but now the same configuration file that I used with 5.5.6
 |doesn't seem to work...
 |
 |I launch it with 'delegated -P7081 +=delegate.conf'
 |
 |Content of delegate.conf :
 |SERVER=http 
 |MOUNT="/* http://line31.nnx.fr/* host=-www.nnx.fr:7081" 
 |MOUNT="/* http://www.nnx.fr/nothing"
...
 |10/12 16:40:34 [13972]-P7081 E-A: ABORT: caught SIGSEGV [11]

Thank you for your pointed report. I found this bug about conditional
MOUNT with "host=..." option was introduced at 5.6.1 while I fixed
the interpretation of "moved" and "useproxy" MOUNT options.
I suppose this bug made "conditional" MOUNT be "unconditional" so
that the second unconditional MOUNT in your case be never used...
I enclosed a tiny patch to let the bug quit in the meantime.
This problem will be fixed more completely in the next release.

Cheers,
Yutaka
--
Yutaka Sato <ysato@etl.go.jp> http://www.etl.go.jp/~ysato/   @ @ 
Computer Science Division, Electrotechnical Laboratory      ( - )
1-1-4 Umezono, Tsukuba, Ibaraki, 305-8568 Japan            _<   >_


*** ../../../delegate5.7.0/src/mount.c	Tue Aug 18 19:44:55 1998
--- mount.c	Tue Oct 13 20:20:06 1998
***************
*** 636,641 ****
--- 636,642 ----
  	if( mt->fromList && !matchFROM(mt->fromList,NULL) )
  		return 0;
  
+ 	if( clif )
  	if( mt->clifList ){
  		char host[256];
  		int port;
***************
*** 687,692 ****
--- 688,694 ----
  		return 0 < mt->u_conds_value ? 1 : 0;
  
  	value = evalCond1(mt,clif,method,origurl);
+ 	if( clif )
  	if( value )
  		mt->u_conds_value = 1;
  	else	mt->u_conds_value = -1;

  admin search upper oldest olders older1 this newer1 newers latest
[Top/Up] [oldest] - [Older+chunk] - [Newer+chunk] - [newest + Check]
@_@V