-
With the current implementation, https://securityheaders.io gives me an ~~``F``~~``A``.
We must implement the following things to get us to an ``A+``:
- [x] ``Content-Security-Policy``
- [x] ``…
-
I'm wondering if lwan's coroutines can work standalone from lwan server? Let's say as a library? Can be compiled on his own or it's impossible without the lwan's whole stuff?
-
Implement a `lwan_delay(request, ms)` function that will yield from the coroutine and resume it whenever that timer expires. Might need to use `timerfd_create()` or something else. Might also be an op…
-
I remember there was a function `coro_get_data()` in the past, but now I can not find it in the source code.
When I started to create an application with lwan's coroutine, I needed that function.
D…
sjnam updated
6 years ago
-
While running the hello-world example from the home page, it became clear that lwan_init() also requires a config file to run.
More than just requiring a config file, the config appears to need to be…
-
Following the 448d47f20cad1dbe14d66842980e5e82d04153d7 commit, it's no longer possibly to include [lwan.h](https://github.com/lpereira/lwan/blob/master/src/lib/lwan.h) from a C++ source file without m…
-
_I'm toying with the minimal.c example with minimal.conf from the wiki page._
When I link the example statically, it runs just fine. Adding the hello handler also works. Compile command for referen…
-
/tmp/ccP16mO3.ltrans1.ltrans.o: In function `parse_listener_prefix':
:(.text+0x182c): undefined reference to `__start_lwan_module'
:(.text+0x1833): undefined reference to `__stop_lwan_mo…
-
Follow the wiki up to the point where it added the hello handler to minimal.c, and says:
"Rebuild and try running it again."
I did try it but...:
Loading configuration file: lwan.conf.
…
-
```
======================================================================
ERROR: test_unknown_user (__main__.TestAuthentication)
-------------------------------------------------------------------…