Compare commits
	
		
			2 commits
		
	
	
		
			b895b47510
			...
			3097adb6e0
		
	
	| Author | SHA1 | Date | |
|---|---|---|---|
| 3097adb6e0 | |||
| 9524ca1566 | 
					 3 changed files with 3 additions and 5 deletions
				
			
		| 
						 | 
					@ -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://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_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:
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -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
 | 
					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 built with a pre-release version of zig, currently zig version
 | 
					The system is zig version [0.11](https://ziglang.org/download/0.11.0/zig-linux-x86_64-0.11.0.tar.xz).
 | 
				
			||||||
[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
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -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", .{});
 | 
					    log.info("loading config from 'proxy.ini'", .{});
 | 
				
			||||||
    // 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();
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		
		Reference in a new issue