RE: Tux and HTTP request forwarding

"Serge Sozonoff" <[email protected]>
Newsgroups gmane.network.tux
Message-ID <3C33A216FCFD3A49B79DA3B98872C8413BDE37@MAIL2>
Hi Ingo,

Thanks, what about turning of forwarding all together :-)
Might be nice to have something in /proc/sys/net/tux for this ?

I am setting up several Tux servers for HTTP streaming. The streaming client automatically sends a query string when it requests a file. I do not use the query string and would like to use Tux to serve the files. Currently the query string throws Tux off a little and TUX tries to forward it to a backend web server which does not exist.

- Serge

-----Original Message-----
From: Ingo Molnar [mailto:[email protected]]
Sent: 25 April 2002 18:24
To: [email protected]
Subject: Re: Tux and HTTP request forwarding



On Thu, 25 Apr 2002, Serge Sozonoff wrote:

> It seems that TUX will systematically try and forward an http request
> the secondary server if the URL contains a query string. Is there a way
> to disable this behaviour?

right now the easiest way is to change net/tux/proto_http.c, and replace
the two occurances of:

	c == '?'

with:
	0

from this point on TUX should treat the query string as part of the URL.

btw., why do you want to do this?

	Ingo



_______________________________________________
tux-list mailing list
[email protected]
https://listman.redhat.com/mailman/listinfo/tux-list
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.