mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-08-02 07:50:31 +00:00
Merge HTTP request / response parsing code
This change also fixes a bug so that DNS lookups work correctly when the first answer is a CNAME record.
This commit is contained in:
parent
5a6c0f27c3
commit
a68cc690ff
20 changed files with 561 additions and 616 deletions
|
@ -21,12 +21,17 @@ TEST_NET_HTTP_CHECKS = \
|
|||
|
||||
TEST_NET_HTTP_DIRECTDEPS = \
|
||||
NET_HTTP \
|
||||
LIBC_LOG \
|
||||
LIBC_TESTLIB \
|
||||
THIRD_PARTY_MBEDTLS
|
||||
|
||||
TEST_NET_HTTP_DEPS := \
|
||||
$(call uniq,$(foreach x,$(TEST_NET_HTTP_DIRECTDEPS),$($(x))))
|
||||
|
||||
o/$(MODE)/test/net/http/joyent_test.o: \
|
||||
OVERRIDE_CPPFLAGS += \
|
||||
-DSTACK_FRAME_UNLIMITED
|
||||
|
||||
o/$(MODE)/test/net/http/http.pkg: \
|
||||
$(TEST_NET_HTTP_OBJS) \
|
||||
$(foreach x,$(TEST_NET_HTTP_DIRECTDEPS),$($(x)_A).pkg)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue