Files
smallwebwaf/Makefile
T
sneak d63465d278
check / check (push) Successful in 1m46s
Header limit of 32 KiB, upstream URL checks, build and run scripts
The request line and headers are now refused above 32 KiB exactly: Go's
server reads 4 KiB past MaxHeaderBytes, so that is set to 28 KiB, and
the tests try exactly 32 KiB and one byte more. SWWAF_UPSTREAM_URL now
needs a host, and a given port must be from 1 to 65535. make build and
make run call script/build and script/run.

Model: opus-5-5
2026-10-03 14:45:44 +00:00

39 lines
560 B
Makefile

.PHONY: bootstrap setup test lint fmt fmt-check check docker hooks build run
# Makefile targets are thin shims; the implementations live in script/
# per the scripts-to-rule-them-all pattern (see the Entrypoints section
# of README.md). build and run are for working on the code by hand.
bootstrap:
@script/bootstrap
setup:
@script/setup
test:
@script/test
lint:
@script/lint
fmt:
@script/fmt
fmt-check:
@script/fmt-check
check:
@script/check
docker:
@script/docker
hooks:
@script/install-precommit
build:
@script/build
run:
@script/run