Goal: Non-blocking IO
Current Flow:
-
main.c → calls http.ListenAndServe()
-
http_server.c → calls net_serve()
-
net_serve.c → accepts connections in a blocking loop
-
Each connection calls handle_protocol() synchronously
Dependencies: possibly the template system (*)
Goal: Non-blocking IO
Current Flow:
main.c → calls http.ListenAndServe()
http_server.c → calls net_serve()
net_serve.c → accepts connections in a blocking loop
Each connection calls handle_protocol() synchronously
Dependencies: possibly the template system (*)