Hi All
I'm doing centralized service for clearing our servers Nginx cache for
specific files, but I can't find the algorithm how Nginx making cache file
based on request and cache_key.
The only thing in documentation is
http://nginx.org/en/docs/http/ngx_http_proxy_module.html#proxy_cache_path
H
Hi , I’ve tried to do same thing, but new
https://github.com/mongodb/mongo-c-driver is extremely buggy and still don’t
have support for async cursor reading or keep alive connection (it keeps only
handler structure for making new connection on the fly).
After a week of development and researc
devel@nginx.org
Subject: Re: Upstream always NULL
Hello!
On Mon, Dec 07, 2015 at 12:43:25PM +0400, Tigran Bayburtsyan wrote:
> function ngx_http_upstream_create , always returning NGX_ERROR . using
> Debugger I saw that after this lines
>
> u = ngx_pcalloc(r->pool, sizeof
function ngx_http_upstream_create , always returning NGX_ERROR . using
Debugger I saw that after this lines
u = ngx_pcalloc(r->pool, sizeof(ngx_http_upstream_t));
if (u == NULL) {
return NGX_ERROR;
}
ngx_ pcalloc always returning null.
Is there anybody know this issue ?
_
Hi
I'm doing module for my company to handle custom Unix socket protocol file
streaming through Ngxinx.
Now we are just splitting big files into small ones , saving it in directory
and sending through Nginx, but when traffic goes up, Hard driver read write
is getting extremely high, so we decided
Hi all.
I have a quick question.
Is it possible to create new worker and kill existing one from Nginx module ?
Let me know if anyone can explain.
Thanks.___
nginx-devel mailing list
nginx-devel@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx-
in
Sent: Friday, February 27, 2015 4:24 PM
To: nginx-devel@nginx.org
Subject: Re: Get ngx_http_request_t as a char array
Hello!
On Fri, Feb 27, 2015 at 02:56:46PM +0400, Tigran Bayburtsyan wrote:
> Hi.
>
> I'm trying to make a smart logging module for Nginx and I need to get
> a
oun...@nginx.org]
On Behalf Of Maxim Dounin
Sent: Friday, February 27, 2015 4:24 PM
To: nginx-devel@nginx.org
Subject: Re: Get ngx_http_request_t as a char array
Hello!
On Fri, Feb 27, 2015 at 02:56:46PM +0400, Tigran Bayburtsyan wrote:
> Hi.
>
> I'm trying to make a smart logging
Hi.
I'm trying to make a smart logging module for Nginx and I need to get all
HTTP request from client as a string (char *).
I know that ngx_http_request_t contains all HTTP request data , but I don't
need to make a loop through all headers_in parameters or request structure
parameters.
I want t
Hi.
I can't find out why Nginx calling ngx_http_free_request function after
ngx_add_timer , if I'm not calling ngx_http_finalize_request
or something relevant ?
Should I do something to keep request in memory ?
Thanks.
2015-02-22 1:28 GMT+04:00 Tigran Bayburtsyan :
> Ok I sow tha
ed up in ngx_http_free_request():
>
>
> https://github.com/nginx/nginx/blob/master/src/http/ngx_http_request.c#L3493
>
> On Sat, Feb 21, 2015 at 3:19 PM, Tigran Bayburtsyan <
> tigran.bayburts...@gmail.com> wrote:
>
>> No this time I'm trying to do it with separate process by just
ess is probably closing your
> request.
>
> Cheers.
>
>
> On Sat, Feb 21, 2015 at 2:55 PM, Tigran Bayburtsyan <
> tigran.bayburts...@gmail.com> wrote:
>
>> Hi All.
>>
>> I've created a function for adding my custom ngx_timer , but after 1st
>>
Hi All.
I've created a function for adding my custom ngx_timer , but after 1st time
loop my r->pool is setting to NULL , also it sets NULL my
r->connection->log, and after second loop it throws exception on *ngx_palloc
*because my r->pool is NULL.
I can't find out why, here is my function
*void
Hi.
I'm writing simple module for Nginx just to fork process on request and
execute some separate process and then exit.
*if(fork() == 0)*
*{*
* // Use r request pointer*
*.*
*.*
*.*
* // creating out_chain (could be more than 700kb)*
*ngx_http_output_filter ( r , out_chain );*
*
Hi.
I'm trying to find out, how to write module for Nginx which would be able
to access directly to connection socket and transfer non HTTP data.
I know that Nginx is written for specially HTTP(S) requests, but I'm
thinking of use it as a proxy server for my custom binary protocol.
Where can I f
Hi.
I'm developing Nginx module where I need to handle some function when all
data have been sent to client or when client closed the connection.
For example I have
ngx_http_finalize_request(r, ngx_http_output_filter ( r , out_chain ));
Where out_chain contains over 700KB of data.
I can't find whe
16 matches
Mail list logo