Update Buffer.h

修改参数 错误
add unittest for Buffer::findEOL().
Merge pull request #46 from chinaminiren/patch-1

Fix boundary check in Buffer::findEOL().
v1.0.2
get tcp_info in TcpConnection
Singleton supports 'no_destroy'
fix bug about TcpClient life time.

When TcpClient destructs, it should call TcpConnection::connectDestroyed
if no one else is holding TcpConnectionPtr. Otherwise TcpConnection will
destruct while in kConnected state, and leave a dangling Channel pointer
in EventLoop.
Merge branch 'master' of github.com:chenshuo/muduo
more sanity check for Channel life time, to prevent dangling pointers.
pull up Poller::hasChannel()
disconnect before destructing TcpClient.
update url in curl download example.
ignore cscope files