685d8b574b
update watcher based on socket changes
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
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
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
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
05115af93a
add target to interface
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
9524ca1566
more information in log
2023-08-04 09:16:29 -07:00
d32beac025
update to zig 0.11.0-dev.3886+0c1bfe271
2023-07-03 15:27:21 -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
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
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
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
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
5f0785aaba
add todos in watch process
2023-05-12 17:11:36 -07:00
07c7ba06ad
add signal handling to make core more robust
2023-05-12 17:11:02 -07:00
5be44c911f
get all response body data from executor without allocations in core
2023-05-12 17:10:30 -07:00
f57189fbfd
add proper http server
2023-05-11 13:09:33 -07:00
cc0ac66a18
renames
2023-05-11 10:12:37 -07:00
4c3945e874
watcher fully functional
2023-05-11 07:15:27 -07:00
2f349f2e50
perusing zig stdlib sources revealed idiomatic filter
2023-05-10 15:21:21 -07:00
4a1548b4be
add control channel through socket
2023-05-10 15:05:44 -07:00
1dd2a49daf
add documentation to watch
2023-05-09 10:08:23 -07:00
5e09b735c6
add file watcher
2023-05-09 09:18:38 -07:00
08dec6a978
add library for stuff
2023-05-07 16:12:33 -07:00
110e306e05
zig init-exe
2023-05-07 15:59:38 -07:00