[prev in list] [next in list] [prev in thread] [next in thread] 

List:       uwsgi
Subject:    [uWSGI] [PATCH] Don't leak fd in uwsgi_open_and_read if url is a FIFO
From:       roberto () unbit ! it (Roberto De Ioris)
Date:       2011-11-28 6:13:07
Message-ID: 12d27368916b2a84963517c891ec4103.squirrel () manage ! unbit ! it
[Download RAW message or body]


> Hello,
>
> in utils.c:uwsgi_open_and_read() we are not closing fd if url is a FIFO.

Applied

>
> Then Roberto please take a look at line 104 of plugins/cgi/cgi_plugin.c.
> It looks like something is missing ;)
>
>

cgi plugin is still a heavy work in progress, i want to make it reliable
and features-complete. It will allows nginx users to run cgi script so it
is a much needed feature (even if i do not know it will goes in 1.0)


-- 
Roberto De Ioris
http://unbit.it

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic