drogon
drogon copied to clipboard
Drogon: A C++14/17/20 based HTTP web application framework running on Linux/macOS/Unix/Windows
Hi, I'm wondering if `WebSocketConnectionPtr::send` is a blocking method? This is of an interest since I'm interested in understanding how would a websocket server implemented with Drogon cope with sending...
Hi why there is no any auto [etag ](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/ETag)set for file response in drogon? when I load and send back a new file using newFileResponse, there is no any etag...
Does the dragon support Google Protobuf? I could not find anything in the code. Can we work on it?
I have got segmentation fault when running a simple hello world example. Here is my main code with a simple handler #include using namespace drogon; int main(int argc, char *argv[]){...
**Describe the bug** Compile example/jsonstore with gcc ~~12.0.1~~ 12.1.0 in MacOS shows error in [lib/inc/drogon/HttpController.h](https://github.com/drogonframework/drogon/blob/e53c81b229efb5e24b0a1b56c39c64c3c1540d76/lib/inc/drogon/HttpController.h#L86) **To Reproduce** get the code and gcc 12.0.1 toolchain and compile! **Expected behavior** successfully compilied...
使用方法: controller里面使用Mapper userMapper = Mapper(app().getFastDbClient()); config.json里面"is_fast": true 然后使用对于userMapper 调用方法就会报错: 20220529 02:50:15.964212 UTC 21087 FATAL It is forbidden to run loop on threads other than event-loop thread - EventLoop.cc:217 临时修改策略: controller里面使用Mapper...
`HttpFileUploadRequest` should support defining `Content-Type` for each part. That is, the current per-part header is of the form ``` content-disposition: form-data; name=""; filename="" ``` where itemName and fileName are filled...
```shell drogon_ctl create model models Create model mysql Connect to server... Source files in the models folder will be overwritten, continue(y/n)? zsh: segmentation fault drogon_ctl create model models ``` you...
**Is your feature request related to a problem? Please describe.** The current implementation only support standalone redis servers, but for redis clusters where the hash slots are distributed across more...
Wishing there is http/2 and possibly http3 ( http/2 + quic ) supported by Drogon. Not sure the prediction algorithm in http/2 is complicated or not. [Possible reference](https://github.com/h2o/h2o/tree/master/lib/http2)