httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From humbed...@apache.org
Subject svn commit: r1374310 - /httpd/httpd/trunk/modules/lua/mod_lua.c
Date Fri, 17 Aug 2012 15:12:42 GMT
Author: humbedooh
Date: Fri Aug 17 15:12:41 2012
New Revision: 1374310

URL: http://svn.apache.org/viewvc?rev=1374310&view=rev
Log:
Add the missing state release to the LuaMapHandler handler as well, so we won't end in a potential
deadlock when acquiring states for in the server scope.

Modified:
    httpd/httpd/trunk/modules/lua/mod_lua.c

Modified: httpd/httpd/trunk/modules/lua/mod_lua.c
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/modules/lua/mod_lua.c?rev=1374310&r1=1374309&r2=1374310&view=diff
==============================================================================
--- httpd/httpd/trunk/modules/lua/mod_lua.c (original)
+++ httpd/httpd/trunk/modules/lua/mod_lua.c Fri Aug 17 15:12:41 2012
@@ -454,6 +454,7 @@ static int lua_map_handler(request_rec *
                 ap_lua_release_state(L, spec, r);
                 return rc;
             }
+            ap_lua_release_state(L, spec, r);
         }
     }
     return DECLINED;



Mime
View raw message