Commit Graph

63 Commits

Author SHA1 Message Date
685d8b574b
update watcher based on socket changes
Some checks failed
Build / build (push) Successful in 3m23s
Build / sign (push) Failing after 15s
Build / deploy (push) Failing after 1m33s
2023-10-28 08:17:17 -07:00
7e2a3b04fa
straighten out socket file mess, part 1
This was the hard part. Under abnormal termination (kill -9,
seg faults, whatever) socket files do not get cleaned up properly.
As long as this is the IPC mechanism, there is very little that
can be done about this. So, with this change we are leaving them
to linger. Fixing this we can do one of two things. First,
we can look for EADDRINUSE and just delete the file and retry.
However, that prevents someone from running two binaries at the
same time (maybe to run two servers on different ports). The
second option is to make the files unique, so this is the path
chosen. Here we append a system timestamp to the file name.

Part two of this eventually will need to be locating the TEMP
directory and placing the files there.
2023-10-26 15:41:07 -07:00
ec0f736cad
introduce two process model (supervisor and child) to accomodate panics
All checks were successful
Build / build (push) Successful in 1m24s
Build / sign (push) Successful in 35s
Build / deploy (push) Successful in 52s
2023-10-26 13:40:33 -07:00
3d3dab9c79
allow lib more control in status reporting
All checks were successful
Build / build (push) Successful in 1m36s
Build / sign (push) Successful in 37s
Build / deploy (push) Successful in 40s
2023-10-23 11:17:29 -07:00
b058368285
change interface to more closely match others in universal lambda 2023-10-23 09:58:44 -07:00
c44ad2ba84
add target to ZigRequest
All checks were successful
Build / build (push) Successful in 1m27s
Build / sign (push) Successful in 37s
Build / deploy (push) Successful in 46s
2023-10-05 15:58:36 -07:00
0afe78a346
export module for interfaces
All checks were successful
Build / build (push) Successful in 1m46s
Build / sign (push) Successful in 41s
Build / deploy (push) Successful in 1m1s
2023-10-04 06:47:05 -07:00
05115af93a
add target to interface
Some checks failed
Build / build (push) Successful in 1m35s
Build / sign (push) Failing after 18s
Build / deploy (push) Successful in 37s
2023-10-03 13:27:18 -07:00
3097adb6e0
upgrade to zig 0.11 release
All checks were successful
Build / build (push) Successful in 1m41s
Build / sign (push) Successful in 38s
Build / deploy (push) Successful in 1m7s
2023-08-04 09:19:40 -07:00
9524ca1566
more information in log 2023-08-04 09:16:29 -07:00
b895b47510
add ENTRYPOINT to docker
All checks were successful
Build / build (push) Successful in 1m29s
Build / sign (push) Successful in 34s
Build / deploy (push) Successful in 33s
2023-07-29 20:30:01 -07:00
2691c39fa2
Clean up build/update readme
All checks were successful
Build / build (push) Successful in 1m16s
Build / sign (push) Successful in 34s
Build / deploy (push) Successful in 29s
Closes #1
2023-07-29 19:49:33 -07:00
c02cd20b4c
add gitea workflow
Some checks reported warnings
Build / build (push) Successful in 1m26s
Build / sign (push) Has been cancelled
Build / deploy (push) Successful in 30s
2023-07-29 19:13:53 -07:00
d32beac025
update to zig 0.11.0-dev.3886+0c1bfe271 2023-07-03 15:27:21 -07:00
abc26837a0
update README 2023-06-15 20:27:42 -07:00
6f1e37b391
complete name change 2023-06-15 20:26:49 -07:00
500847f571
remove unnecessary debug log 2023-06-15 20:21:04 -07:00
46d73f3983
PORT environment variable to adjust port number 2023-06-15 20:04:55 -07:00
f697e69d45
fix panic under heavy load 2023-06-15 20:03:51 -07:00
8b8463cd6a
update to vector logo 2023-06-11 21:01:55 -07:00
94342c83ef
for loop asthetics 2023-06-11 11:32:37 -07:00
8c86f3c7d4
update preallocation for new zig/enable environment variable to control 2023-06-03 14:26:37 -07:00
a77e137da8
update readme with correct logo link and todo 2023-06-03 13:59:42 -07:00
76574b356a
add project logos 2023-06-03 13:58:00 -07:00
dfe53a6e5e
initial readme (architecture section TODO 2023-06-03 13:57:07 -07:00
b335108f0d
cap debug builds to 4 server threads 2023-06-03 13:56:45 -07:00
626a2e618c
thread pool based on environment variable with cpu count fallback 2023-06-03 08:57:47 -07:00
eaef2c6ddc
multiple worker threads - first cut 2023-06-03 08:31:24 -07:00
7b271a0698
upgrade to zig 0.11.0-dev.3312+ab37ab33c 2023-05-31 16:19:31 -07:00
df5cb27e8e
reorganize and comment the boilerplate 2023-05-31 10:18:25 -07:00
1f9fd19771
implement header matching in proxy.ini 2023-05-31 10:18:09 -07:00
2004d97919
pretty sure that bug was fixed 2023-05-30 19:10:42 -07:00
e0bf317706
general cleanup and comments 2023-05-30 19:10:05 -07:00
4d4f19d7bc
add comments and move more specific match up to the top 2023-05-30 16:35:20 -07:00
327ebae4f2
add tests for config based on header and path 2023-05-30 16:30:58 -07:00
08141a7bed
remove panic calls from library 2023-05-30 16:14:14 -07:00
534de38305
reorganize and comment interface code 2023-05-30 16:12:29 -07:00
76497fe22c
create more zig-friendly request interface 2023-05-30 16:03:40 -07:00
31bece93fc
reduce boilerplate in main-lib 2023-05-30 12:46:23 -07:00
30edcdfb6a
config file reload on SIGHUP 2023-05-30 12:45:22 -07:00
22a7537933
create library for the interface 2023-05-30 12:44:20 -07:00
02017da98e
move executor config to external file 2023-05-27 14:01:40 -07:00
c393792cd1
add config 2023-05-25 14:18:49 -07:00
f13471de46
add more todos/documentation 2023-05-17 17:52:15 -07:00
149ed6b42f
remove completed todos 2023-05-17 17:46:27 -07:00
cfd190d29f
pass allocator to zig programs that opt in/pass request to lib 2023-05-17 17:43:17 -07:00
271c53f650
deal with headers 2023-05-15 19:49:28 -07:00
ce5fc4e99f
handle library side of headers 2023-05-13 12:56:47 -07:00
289fb8d46c
allow a useful zig build test command 2023-05-13 10:42:30 -07:00
e66758ffe5
switch to raw_c_allocator as this is better for area allocation 2023-05-12 17:12:04 -07:00