Browse Source

Close connection in mod_magnet if returned status code

git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2201 152afb58-edef-0310-8abb-c4023f1b3aa9
svn/tags/lighttpd-1.4.20
Stefan Bühler 14 years ago
parent
commit
f08cd32877
  1. 1
      NEWS
  2. 1
      src/mod_magnet.c

1
NEWS

@ -28,6 +28,7 @@ NEWS
* merge spawn-fcgi changes from trunk (from @2191)
* let spawn-fcgi propagate exit code from spawned fcgi application
* close connection after redirect in trigger_b4_dl (thx icy)
* close connection in mod_magnet if returned status code
- 1.4.19 - 2008-03-10

1
src/mod_magnet.c

@ -767,6 +767,7 @@ static handler_t magnet_attract(server *srv, connection *con, plugin_data *p, bu
if (lua_return_value > 99) {
con->http_status = lua_return_value;
con->file_finished = 1;
/* try { ...*/
if (0 == setjmp(exceptionjmp)) {

Loading…
Cancel
Save