6565# USE_PTHREAD_EMULATION : replace pthread's rwlocks with ours
6666# USE_SHM_OPEN : use shm_open() for features that can make use of shared memory
6767# USE_KTLS : use kTLS.(requires at least Linux 4.17).
68+ # USE_FCGI : enable the FCGI subsystem. Always on.
6869# USE_H2 : enable HTTP/2 subsystem. Always on.
6970#
7071# Options can be forced by specifying "USE_xxx=1" or can be disabled by using
@@ -339,7 +340,7 @@ use_opts = USE_EPOLL USE_KQUEUE USE_NETFILTER USE_POLL \
339340 USE_TPROXY USE_LINUX_TPROXY USE_LINUX_CAP \
340341 USE_LINUX_SPLICE USE_LIBCRYPT USE_CRYPT_H USE_ENGINE \
341342 USE_GETADDRINFO USE_OPENSSL USE_OPENSSL_WOLFSSL USE_OPENSSL_AWSLC \
342- USE_ECH USE_TRACE USE_H2 \
343+ USE_ECH USE_TRACE USE_FCGI USE_H2 \
343344 USE_SSL USE_LUA USE_ACCEPT4 USE_CLOSEFROM USE_ZLIB USE_SLZ \
344345 USE_CPU_AFFINITY USE_TFO USE_NS USE_DL USE_RT USE_LIBATOMIC \
345346 USE_MATH USE_DEVICEATLAS USE_51DEGREES \
@@ -365,6 +366,9 @@ USE_POLL = default
365366# traces are always enabled
366367USE_TRACE = default
367368
369+ # FCGI is always enabled
370+ USE_FCGI = default
371+
368372# HTTP/2 is always enabled
369373USE_H2 = default
370374
@@ -575,6 +579,10 @@ ifneq ($(USE_H2:0=),)
575579 OPTIONS_OBJS += src/mux_h2.o src/h2.o
576580endif
577581
582+ ifneq ($( USE_FCGI:0=) ,)
583+ OPTIONS_OBJS += src/mux_fcgi.o src/fcgi-app.o src/fcgi.o
584+ endif
585+
578586ifneq ($( USE_SLZ:0=) ,)
579587 OPTIONS_OBJS += src/slz.o
580588endif
@@ -919,7 +927,7 @@ ifneq ($(EXTRA_OBJS),)
919927 OBJS += $( EXTRA_OBJS)
920928endif
921929
922- OBJS += src/mux_h1.o src/mux_fcgi.o src/ log.o \
930+ OBJS += src/mux_h1.o src/log.o \
923931 src/server.o src/stream.o src/tcpcheck.o src/http_ana.o \
924932 src/stick_table.o src/tools.o src/mux_spop.o src/sample.o \
925933 src/activity.o src/cfgparse.o src/peers.o src/cli.o \
@@ -937,7 +945,7 @@ OBJS += src/mux_h1.o src/mux_fcgi.o src/log.o \
937945 src/ceba_tree.o src/session.o src/payload.o src/htx.o \
938946 src/cebl_tree.o src/ceb32_tree.o src/ceb64_tree.o \
939947 src/server_state.o src/proto_rhttp.o src/flt_trace.o src/fd.o \
940- src/task.o src/map.o src/fcgi-app.o src/ mworker.o \
948+ src/task.o src/map.o src/mworker.o \
941949 src/tcp_sample.o src/mjson.o src/h1_htx.o src/tcp_act.o \
942950 src/ring.o src/flt_bwlim.o src/acl.o src/thread.o src/queue.o \
943951 src/http_rules.o src/http.o src/channel.o src/proto_tcp.o \
0 commit comments