WIP: request and connection machine
Just need a simple request logging phase to wrap this up Signed-off-by: Ava Affine <ava@sunnypup.io>
This commit is contained in:
parent
19fafc6a8c
commit
1c3736e6d2
12 changed files with 545 additions and 4253 deletions
9
snippets/muninn-test.conf
Normal file
9
snippets/muninn-test.conf
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
error_log info;
|
||||
pid /tmp/munin_pid;
|
||||
|
||||
events {}
|
||||
|
||||
muninn {
|
||||
dns_connection_pool_count 5;
|
||||
dns_listen 0.0.0.0:53;
|
||||
}
|
||||
20
snippets/test-muninn.sh
Executable file
20
snippets/test-muninn.sh
Executable file
|
|
@ -0,0 +1,20 @@
|
|||
#!/bin/zsh
|
||||
|
||||
set -ex
|
||||
alias muninn="nginx/objs/nginx -p $(pwd)/mun_pfx -c muninn-test.conf"
|
||||
|
||||
# step 1: build
|
||||
make all -j24
|
||||
|
||||
# step 2: set up test pfx
|
||||
mkdir -p $(pwd)/mun_pfx/logs/
|
||||
cp $(pwd)/snippets/muninn-test.conf mun_pfx/
|
||||
|
||||
# step 3: test configuration
|
||||
muninn -T
|
||||
|
||||
#step 4: test runtime
|
||||
#muninn
|
||||
#sleep 1
|
||||
#muninn -s quit
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue