Giter Club home page Giter Club logo

da4qi4's People

Contributors

d2school avatar zhuangyan-stone avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

da4qi4's Issues

一直被调用get指令, 组件崩溃

后面调用, 显示Acceptor error:Too many open files
初步估计是不是有的get链接超时后没有清空, 导致线程池没有办法多创建并响应新的get链接

小白

这个库,跟muduo库有什么区别吗,有什么吗?小白,想问一下,学习学习

ubuntu16.04,boost 1.66.0 编译不通过

/Downloads/daqi/da4qi4/src/client/connection_client.cpp: In member function ‘da4qi4::errorcode da4qi4::Client::Connection::do_resolver()’:
/Downloads/daqi/da4qi4/src/client/connection_client.cpp:214:17: error: ‘class boost::asio::ip::basic_resolver_iteratorboost::asio::ip::tcp’ has no member named ‘empty’
if (results.empty())
^
/Downloads/daqi/da4qi4/src/client/connection_client.cpp:221:43: error: ‘class boost::asio::ip::basic_resolver_iteratorboost::asio::ip::tcp’ has no member named ‘cbegin’
this->_server_endpoint = *results.cbegin();

app的log失败问题

`auto app = svc->DefaultApp(); //取出自动生成的默认应用对象
auto default_name = app->GetName();

if(!app->InitLogger(log_dir + "logs/", log::Level::debug))
{
    std::cerr << "Create "<< default_name <<" logger fail." << std::endl;
}
log::App(default_name)->info("default_name app name: "+default_name);
log::Server()->info("default_name app name: "+default_name);

app->AddHandler(_GET_, "/app", [default_name](Context ctx)
{
    std::string name = ctx->Req("name");
    std::string html = "<html><body><h1>Hello " + name + "!</h1></body></html>";
    ctx->Res().ReplyOk(html);
    ctx->Pass();
    log::App(default_name)->info("response "+html);
});`

执行都没有问题,但是没有app的日志输出。不知道是什么原因

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.