jeremycw / httpserver.h

Single header library for writing non-blocking HTTP servers in C
MIT License
1.78k stars 143 forks source link

tes/run curl not testing Chunked Request close #54

Open EduardoMorras opened 3 years ago

EduardoMorras commented 3 years ago

In line 38, curl needs -H'Connection: close' to test correct. If not, it's the same test as keep-alive.

echo "\n\nChunked Request close: (expect empty)" curl -H'Expect:' -H'Connection: close' -H'Transfer-Encoding: chunked' -XPOST --data-binary @test.dat -o r3.dat http://localhost:8080/chunked-req -o r4.dat http://localhos