An Tao

Results 208 comments of An Tao

You have to use the static libraries of all the dependencies (trantor, openssl, zlib, libpq and so on) and build drogon in static mode, even so, you need to ensure...

you should add drogon subdirectory to your project ``` add_subdirectory(third_party/drogon) target_link_libraries(${PROJECT_NAME} PRIVATE drogon) ```

If you have drogon installed in your OS, use the find_package command ``` find_package(Drogon CONFIG REQUIRED) target_link_libraries(${PROJECT_NAME} PRIVATE Drogon::Drogon) ``` Or if you want to compile the drogon source code...

> this is what i did i have compiled dorgon located in : /home/vagrant/cpp/drogon > > ``` > vagrant@vagrant:~/cpp$ pwd > **/home/vagrant/cpp** > vagrant@vagrant:~/cpp$ tree -L 1 drogon/ > drogon/...

If you add drogon by: ``` find_package(Drogon CONFIG REQUIRED) target_link_libraries(${PROJECT_NAME} PRIVATE Drogon::Drogon) ``` The dependencies of drogon will be configured automatically.

@ken-matsui please rebase on the master branch, thanks.

Why the Linux rests have been removed in this PR?

> @an-tao I mean, could you please check if there's confirmation to run new actions, or that you commit this on my behalf might work? I don't quite understand what...

@rchavezj Thank you so much. @rbugajewski @vedranmiletic @interfector18 What do you think about this topic?

No, WebSocketConnectionPtr::send method doesn't block the current thread. Because of the complecation of network transporting, it hard to know when the data is sent completely to clients if there is...