Allow subdomain wildcards to be specified for CORS origin headers using https.

Restrict default build to acceptable Netflix and YouTube origin headers; created new debug makefile target for full whitelist testing.
This commit is contained in:
Wesley Miaw
2020-06-02 17:19:53 -07:00
parent e82bda0149
commit d789ef37ff
7 changed files with 100 additions and 35 deletions

BIN
client/dialclient_debug Executable file

Binary file not shown.

View File

@@ -6,6 +6,8 @@ CC=$(TARGET)g++
includes = $(wildcard *.h)
OBJS := main.cpp DialServer.cpp DialDiscovery.cpp DialConformance.cpp DialClientInput.cpp
debug: dialclient_debug
# You may not need all these libraries. This example uses a build of curl that needs crypto, ssl, cares, and zlib
dialclient: $(OBJS) ${includes}
$(CC) -Wall -Werror -g $(OBJS) $(INCLUDES) $(LDFLAGS) -ldl -lpthread -lcurl -lz -lcrypto -lssl -o dialclient