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