Search squid archive

Re: what "line" expects squid from redirector

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 





Henrik Nordstrom-5 wrote:
> 
>> when squid says "helperHandleRead: unexpected read from url_rewriter..."
>> ?
> 
> This message is printed if the helper outputs some data without getting
> a query from Squid..
> 
> Regards
> Henrik
> 
please,have a look at this pieac of code.
//
while(fgets(p_string, LINE_MAXLEN, stdin) != NULL){
	//	
	freeRedirStruct();
	chkForReconf();
	//
	scanned = sscanf(p_string,"%s %s %s %s %s",
		rEntry.url,
		rEntry.src_address,
		rEntry.user,
		rEntry.method,
		rEntry.ident
);
	
	//
	if(scanned != 5){

	puts("");fflush(stdout); continue; // label #1

/*  

continue; //label #2
*/
	}
	
	.................................
..................
}
When I use  'label #1' I get   " helperHandleRead: unexpected reply on
channel 0 from url_rewriter #1 ''  " error,otherwise ,when i use label #2,i
get 'Operation timed out error'.

I don't know what's right .
sometime reredirector gets lines like this  :
'A//games.yahoo.com/&pl=DivX%20Browser%20Plug-In%3AQuickTime%20Plug-in%206.0%20/%207%3ARealPlayer%209%3AWindows%20Media%20Player%20Plugin%3Amplayerplug-in%203.31%3AShockwave%20Flash%3ADefault%'

Can you tell me,what is needed to solve this problem?Thanks in advance. 
-- 
View this message in context: http://www.nabble.com/what-%22line%22-expects-squid-from-redirector-tf4500466.html#a12921877
Sent from the Squid - Users mailing list archive at Nabble.com.


[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux