webmcp
changeset 326:ae6e889fe264
Bugfix in mcp.lua regarding passing http_options
author | jbe |
---|---|
date | Tue Mar 24 00:12:49 2015 +0100 (2015-03-24) |
parents | 3384306aa7bc |
children | d8480a60a07d |
files | framework/bin/mcp.lua |
line diff
1.1 --- a/framework/bin/mcp.lua Tue Mar 24 00:12:35 2015 +0100 1.2 +++ b/framework/bin/mcp.lua Tue Mar 24 00:12:49 2015 +0100 1.3 @@ -306,7 +306,7 @@ 1.4 request.initialize() 1.5 request.handler(http_request, request_count >= max_requests_per_fork) 1.6 end 1.7 - local outer_handler = http.generate_handler(inner_handler, http_options) 1.8 + local outer_handler = http.generate_handler(inner_handler, args.http_options) 1.9 args.prepare = postfork_init 1.10 args.connect = function(socket) 1.11 request_count = request_count + 1