Actions
Bug #145
closedlighttpd will exist if a cgi is 'broken'
ASK QUESTIONS IN Forums:
Description
I have a cgi 'upload.cgi', used to upload files.
This is about the current svn version
If a user provided a file that is too big (100M, for example),
this cgi will not read the stdin. It will just print a simple
page and exist. This behavior is reasonable, right?
But this will cause the server, lighttpd, to exist. In mod_cgi.c:735,
the function returns 'HANDLER_ERROR', and then in server.c:996, 'SEGFAULT;',
the server is down.
I'm now doing a dirty hack in mod_cgi.c:735, 'return HANDLER_FINISHED'. It
works right now but I don't know whether there are other problems.
-- yasheng
Updated by stbuehler over 16 years ago
- Status changed from New to Fixed
- Resolution set to worksforme
Now, ticket is way too old :)
Updated by stbuehler about 16 years ago
- Status changed from Fixed to Missing Feedback
Updated by gstrauss over 7 years ago
- Description updated (diff)
- Status changed from Missing Feedback to Fixed
- Target version changed from 1.4.20 to 1.4.x
fixed in lighttpd 1.4.40
Actions
Also available in: Atom