cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Problem using RECORDFUNCTION

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Mon, 2 Jun 2014 23:27:59 +0200 (CEST)

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
Received on 2014-06-02