$include_dir="/home/hyper-archives/boost/include"; include("$include_dir/msg-header.inc") ?>
Subject: Re: [boost] [asio] buffered_read_stream issue, with async_read()
From: Peter Simons (simons_at_[hidden])
Date: 2009-06-08 09:56:29
Hi Brad,
> Do you think I have found a bug, or are 0-byte reads always to be
> avoided?
according to IEEE Std 1003.1-2001, 0-length reads are perfectly valid.
IMHO, ASIO should handle that case correctly (or document loud and clear
that it doesn't).
Take care,
Peter