Article delegate-en/43 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:<_A7318@delegate.ML_>]
Newsgroups: mail-lists.delegate-en

[DeleGate-En] failure on HTTP/1.1
21 Aug 1998 08:38:16 GMT ysato@etl.go.jp (Yutaka Sato 佐藤豊)


I enclosed a patch to fix the failure which occures when
HTTP/1.1 request is sent from a client (like IE4) to a
server compliant with HTTP/1.1.

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            _<   >_

*** ../dist/delegate5.6.4/src/http.c	Wed Aug 19 00:41:08 1998
--- http.c	Fri Aug 21 17:00:59 1998
***************
*** 2528,2533 ****
--- 2528,2537 ----
  rhost[0] = 0;
  
  	if( BORN_SPECIALIST || ACT_SPECIALIST ){
+ 		char *ver;
+ 		if( ver = strstr(REQ," HTTP/1.1\r\n") )
+ 			ver[8] = '0';
  		if( 0 < REQ_VNO ){
  			url = REQ + strlen(REQ_METHOD);
  			while( *url == ' ' || *url == '\t' )


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