Mercurial
comparison mrjunejune/main.c @ 36:84672efec192
[Zenbu] WIP fixing issues regarding to using edge only. I think there is a problem where socket closes before sending back the info.
| author | MrJuneJune <me@mrjunejune.com> |
|---|---|
| date | Sun, 09 Nov 2025 06:25:16 -0800 |
| parents | 875bb6e10db7 |
| children | 4532ce6d9eb8 |
comparison
equal
deleted
inserted
replaced
| 35:33b1caf051cd | 36:84672efec192 |
|---|---|
| 9 * | 9 * |
| 10 */ | 10 */ |
| 11 | 11 |
| 12 #include "seobeo/seobeo.h" | 12 #include "seobeo/seobeo.h" |
| 13 | 13 |
| 14 volatile sig_atomic_t stop_server = 0; | |
| 15 | |
| 16 void handle_sigint(int sig) { | |
| 17 printf("Failed\n"); | |
| 18 stop_server = 1; | |
| 19 } | |
| 14 | 20 |
| 15 int main(void) | 21 int main(void) |
| 16 { | 22 { |
| 17 Seobeo_Web_Server_Start("mrjunejune/pages", "6969", SEOBEO_MODE_EDGE, 2); | 23 Seobeo_Web_Server_Start("mrjunejune/pages", "6969", SEOBEO_MODE_EDGE, 2); |
| 18 } | 24 } |