Add chunk encode support when doing HTTP request.
authorMohamed Abbas <mabbas@linux.intel.com>
Sat, 6 Nov 2010 01:20:45 +0000 (18:20 -0700)
committerMarcel Holtmann <marcel@holtmann.org>
Sat, 6 Nov 2010 12:33:45 +0000 (13:33 +0100)
commit76df37ca47b372b1bf1164c9c4d82d687e47099e
treeba4a21c0d06a267b1cd0e947adad2564a57bb301
parent8f124fea0748a0b05e39a461ee04e2ecdb979c6c
Add chunk encode support when doing HTTP request.

Allow user to send chunked HTTP post request by calling the
input callback function on write until the user indicate no
more data then we send the 0 length chunk to indicate end of
request body.

Now we use a new watch for sending data. This watch is only
active if more data need to be send.
gweb/gweb.c