Ticket #204 (closed defect: fixed)

Opened 9 months ago

Last modified 9 months ago

Fix chunked encoding reading problems

Reported by: mikey Owned by: mikey
Priority: major Milestone: 1.0.0
Component: core Version: SVN-trunk
Keywords: Cc:

Description

The current implementation of reading HTTP responses in chunked encoding is buggy. This should be fixed. Refactoring #203 is a precondition for this.

Change History

Changed 9 months ago by mikey

  • status changed from new to assigned

This is not a problem in the chunked reading algorithm, but rather in the socket implementation. The first feof() call does not return false leading to another read() of the socket which returns false then, feof() subsequently becoming false as well.

Changed 9 months ago by mikey

  • status changed from assigned to closed
  • resolution set to fixed

Fixed with r2253.

Note: See TracTickets for help on using tickets.