Welcome! Log In Create A New Profile

Advanced

Re: Streaming of Content (CGI)

Maxim Dounin
December 28, 2009 01:50PM
Hello!

On Mon, Dec 28, 2009 at 07:23:35PM +0100, Nuno Neves wrote:

> Hi,
>
> I'm trying to run cgiirc (http://cgiirc.org) with nginx proxy to
> apache/thttpd.
> If I access apache or thttpd directly it works, but when I access with
> nginx it doesn't work.
>
> I've tested with this test file too and doesn't work ->
> http://cgiirc.org/files/teststream.pl.txt.
>
> "Testing streaming of content (with scripting)
> If most of the tests below succeed then it is likely streaming of
> content works fine. If they fail then either the webserver, a proxy
> between you and the webserver or your browser is having problems with
> streams (and sometimes scripts embedded inside streams). If the
> difference in any failed tests is only a second then it is more likely
> that your internet connection to the server is slow.
>
> Test 0: OK
> Test 1: Failed: 1262024225 != 1262024220
> Test 2: Failed: 1262024230 != 1262024220
> Test 3: Failed: 1262024235 != 1262024220
> Test 4: Failed: 1262024240 != 1262024220
> Test 5: Failed: 1262024245 != 1262024220
> Less than 4 tests were successful. You probably have a problem with
> streaming of content (or a slow internet connection)
> End of test."
>
> What can I do to nginx so it works with this setup?

No idea about cgiirc, but most likely you need proxy_buffering off.
See details here:

http://wiki.nginx.org/NginxHttpProxyModule#proxy_buffering

Maxim Dounin

_______________________________________________
nginx mailing list
nginx@nginx.org
http://nginx.org/mailman/listinfo/nginx
Subject Author Posted

Streaming of Content (CGI)

Nuno Neves December 28, 2009 01:28PM

Re: Streaming of Content (CGI)

Maxim Dounin December 28, 2009 01:50PM

Re: Streaming of Content (CGI)

Nuno Neves December 28, 2009 03:02PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 187
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready