microserve.process module

Files

file process.cppm

Functions

auto run_server_instance(const Config& config, const ResolvedServer& instance) -> int
Serve one resolved site in the current process.
auto run_sites(const Config& config, const ResolvedConfig& resolved, int argc, char* argv[]) -> int
Run all resolved sites, spawning children when there is more than one.
auto make_child_argv(int argc, char* argv[], int index) -> std::vector<std::string>
Rewrite argv for an isolated site child (--child --server-index=N).
void log_site_listen_map(const ResolvedServer& instance)
Log the console listen map for one site.