On Mon, 2 Jun 2014, Jon Lederman wrote:

I am using chunked encoding. I looked at the debug output. It should be transferring 1 byte with each chunk. Yet the chunk size seems to indicate 31 hex=49. Why should this be? See below:

=> Send data, 0000000006 bytes (0x00000006)
0000: 31 0d 0a 74 0d 0a                               1..t..

Because the size is written in ascii. Hexadecimal using ascii.

So '1' is 0x31.

--

 / daniel.haxx.se
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette:  http://curl.haxx.se/mail/etiquette.html

Reply via email to