Feature #2141
closedMagnet enhancement
Status:
Missing Feedback
Priority:
Low
Category:
mod_magnet
Target version:
-
ASK QUESTIONS IN Forums:
Description
lighttpd uses a very simple hash algorithm to create etags. I ported the function "hashme" to lua to be able to create etags also from lua.
Another feature is the lighty variable lighty.env["request.time"] to get the cached time without a syscall.
Files
Updated by gstrauss almost 5 years ago
The hashme implementation is incorrect. To correct it, please use (unsigned char *)
const unsigned char *s = (unsigned char *)luaL_checkstring(L, 1);
Updated by gstrauss over 4 years ago
- Priority changed from Normal to Low
- Target version deleted (
1.5.0)
Updated by gstrauss over 4 years ago
- Status changed from New to Missing Feedback
The functionality of the patch could be done in lua code. Why is there a measurable benefit after taking into account the cost of marshalling across language boundaries?
Also available in: Atom