Archived
1
0

Switched to mmap for loading files. Added POST variable handling. Added

sandboxed loadstring, loadfile and  dofile functions for Lua. Fixed bug
where errors generated during request parsing may cause memory leaks
on certain platforms. Fixed bug where non-string errors generated by
Lua would cause a segmentation fault. Corrected various typos and
unclear code comments.
This commit is contained in:
2012-05-21 17:09:41 +00:00
committed by cdramey
parent 95e1a981ab
commit 76d187e568
10 changed files with 336 additions and 118 deletions

View File

@ -8,6 +8,7 @@ LDFLAGS=-O2 -Wl,-Bstatic -lfcgi -llua5.1 -Wl,-Bdynamic -lm -lpthread
all: lua-fastcgi
debug: CFLAGS+=-g -DDEBUG
debug: LDFLAGS+=-lrt
debug: lua-fastcgi
lua-fastcgi: src/lua-fastcgi.o src/lfuncs.o src/lua.o src/config.o