hello,
On Friday, Oct 27, 2017 12:25 PM, Dk Jack wrote:
>On Thu, Oct 26, 2017 at 9:12 PM, 胡聪 (hucc) wrote:
>
>>On Friday, Oct 27, 2017 5:04 AM, Dk Jack wrote:
>>
>>>In my module I'd like to monitor the creation of a file (at a specific) using
>>>inotify or something
Thanks for the quick response. This is exactly what I need. Yes, it is a
NGX_HTTP_MODULE.
How do I ensure, "this module is behind ngx_event_core_module"? Thanks.
Dk
On Thu, Oct 26, 2017 at 9:12 PM, 胡聪 (hucc) wrote:
> Hi,
>
> On Friday, Oct 27, 2017 5:04 AM, Dk Jack
Hi,
On Friday, Oct 27, 2017 5:04 AM, Dk Jack wrote:
>In my module I'd like to monitor the creation of a file (at a specific) using
>inotify or something similar and load some data from the file. How would I go
>about hooking up the inotifyFd with the nginx event system so that I get a
>callback
Hi,
In my module I'd like to monitor the creation of a file (at a specific)
using inotify or something similar and load some data from the file. How
would I go about hooking up the inotifyFd with the nginx event system so
that I get a callback when the file is created on the disk?
Dk.
# HG changeset patch
# User hucongcong
# Date 1509041837 -28800
# Fri Oct 27 02:17:17 2017 +0800
# Node ID 2366fd2d2aa2820ab846fb51bba0e399fbb7ecc0
# Parent f7b01b22c785c8ee7976efed0c6c7cb71c6a511d
Slice filter: support multiple ranges.
diff -r f7b01b22c785 -r
# HG changeset patch
# User hucongcong
# Date 1509041509 -28800
# Fri Oct 27 02:11:49 2017 +0800
# Node ID f7b01b22c785c8ee7976efed0c6c7cb71c6a511d
# Parent 798418b3f9c21811debf6cbeaea3eb554c886905
Range filter: move ranges array to ngx_http_headers_out_t.
diff -r
# HG changeset patch
# User hucongcong
# Date 1509038506 -28800
# Fri Oct 27 01:21:46 2017 +0800
# Node ID 798418b3f9c21811debf6cbeaea3eb554c886905
# Parent a429a3b21a3950d69781e109111831e7c5f33566
Range filter: support multiple ranges.
Nginx will return 416 when the
# HG changeset patch
# User hucongcong
# Date 1509035936 -28800
# Fri Oct 27 00:38:56 2017 +0800
# Node ID a429a3b21a3950d69781e109111831e7c5f33566
# Parent 9ef704d8563af4aff6817ab1c694fb40591f20b3
Range filter: more appropriate restriction on max ranges.
diff -r
# HG changeset patch
# User hucongcong
# Date 1509035438 -28800
# Fri Oct 27 00:30:38 2017 +0800
# Node ID 0dc91aea7cd6e8398872ac3615ce1294b06e80af
# Parent 9ef704d8563af4aff6817ab1c694fb40591f20b3
SSI: fixed type.
diff -r 9ef704d8563a -r 0dc91aea7cd6