Nginx tail module

Maksim Yevmenkin maksim.yevmenkin at gmail.com
Thu Feb 13 13:18:15 UTC 2020


On Wed, Feb 12, 2020, 11:07 PM Eran Kornblau <eran.kornblau at 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.nginx.org/pipermail/nginx-devel/attachments/20200213/7647ec2a/attachment.htm>


More information about the nginx-devel mailing list