<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/'><id>tag:blogger.com,1999:blog-35024958.post119676204538372997..comments</id><updated>2007-08-24T01:39:42.542+10:00</updated><category term='templates'/><category term='static_assert'/><category term='threads'/><category term='timer'/><category term='decltype'/><category term='sfinae'/><category term='error_code'/><category term='ssl'/><category term='c++0x'/><category term='parallelism'/><category term='boost'/><category term='iostream'/><category term='c++'/><category term='timeout'/><category term='asio'/><category term='system_error'/><category term='bind'/><category term='hardware'/><category term='coroutines'/><title type='text'>Comments on Thinking Asynchronously in C++: Buffer debugging</title><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://blog.think-async.com/feeds/119676204538372997/comments/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/35024958/119676204538372997/comments/default'/><link rel='alternate' type='text/html' href='http://blog.think-async.com/2006/11/buffer-debugging.html'/><author><name>chris</name><uri>http://www.blogger.com/profile/09159109667366328919</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>4</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-35024958.post-3214864233971047230</id><published>2007-08-24T01:39:00.000+10:00</published><updated>2007-08-24T01:39:00.000+10:00</updated><title type='text'>Oh! Thanks for telling and good luck with your asy...</title><content type='html'>Oh! Thanks for telling and good luck with your async' arts!</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/35024958/119676204538372997/comments/default/3214864233971047230'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/35024958/119676204538372997/comments/default/3214864233971047230'/><link rel='alternate' type='text/html' href='http://blog.think-async.com/2006/11/buffer-debugging.html?showComment=1187883540000#c3214864233971047230' title=''/><author><name>andi</name><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img1.blogblog.com/img/blank.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.think-async.com/2006/11/buffer-debugging.html' ref='tag:blogger.com,1999:blog-35024958.post-119676204538372997' source='http://www.blogger.com/feeds/35024958/posts/default/119676204538372997' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-1991935469'/></entry><entry><id>tag:blogger.com,1999:blog-35024958.post-4343940823203335352</id><published>2007-08-15T23:56:00.000+10:00</published><updated>2007-08-15T23:56:00.000+10:00</updated><title type='text'>Let's try that link again:&lt;br&gt;&lt;br&gt;&lt;a href="http://...</title><content type='html'>Let's try that link again:&lt;BR/&gt;&lt;BR/&gt;&lt;A HREF="http://asio.cvs.sourceforge.net/asio/asio/include/asio/buffer.hpp?r1=1.22&amp;r2=1.23" REL="nofollow"&gt;diff for bug fix&lt;/A&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/35024958/119676204538372997/comments/default/4343940823203335352'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/35024958/119676204538372997/comments/default/4343940823203335352'/><link rel='alternate' type='text/html' href='http://blog.think-async.com/2006/11/buffer-debugging.html?showComment=1187186160000#c4343940823203335352' title=''/><author><name>chris</name><uri>http://www.blogger.com/profile/09159109667366328919</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.think-async.com/2006/11/buffer-debugging.html' ref='tag:blogger.com,1999:blog-35024958.post-119676204538372997' source='http://www.blogger.com/feeds/35024958/posts/default/119676204538372997' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-660467121'/></entry><entry><id>tag:blogger.com,1999:blog-35024958.post-5351348731187031276</id><published>2007-08-15T23:54:00.000+10:00</published><updated>2007-08-15T23:54:00.000+10:00</updated><title type='text'>Hi Andi,&lt;br&gt;&lt;br&gt;Actually I fixed this bug not so l...</title><content type='html'>Hi Andi,&lt;BR/&gt;&lt;BR/&gt;Actually I fixed this bug not so long ago:&lt;BR/&gt;&lt;BR/&gt;http://asio.cvs.sourceforge.net/asio/asio/include/asio/buffer.hpp?r1=1.22&amp;r2=1.23</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/35024958/119676204538372997/comments/default/5351348731187031276'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/35024958/119676204538372997/comments/default/5351348731187031276'/><link rel='alternate' type='text/html' href='http://blog.think-async.com/2006/11/buffer-debugging.html?showComment=1187186040000#c5351348731187031276' title=''/><author><name>chris</name><uri>http://www.blogger.com/profile/09159109667366328919</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.think-async.com/2006/11/buffer-debugging.html' ref='tag:blogger.com,1999:blog-35024958.post-119676204538372997' source='http://www.blogger.com/feeds/35024958/posts/default/119676204538372997' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-660467121'/></entry><entry><id>tag:blogger.com,1999:blog-35024958.post-7021563657052953269</id><published>2007-08-09T04:26:00.000+10:00</published><updated>2007-08-09T04:26:00.000+10:00</updated><title type='text'>Hi Chris!&lt;br&gt;&lt;br&gt;First of all, thanks for the grea...</title><content type='html'>Hi Chris!&lt;BR/&gt;&lt;BR/&gt;First of all, thanks for the great library!&lt;BR/&gt;&lt;BR/&gt;I just wondered about the behaviour of this buffer debugging thing if the buffer length is zero, e.g.:&lt;BR/&gt;&lt;BR/&gt;[...]&lt;BR/&gt;string content = ...&lt;BR/&gt;array&amp;lt;asio::const_buffer, 2&amp;gt; buffers = {&lt;BR/&gt;asio::buffer(header_ptr, sizeof(header_t)),&lt;BR/&gt;asio::buffer(content)&lt;BR/&gt;};&lt;BR/&gt;asio::async_write(socket_, buffers, boost::bind(...));&lt;BR/&gt;&lt;BR/&gt;This is what I tried to do in my prototype I'm currently building.&lt;BR/&gt;Well, the problem I ran into is that the content string would sometimes have length 0, and that triggered an assertion failure because (obviously) the iterator could not be dereferenced then.&lt;BR/&gt;So, I wondered whether this is the intended behaviour (in other words: a feature, not a bug)?</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/35024958/119676204538372997/comments/default/7021563657052953269'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/35024958/119676204538372997/comments/default/7021563657052953269'/><link rel='alternate' type='text/html' href='http://blog.think-async.com/2006/11/buffer-debugging.html?showComment=1186597560000#c7021563657052953269' title=''/><author><name>andi</name><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img1.blogblog.com/img/blank.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.think-async.com/2006/11/buffer-debugging.html' ref='tag:blogger.com,1999:blog-35024958.post-119676204538372997' source='http://www.blogger.com/feeds/35024958/posts/default/119676204538372997' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-1727390680'/></entry></feed>
