-
Caught something when running the framework through valgrind.
Valgrind's error:
```
==15072== Conditional jump or move depends on uninitialised value(s)
==15072== at 0x499AF8: strbuf_free (strbuf…
-
I have looked at a few source files for your current software. I have noticed that some checks for return codes are missing.
Would you like to add more error handling for return values from functions…
-
We are working on a lwan module that read images from an external service (written using Apache thrift). The specify content is images that user upload, then save to thrift backend, response to web's …
-
$ uname -a
Linux raspberrypi 3.12.28+ #709 PREEMPT Mon Sep 8 15:28:00 BST 2014 armv6l GNU/Linux
$ sudo ./lwan
7122 lwan-job.c:76 lwan_job_thread_init() Initializing low priority job thread.
7122 lw…
-
Hello Pereira,
How to compile lwan? When I using cmake compile lwan, it said lua5.1 not found...
-
This is a pretty critical one. When you fork a process (like we do at the end of every `setup.sh`) there is a 4KB output buffer added to that forked process. If you SIGKILL a process (like we do to st…
-
When I try to run make in the project i get this error:
/vagrant/lwan/common/lwan-lua.c:119:30: error: array type has incomplete element type
static const struct luaL_reg lwan_request_meta_regs[] = …
-
The writes performed by `writev()` are guaranteed to be atomic, so the mutex used by `lwan-status.c` can be removed as it's just there to ensure messages won't be garbled if two threads call any `lwan…
-
When build lwan on my Ubuntu with lua, luajit install, got this error:
../common/liblwan-common.a(lwan-lua.c.o): In function `state_create': …
-
It would be nice if lwan has document, wiki to demonstrate how to write module, how to write handler, how to use caching, callback...
It's difficult to read line by line to understand the whole code …