Upstream always NULL
Tigran Bayburtsyan
tigran.bayburtsyan at gmail.com
Mon Dec 7 13:28:32 UTC 2015
Can you please send me some good example for upstream module implementation
?
I've been googling all time this 2 days.
Thanks
-----Original Message-----
From: nginx-devel [mailto:nginx-devel-bounces at nginx.org] On Behalf Of Maxim
Dounin
Sent: Monday, December 7, 2015 4:46 PM
To: nginx-devel at 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(ngx_http_upstream_t));
>
> if (u == NULL) {
>
> return NGX_ERROR;
>
> }
>
>
>
> ngx_ pcalloc always returning null.
>
> Is there anybody know this issue ?
You are doing something wrong in your code.
--
Maxim Dounin
http://nginx.org/
_______________________________________________
nginx-devel mailing list
nginx-devel at nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx-devel
More information about the nginx-devel
mailing list