-
Right now I'm building a static Express website which is heavily using routing and handlebars templating with Json objects. With these tools I creating the immersion of a dynamic site.
I know there's…
-
As we know, We could use `epoll_ctl` to add main-socket to `epoll file description` for which we could get event when new socket is ready to `accept`. Why does `lwan` use blocking `accept4` for main-s…
-
Hello,
We've already implement lwan to meet our internal requirement and it's working good so far.
Most of our work is writing some http server which interacts with various back end, for example Ap…
-
epoll() does not exist on Mac OS X. It does have the somewhat-similar kqueue system call. Alternatively, you can use a library such as libevent that abstracts away the difference.
So,is there anything…
-
wrong configuration cause the lwan core at start up, and the error prompt is wrong.
here is the core call stack:
```
(gdb) where
#0 0x00007fe973cc7cc9 in __GI_raise (sig=sig@entry=6)
at .…
-
For extension ".js" mime type is supposed to be "application/javascript" but lwan_determine_mime_type_for_file_name function returns "application/octet-stream".
The enum value of EXT_JS is 0x00736a2e …
-
Found no LWAN installed PHP method, give one?
-
After some struggle with receiving incomplete files found this:
https://github.com/lpereira/lwan/blob/master/common/lwan-io-wrappers.c#L202
I beleive it was meant to be:
to_be_written -= (size_t)writt…
-
I tried to build the latest lwan under Ubuntu 14.04 (gcc 4.8.4) with
`cmake .. -DCMAKE_BUILD_TYPE=Debug`
and got this after starting make:
> Scanning dependencies of target mimegen
> [ 2%] Buildin…
-
It would be great if liblwan-common could be built as a shared library instead of a dynamic library. It would make life a lot simpler for creating arbitrary servers/sites (since the headers and librar…