Opened 12 years ago

Closed 12 years ago

Last modified 11 years ago

#3 closed design (fixed)

Chunk Size Definition

Reported by: mnot@… Owned by: fielding@…
Priority: Milestone: 01
Component: p1-messaging Severity:
Keywords: Cc:

Description

In the description of chunked transfer encoding [section 3.6.1], the syntax for a chunk is given as:

  chunk          = chunk-size [ chunk-extension ] CRLF
  chunk-data CRLF

The accompanying text defines chunk-size incorrectly as:

The chunk-size field is a string of hex digits indicating the size of the chunk.

This doesn't correctly describe what octets the chunk-size field is counting; it should be:

The chunk-size field is a string of hex digits indicating the size of the chunk-data in octets.

(in other words, the chunk length does not include the count of the octets in the chunk header and trailer).

Change History (4)

comment:1 Changed 12 years ago by fielding@…

  • Milestone set to 01
  • Owner set to fielding@…
  • Status changed from new to assigned

comment:2 Changed 12 years ago by fielding@…

  • Resolution set to fixed
  • Status changed from assigned to closed
  • version set to 00

Fixed in [70]

comment:3 Changed 12 years ago by mnot@…

  • version changed from 00 to d00

comment:4 Changed 11 years ago by julian.reschke@…

  • Component set to p1-messaging
Note: See TracTickets for help on using tickets.