Giter VIP home page Giter VIP logo

muduo's Introduction

Muduo is a multithreaded C++ network library based on
the reactor pattern.
It runs on Linux with kernel version >= 2.6.28.
http://code.google.com/p/muduo/

Copyright (c) 2010, Shuo Chen.  All rights reserved.

Use of this source code is governed by a BSD-style
license that can be found in the License file.

  __  __           _
 |  \/  |         | |
 | \  / |_   _  __| |_   _  ___
 | |\/| | | | |/ _` | | | |/ _ \
 | |  | | |_| | (_| | |_| | (_) |
 |_|  |_|\__,_|\__,_|\__,_|\___/

muduo's People

muduo's Issues

build 0.9.4version

What steps will reproduce the problem?
1. build.sh
2.
3.

What is the expected output? What do you see instead?
when compile thread.c error

What version of the product are you using? On what operating system?

ubuntu 12.04 cmake 2.8

Please provide any additional information below.

Original issue reported on code.google.com by [email protected] on 10 Sep 2013 at 2:06

为什么TcpClient类里有个retry()函数没有实现?

What steps will reproduce the problem?
1. 为什么TcpClient类里有个retry()函数没有实现?
2.
3.

What is the expected output? What do you see instead?
实现这个函数

What version of the product are you using? On what operating system?
centos

Please provide any additional information below.
no

Original issue reported on code.google.com by [email protected] on 4 Feb 2015 at 9:23

It's better to use the FindBoost module to add appropriate boost headers

What steps will reproduce the problem?
1. Try normal cmake build by cmake $SRC_TREE
2. make
3. Non-standard boost installation can't be found correctly.

What is the expected output? What do you see instead?
Should try FindBoost CMake module to do the headers search and definitions 
adaption.

What version of the product are you using? On what operating system?
0.1.3

Please provide any additional information below.
Also check 
         cmake --help-module FindBoost

Original issue reported on code.google.com by [email protected] on 18 Sep 2010 at 2:30

muduo-1.0.1 build ERROR:gzipfile_test

What steps will reproduce the problem?
1. BUILD_TYPE=release ./build.sh

+ make
[  6%] Built target muduo_base
[ 11%] Built target muduo_base_cpp11
[ 11%] Built target asynclogging_test
[ 11%] Built target atomic_unittest
[ 11%] Built target blockingqueue_bench
[ 12%] Built target blockingqueue_cpp11_test
[ 12%] Built target blockingqueue_test
[ 12%] Built target boundedblockingqueue_test
[ 12%] Built target date_unittest
[ 13%] Built target exception_test
[ 13%] Built target fileutil_test
[ 13%] Built target fork_test
Linking CXX executable ../../../bin/gzipfile_test
CMakeFiles/gzipfile_test.dir/GzipFile_test.cc.o: In function `main':
/home/weizili/mcx/3rdparty/muduo/muduo/base/tests/GzipFile_test.cc:14: 
undefined reference to `muduo::g_logLevel'
/home/weizili/mcx/3rdparty/muduo/muduo/base/tests/GzipFile_test.cc:26: 
undefined reference to `muduo::g_logLevel'
/home/weizili/mcx/3rdparty/muduo/muduo/base/tests/GzipFile_test.cc:26: 
undefined reference to `muduo::Logger::Logger(muduo::Logger::SourceFile, int)'
/home/weizili/mcx/3rdparty/muduo/muduo/base/tests/GzipFile_test.cc:26: 
undefined reference to `muduo::LogStream::operator<<(long)'
/home/weizili/mcx/3rdparty/muduo/muduo/base/tests/GzipFile_test.cc:26: 
undefined reference to `muduo::Logger::~Logger()'
/home/weizili/mcx/3rdparty/muduo/muduo/base/tests/GzipFile_test.cc:34: 
undefined reference to `muduo::g_logLevel'
/home/weizili/mcx/3rdparty/muduo/muduo/base/tests/GzipFile_test.cc:34: 
undefined reference to `muduo::Logger::Logger(muduo::Logger::SourceFile, int)'
/home/weizili/mcx/3rdparty/muduo/muduo/base/tests/GzipFile_test.cc:34: 
undefined reference to `muduo::LogStream::operator<<(long)'
/home/weizili/mcx/3rdparty/muduo/muduo/base/tests/GzipFile_test.cc:34: 
undefined reference to `muduo::Logger::~Logger()'
/home/weizili/mcx/3rdparty/muduo/muduo/base/tests/GzipFile_test.cc:14: 
undefined reference to `muduo::Logger::Logger(muduo::Logger::SourceFile, int)'
/home/weizili/mcx/3rdparty/muduo/muduo/base/tests/GzipFile_test.cc:14: 
undefined reference to `muduo::LogStream::operator<<(long)'
/home/weizili/mcx/3rdparty/muduo/muduo/base/tests/GzipFile_test.cc:14: 
undefined reference to `muduo::Logger::~Logger()'
/home/weizili/mcx/3rdparty/muduo/muduo/base/tests/GzipFile_test.cc:15: 
undefined reference to `muduo::g_logLevel'
/home/weizili/mcx/3rdparty/muduo/muduo/base/tests/GzipFile_test.cc:15: 
undefined reference to `muduo::Logger::Logger(muduo::Logger::SourceFile, int)'
/home/weizili/mcx/3rdparty/muduo/muduo/base/tests/GzipFile_test.cc:15: 
undefined reference to `muduo::LogStream::operator<<(int)'
/home/weizili/mcx/3rdparty/muduo/muduo/base/tests/GzipFile_test.cc:15: 
undefined reference to `muduo::Logger::~Logger()'
/home/weizili/mcx/3rdparty/muduo/muduo/base/tests/GzipFile_test.cc:16: 
undefined reference to `muduo::g_logLevel'
/home/weizili/mcx/3rdparty/muduo/muduo/base/tests/GzipFile_test.cc:16: 
undefined reference to `muduo::Logger::Logger(muduo::Logger::SourceFile, int)'
/home/weizili/mcx/3rdparty/muduo/muduo/base/tests/GzipFile_test.cc:16: 
undefined reference to `muduo::LogStream::operator<<(long)'
/home/weizili/mcx/3rdparty/muduo/muduo/base/tests/GzipFile_test.cc:16: 
undefined reference to `muduo::Logger::~Logger()'
/home/weizili/mcx/3rdparty/muduo/muduo/base/tests/GzipFile_test.cc:26: 
undefined reference to `muduo::Logger::~Logger()'
/home/weizili/mcx/3rdparty/muduo/muduo/base/tests/GzipFile_test.cc:16: 
undefined reference to `muduo::Logger::~Logger()'
/home/weizili/mcx/3rdparty/muduo/muduo/base/tests/GzipFile_test.cc:34: 
undefined reference to `muduo::Logger::~Logger()'
collect2: ld returned 1 exit status

Please provide any additional information below.

Original issue reported on code.google.com by [email protected] on 21 May 2014 at 7:10

Fail to build

What steps will reproduce the problem?
1. Build the muduo by ./build.sh
2.
3.

What is the expected output? What do you see instead?


What version of the product are you using? On what operating system?
1. muduo's version is r1.0.1;
2. OS is Ubuntu 12.04 LTS
3. gcc version 4.6.3 (Ubuntu/Linaro 4.6.3-1ubuntu5)


Please provide any additional information below.
In file included from 
/home/fgao/works/my_git_codes/file_server/muduo-1.0.1/muduo/base/tests/GzipFile_
test.cc:1:0:
/home/fgao/works/my_git_codes/file_server/muduo-1.0.1/muduo/base/GzipFile.h: In 
member function ‘long int muduo::GzipFile::tell() const’:
/home/fgao/works/my_git_codes/file_server/muduo-1.0.1/muduo/base/GzipFile.h:46:4
4: error: conversion to ‘long int’ from ‘off64_t {aka long long int}’ 
may alter its value [-Werror=conversion]



Original issue reported on code.google.com by [email protected] on 7 May 2014 at 4:37

Why can't write log to File?

What steps will reproduce the problem?
1.
2.
3.

What is the expected output? What do you see instead?


What version of the product are you using? On what operating system?


Please provide any additional information below.


Original issue reported on code.google.com by [email protected] on 28 Sep 2012 at 8:44

build fail

What steps will reproduce the problem?
1. build muduo
2.
3.

What is the expected output? What do you see instead?
build failedly

What version of the product are you using? On what operating system?
0.95version  ubuntu

Please provide any additional information below.

Original issue reported on code.google.com by [email protected] on 10 Sep 2013 at 1:43

Attachments:

Nothing in svn repository

What steps will reproduce the problem?
1. Use the svn co command in project home page to fetch source
2. SVN action would be done
3. Nothing in the source trunk directory other than the .svn tracking files.

What is the expected output? What do you see instead?
The source code should be updated.

What version of the product are you using? On what operating system?
Ubuntu Linux Lynx(10.04), i386.

Please provide any additional information below.


Original issue reported on code.google.com by [email protected] on 18 Sep 2010 at 2:24

build fail 0.9.4version

What steps will reproduce the problem?
1. build.sh
2.
3.

What is the expected output? What do you see instead?
when compile thread.c error

What version of the product are you using? On what operating system?

ubuntu 12.04 cmake 2.8

Please provide any additional information below.


Original issue reported on code.google.com by [email protected] on 10 Sep 2013 at 2:07

Confusing sizeof(off_t) in 32-bit Linux

What steps will reproduce the problem?
1. Include Muduo 0.7.0-beta as static library into my private project.
2. set CMAKE_BUILD_TYPE to 'Release'
3. make it 



What is the expected output? What do you see instead?
On:
http://code.google.com/p/muduo/source/browse/trunk/muduo/base/FileUtil.cc#48

/home/***/muduo/base/FileUtil.cc: In member function ‘int 
muduo::FileUtil::SmallFile::readToString(int, String*, int64_t*, int64_t*, 
int64_t*)’:
/home/***/muduo/base/FileUtil.cc:48: error: invalid application of ‘sizeof’ 
to incomplete type ‘boost::STATIC_ASSERTION_FAILURE<false>’ 
make[2]: *** [muduo/base/CMakeFiles/muduo_base.dir/FileUtil.cc.o] Error 1
make[1]: *** [muduo/base/CMakeFiles/muduo_base.dir/all] Error 2
make: *** [all] Error 2



What version of the product are you using? On what operating system?

Muduo 0.7.0 beta

# uname -a
Linux debian-lee 2.6.32-5-686 #1 SMP Wed Jan 11 12:29:30 UTC 2012 i686 GNU/Linux



Please provide any additional information below.
It compiles well on 64-bit Linux, but cannot get the actually 'off_t' size on 
32-bit.Should i #define _FILE_OFFSET_BITS 64 at the beginning of this source 
file??

Original issue reported on code.google.com by myonlylee on 16 Jul 2012 at 9:31

build unsuccessfully

What steps will reproduce the problem?
1. build muduo
2.
3.

What is the expected output? What do you see instead?
build failedly

What version of the product are you using? On what operating system?
0.95version  ubuntu

Please provide any additional information below.


Original issue reported on code.google.com by [email protected] on 10 Sep 2013 at 1:40

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.