Compare commits

..

No commits in common. "3097adb6e00ffceb3e6bdca4ced90d20361fe351" and "b895b47510777eaec3074f34ba221cd717401b8f" have entirely different histories.

3 changed files with 5 additions and 3 deletions

View File

@ -4,7 +4,7 @@ on: [push]
env: env:
ACTIONS_RUNTIME_TOKEN: ${{ secrets.GITHUB_TOKEN }} ACTIONS_RUNTIME_TOKEN: ${{ secrets.GITHUB_TOKEN }}
ACTIONS_RUNTIME_URL: https://git.lerch.org/api/actions_pipeline/ ACTIONS_RUNTIME_URL: https://git.lerch.org/api/actions_pipeline/
ZIG_URL: https://ziglang.org/download/0.11.0/zig-linux-x86_64-0.11.0.tar.xz ZIG_URL: https://mirror.bazel.build/ziglang.org/builds/zig-linux-x86_64-0.11.0-dev.3886+0c1bfe271.tar.xz
BUILD_TARGET: x86_64-linux-gnu # Needs to be gnu since we're using dlopen BUILD_TARGET: x86_64-linux-gnu # Needs to be gnu since we're using dlopen
BUILD_OPTIMIZATION: ReleaseSafe # Safety is usually a good thing BUILD_OPTIMIZATION: ReleaseSafe # Safety is usually a good thing
jobs: jobs:

View File

@ -79,7 +79,9 @@ This library assumes the use of Linux as a host. While the primary engine is not
tied to Linux, the file watcher module uses inotify and friends and will not tied to Linux, the file watcher module uses inotify and friends and will not
work outside that OS. PRs are welcome. work outside that OS. PRs are welcome.
The system is zig version [0.11](https://ziglang.org/download/0.11.0/zig-linux-x86_64-0.11.0.tar.xz). The system is built with a pre-release version of zig, currently zig version
[0.11.0-dev.3886+0c1bfe271](https://github.com/marler8997/zig-unofficial-releases#0110-dev38860c1bfe271-summary).
This version has web server in the standard library, so it is useful.
To achieve the lowest latency possible, this server loads dynamic libraries To achieve the lowest latency possible, this server loads dynamic libraries
using [dlopen(3)](https://linux.die.net/man/3/dlopen) based on a configuration using [dlopen(3)](https://linux.die.net/man/3/dlopen) based on a configuration

View File

@ -436,7 +436,7 @@ fn threadMain(allocator: std.mem.Allocator, server: *std.http.Server, thread_num
} }
fn loadConfig(allocator: std.mem.Allocator) ![]Executor { fn loadConfig(allocator: std.mem.Allocator) ![]Executor {
log.info("loading config from 'proxy.ini'", .{}); log.info("loading config", .{});
// We will not watch this file - let it reload on SIGHUP // We will not watch this file - let it reload on SIGHUP
var config_file = try std.fs.cwd().openFile("proxy.ini", .{}); var config_file = try std.fs.cwd().openFile("proxy.ini", .{});
defer config_file.close(); defer config_file.close();