netutils/webserver: fix chunked-encoding problem.
authorJunyeon LEE <junyeon2.lee@samsung.com>
Mon, 3 Jul 2017 14:13:26 +0000 (23:13 +0900)
committerEunBong Song <eunb.song@samsung.com>
Wed, 30 Aug 2017 04:15:42 +0000 (21:15 -0700)
commitf3619983529f60bccaed9244c23b6b081abf1928
treec3ace6ff1aedf751c06c3924eb55c60d7be7cce3
parent84c782501d6acf645adb7aad0be96f7e7e333196
netutils/webserver: fix chunked-encoding problem.

This commit fixes chunked encoding problem in webserver. Webserver
sometimes misunderstood received data whether chunked or content-length.
This problem is caused by uninitialized request structure and fixed it.

Additinally, chunked routine added in PUT callback.

Change-Id: If63dace52e03feb3b71a4fc18f957c8822ec13d3
Signed-off-by: Junyeon LEE <junyeon2.lee@samsung.com>
apps/examples/webserver/webserver_main.c
apps/netutils/webserver/http_client.c