<p dir="ltr">Thanks, that's what I was using.</p>
<br><div class="gmail_quote"><div dir="ltr">On Thu, 4 Feb 2016, 6:30 p.m. Yichun Zhang (agentzh) <<a href="mailto:agentzh@gmail.com">agentzh@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hello!<br>
<br>
On Wed, Feb 3, 2016 at 7:09 PM, SplitIce wrote:<br>
> What is the appropriate way to allocate memory during the stream? The http<br>
> context has a pool member as part of the request structure, what is the<br>
> equivalent in the stream module context?<br>
><br>
<br>
I think it is s->connection->pool where s is a ngx_stream_session_t pointer.<br>
<br>
Regards,<br>
-agentzh<br>
<br>
_______________________________________________<br>
nginx-devel mailing list<br>
<a href="mailto:nginx-devel@nginx.org" target="_blank">nginx-devel@nginx.org</a><br>
<a href="http://mailman.nginx.org/mailman/listinfo/nginx-devel" rel="noreferrer" target="_blank">http://mailman.nginx.org/mailman/listinfo/nginx-devel</a><br>
</blockquote></div>