Mercurial > hg > nginx
view src/event/quic/bpf/makefile @ 9056:be39ffdf9208 quic
QUIC: removed cancelable flag from QUIC and HTTP/3 events.
All these events are created in context of a client connection and are deleted
when the connection is closed. Setting ev->cancelable could trigger premature
connection closure and a socket leak alert.
author | Roman Arutyunyan <arut@nginx.com> |
---|---|
date | Wed, 30 Nov 2022 14:09:08 +0400 |
parents | 7df607cb2d11 |
children |
line wrap: on
line source
CFLAGS=-O2 -Wall LICENSE=BSD PROGNAME=ngx_quic_reuseport_helper RESULT=ngx_event_quic_bpf_code DEST=../$(RESULT).c all: $(RESULT) $(RESULT): $(PROGNAME).o LICENSE=$(LICENSE) PROGNAME=$(PROGNAME) bash ./bpfgen.sh $< > $@ DEFS=-DPROGNAME=\"$(PROGNAME)\" \ -DLICENSE_$(LICENSE) \ -DLICENSE=\"$(LICENSE)\" \ $(PROGNAME).o: $(PROGNAME).c clang $(CFLAGS) $(DEFS) -target bpf -c $< -o $@ install: $(RESULT) cp $(RESULT) $(DEST) clean: @rm -f $(RESULT) *.o debug: $(PROGNAME).o llvm-objdump -S -no-show-raw-insn $< .DELETE_ON_ERROR: