[PATCH] Remove unused static function: nxt_http_static()
Valentin V. Bartenev
vbart at nginx.com
Wed Dec 8 14:56:36 UTC 2021
On Wednesday, 8 December 2021 12:40:55 MSK Alejandro Colomar (man-pages) wrote:
> I'll ask some other doubts that I have about that file:
> - What does ctx mean?
context... in this case it's a static file serving context, that contains
realtime data needed to pass across static file serving functions for a
> - What's the difference between conf and ctx?
conf is configuration data that is initilized when user uploads
a new configuration; it contains configuration parameters.
ctx is initilized when a new request is handled; it contains realtime
data needed to serve this request.
> > Obviously, if you remove it, you even won't be able to compile the code.
> Yes. However, I had a previous compile error from a clean checkout, so
> I didn't even bother compiling my modified version yet.
> I reported it to the wrong list too :/ Now I resent it to the correct
> list, and also to you. Could you have a look at that?
I'll try to reproduce on Debian Sid VM and come back to you with a solution,
or with a question if I won't be able to reproduce.
wbr, Valentin V. Bartenev
More information about the unit