1cd139dc7SShuo Chen// Muduo - A reactor-based C++ network library for Linux 2cd139dc7SShuo Chen// Copyright (c) 2010, Shuo Chen. All rights reserved. 3cd139dc7SShuo Chen// http://code.google.com/p/muduo/ 4cd139dc7SShuo Chen// 5cd139dc7SShuo Chen// Redistribution and use in source and binary forms, with or without 6cd139dc7SShuo Chen// modification, are permitted provided that the following conditions 7cd139dc7SShuo Chen// are met: 8cd139dc7SShuo Chen// 9cd139dc7SShuo Chen// * Redistributions of source code must retain the above copyright 10cd139dc7SShuo Chen// notice, this list of conditions and the following disclaimer. 11cd139dc7SShuo Chen// * Redistributions in binary form must reproduce the above copyright 12cd139dc7SShuo Chen// notice, this list of conditions and the following disclaimer in the 13cd139dc7SShuo Chen// documentation and/or other materials provided with the distribution. 14cd139dc7SShuo Chen// * The name of the author may not be used to endorse or promote 15cd139dc7SShuo Chen// products derived from this software without specific prior written 16cd139dc7SShuo Chen// permission. 17cd139dc7SShuo Chen// 18cd139dc7SShuo Chen// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 19cd139dc7SShuo Chen// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 20cd139dc7SShuo Chen// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 21cd139dc7SShuo Chen// A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 22cd139dc7SShuo Chen// OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 23cd139dc7SShuo Chen// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 24cd139dc7SShuo Chen// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 25cd139dc7SShuo Chen// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 26cd139dc7SShuo Chen// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 27cd139dc7SShuo Chen// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 28cd139dc7SShuo Chen// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 29cd139dc7SShuo Chen 30