From 7e8a9537949f298eef026f6b97b8c349a9b56ea0 Mon Sep 17 00:00:00 2001 From: Drew DeVault Date: Thu, 29 Oct 2020 22:47:56 -0400 Subject: Initial pass on regex routing support All this does is parse the regexes out of the config file. I've vendored libregexp from Bellard's quickjs project, because it's reasonably small and self-contained, and POSIX regexes don't support captures. We're eventually going to want captures for URL rewrites, so this'll do for now. --- configure | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'configure') diff --git a/configure b/configure index 32ef31b..d3fe645 100755 --- a/configure +++ b/configure @@ -10,8 +10,9 @@ gmnisrv() { src/log.c \ src/main.c \ src/mime.c \ - src/server.c \ + src/regexp.c \ src/serve.c \ + src/server.c \ src/tls.c \ src/url.c \ src/util.c -- cgit v1.2.3