Download Reference Manual
The Developer's Library for D
About Wiki Forums Source Search Contact

Ticket #728 (closed defect: wontfix)

Opened 16 years ago

Last modified 16 years ago

Buffer.drain throws exception on Eof

Reported by: rrichardson Assigned to: kris
Priority: major Milestone: 1.0
Component: Core Functionality Version: 0.99.2 Don
Keywords: triage Cc: rrichardson

Description

It's also final. This makes me sad.

For the case of non-blocking sockets, the eof case is common. I could see it throwing an error if the connection goes bad (currently the only cause for Eof in blocking sockets) If my proposal in http://www.dsource.org/projects/tango/ticket/279 gets accepted, buffer.drain could check both return values, throw an error only on the case of a bad connection, and return 0 in the case of Eof.

Change History

11/09/07 00:04:11 changed by sean

  • owner changed from sean to kris.

11/21/07 20:19:27 changed by kris

  • status changed from new to assigned.
  • milestone set to 1.0.

05/24/08 17:21:43 changed by larsivi

  • keywords set to triage.

08/03/08 22:18:29 changed by kris

  • cc set to rrichardson.

is this still relevant?

10/05/08 06:32:28 changed by kris

  • status changed from assigned to closed.
  • resolution set to wontfix.

Seem like this is a dead ticket ... reopen as required :)