Shutdown idle HttpSockets, serve a complete website, etc

This commit is contained in:
Alex Hultman
2018-08-05 01:03:50 +02:00
parent 20f0a2debe
commit eb7a73651f
5 changed files with 85 additions and 10 deletions
+1 -1
View File
@@ -38,7 +38,7 @@ struct Loop {
}
Loop() : loop(us_create_loop(wakeupCb, preCb, postCb, sizeof(Data))) {
Loop() : loop(us_create_loop(1, wakeupCb, preCb, postCb, sizeof(Data))) {
new (data = (Data *) us_loop_ext(loop)) Data();
}