Welcome! Log In Create A New Profile

Advanced

Re: Nginx tail module

Maksim Yevmenkin
February 13, 2020 08:20AM
On Wed, Feb 12, 2020, 11:07 PM Eran Kornblau <eran.kornblau@kaltura.com>
wrote:

> I don’t know what you’re trying to solve… but maybe you can just send a
> range request relative to the end,
> without any custom module.
> For example, ‘Range: bytes=-1024’ will return the last 1k of the resource.
>

Thanks but this is not what I was hoping for. The idea is to have Nginx
return new data as soon as it is available in the tailed file.

A client would issue one request and simply wait for the data to arrive in
chunked transfer encoding.


> What would be the best way to write a Nginx module that would essentially
> tail a file?
>

Thanks
Max
_______________________________________________
nginx-devel mailing list
nginx-devel@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx-devel
Subject Author Views Posted

Nginx tail module

Maksim Yevmenkin 528 February 12, 2020 09:50PM

RE: Nginx tail module

erankor 423 February 13, 2020 02:08AM

Re: Nginx tail module

Maksim Yevmenkin 305 February 13, 2020 08:20AM

Re: Nginx tail module

Maxim Dounin 312 February 18, 2020 11:16AM



Sorry, you do not have permission to post/reply in this forum.

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