A quick hack to check chunked transfer encoding for Linux
(see converation to issue #98, chunked transfer encoding
has been added with #95 but there are merge errors).
Can be used this way:
Compile civetweb 'make WITH_LUA=1'.
Set environment variable 'export resource_script_demo_storage=/tmp/'
Start it with 'civetweb -document_root /path/to/civetweb/test'.
Compile this example directly with 'gcc testclient.c' from the command line.
Start the resulting file './a.out'
A file /tmp/r1.txt with 1024 bytes will be created ('ls -l /tmp/').
Delete this file ('rm /tmp/r1.txt').
This was NOT chunked transfer encoding.
Now enable chunked tranfer encoding: Change to chunked=1 in line 38.
Rebuild 'gcc testclient.c' and run './a.out' again.
Currently a 0 byte file will be created in /tmp/.
This file has to be deleted after every test.
Hope this helps fixing the merge errors.