An Tao

Results 274 comments of An Tao

1. loop必须是run的状态才能跑任务,没有任务的时候loop会wait在底层; 2. drogon的底层都是异步非阻塞的,你如果都用异步接口,跑在一个loop里也没问题,如果你拿到response之后没有特别耗时的处理,瓶颈在IO而不是cpu;

Sorry for replying so late. I don't think we have this option in our CMake configuration and you have to do it yourself by adding a new library target for...

@LordMZTE thanks for your feedback, please check the #2329 out. BTW, Given the asynchronous interface, the user should ensure that the string_view is valid before the callback is called.

Sorry, I'm not very familiar with the Conan package manager. Let's ask the submitter of the Drogon package, @gav2xlin. Do you know how to solve this issue?

@gav2xlin Thanks for your quick reply. Drogon uses mariadb connector library for MySQL, should we change the dependency in conan?

> [@an-tao](https://github.com/an-tao) yes we need to replace dependency from libmysqlclient to mariadb connector in conan. Would u like to make a PR to the [conan center repo](https://github.com/conan-io/conan-center-index) for this? I...

Thank you for your feedback. There is no plan to add QUIC support at the moment. I am afraid that changes in this regard will have to wait until the...

@LordMZTE Thanks for your patch, would you please add some tests to the [db_test.cc](https://github.com/drogonframework/drogon/blob/master/orm_lib/tests/db_test.cc) ?

Currently you cannot pass parameters in subview tags. But maybe you can add user parameters like this: ``` No recommended users found. ```

This is not a common way to use Drogon. In fact, Drogon's design does not take into account the scenario of calling the run function again after it exits.