RE: slice module and upstream sent more data than specified in "Content-Length"

2016-10-12 Thread MAGNIEN, Thierry
Hi, Is your origin server something like Apache + mod_fastcgi + mod_deflate ? I did not see this specifically with Nginx but you may hit the same issue described here: https://ma.ttias.be/apaches-mod_fastcgi-mod_deflate-troubles/ Best regards, Thierry -Message d'origine- De :

RE:[module dev] PCRE compiled code lost at reload

2016-06-22 Thread MAGNIEN, Thierry
lost at reload Hello! On Wed, Jun 22, 2016 at 02:49:36PM +, MAGNIEN, Thierry wrote: > I think I start understanding what's wrong. > > Let me explain what I've done: > > I have a ngx_http_mymodule_data_t struct which include this: > ngx_pool_t*reg

RE:[module dev] PCRE compiled code lost at reload

2016-06-22 Thread MAGNIEN, Thierry
ed code lost at reload Hello! On Wed, Jun 22, 2016 at 02:21:51PM +0000, MAGNIEN, Thierry wrote: > Thanks for your response. I already saw that, and that's why I > use a dedicated pool in shared memory for regex compilation. All > my ngx_regex_compile_t structs allocate from this unique pool. &

RE:[module dev] PCRE compiled code lost at reload

2016-06-22 Thread MAGNIEN, Thierry
] Envoyé : mercredi 22 juin 2016 15:49 À : nginx-devel@nginx.org Objet : Re: [module dev] PCRE compiled code lost at reload Hello! On Wed, Jun 22, 2016 at 09:31:12AM +, MAGNIEN, Thierry wrote: > I'm experiencing a strange behavior and I wonder if I'm missing > something obvious... > > I'

RE: [module dev] PCRE compiled code lost at reload

2016-06-22 Thread MAGNIEN, Thierry
be possibilities to bypass the issue but so far, I’d like to understand why only this specific piece of data is lost, where everything else is kept. Regards, Thierry De : Sergey Brester [mailto:serg.bres...@sebres.de] Envoyé : mercredi 22 juin 2016 11:48 À : nginx-devel@nginx.org Cc : MAGNIEN, Thierry Objet

RE: Variable visibility between 3rd party modules

2014-10-01 Thread MAGNIEN, Thierry
visibility between 3rd party modules Hi Thierry, On Tue, Sep 30, 2014 at 2:41 AM, MAGNIEN, Thierry thierry.magn...@sfr.com wrote: Hi, In my own module, do I have a simple way to retrieve a variable which has been set by another module ? For example, GeoIP module sets the geoip_org variable

Does ngx_pool_t survives reload ?

2014-05-07 Thread MAGNIEN, Thierry
Hi, I wrote a Nginx module and am facing a problem: I need to keep some data across reloads, so I'm using a shared memory segment and everything works fine except one thing. In the data structure I keep, there are ngx_regex_compile_t data, which were allocated on a ngx_pool_t. And what I see

RE: Passing response from upstream server to another upstream server

2013-11-13 Thread MAGNIEN, Thierry
-Message d'origine- De : Arnaud GRANAL [mailto:serp...@gmail.com] Envoyé : mercredi 13 novembre 2013 17:24 À : nginx-devel@nginx.org Cc : MAGNIEN, Thierry Objet : Re: Passing response from upstream server to another upstream server Hi Thierry, This is the nginx-devel mailing-list (for development

How to avoid blocking Nginx with long request

2013-04-10 Thread MAGNIEN, Thierry
Hi, I'm writing an Nginx module that uses information stored in memory to redirect requests to other servers. Basically when a GET requests arrives, it makes some checks and decides to which Location the requests shall be redirected. In order to have Nginx update the information it holds in

RE: How to avoid blocking Nginx with long request

2013-04-10 Thread MAGNIEN, Thierry
ngx_pagespeed does: use threads. This is very tricky to get right. On Wed, Apr 10, 2013 at 9:40 AM, Maxim Dounin mdou...@mdounin.ru wrote: Hello! On Wed, Apr 10, 2013 at 01:26:15PM +, MAGNIEN, Thierry wrote: Hi, I'm writing an Nginx module that uses information stored in memory to redirect