Compare commits
2 Commits
b895b47510
...
3097adb6e0
Author | SHA1 | Date | |
---|---|---|---|
3097adb6e0 | |||
9524ca1566 |
|
@ -4,7 +4,7 @@ on: [push]
|
|||
env:
|
||||
ACTIONS_RUNTIME_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
ACTIONS_RUNTIME_URL: https://git.lerch.org/api/actions_pipeline/
|
||||
ZIG_URL: https://mirror.bazel.build/ziglang.org/builds/zig-linux-x86_64-0.11.0-dev.3886+0c1bfe271.tar.xz
|
||||
ZIG_URL: https://ziglang.org/download/0.11.0/zig-linux-x86_64-0.11.0.tar.xz
|
||||
BUILD_TARGET: x86_64-linux-gnu # Needs to be gnu since we're using dlopen
|
||||
BUILD_OPTIMIZATION: ReleaseSafe # Safety is usually a good thing
|
||||
jobs:
|
||||
|
|
|
@ -79,9 +79,7 @@ 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
|
||||
work outside that OS. PRs are welcome.
|
||||
|
||||
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.
|
||||
The system is zig version [0.11](https://ziglang.org/download/0.11.0/zig-linux-x86_64-0.11.0.tar.xz).
|
||||
|
||||
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
|
||||
|
|
|
@ -436,7 +436,7 @@ fn threadMain(allocator: std.mem.Allocator, server: *std.http.Server, thread_num
|
|||
}
|
||||
|
||||
fn loadConfig(allocator: std.mem.Allocator) ![]Executor {
|
||||
log.info("loading config", .{});
|
||||
log.info("loading config from 'proxy.ini'", .{});
|
||||
// We will not watch this file - let it reload on SIGHUP
|
||||
var config_file = try std.fs.cwd().openFile("proxy.ini", .{});
|
||||
defer config_file.close();
|
||||
|
|
Loading…
Reference in New Issue
Block a user