Comments (3)
是代码的bug,在client销毁的时候调用了shared_form_this,这时候会抛异常,因为这时候引用计数已经减为0了。这里不应该调用它,直接关闭socket就好了。
from cinatra.
提议:下载文件增加https协议
from cinatra.
问题记录:CINATRA_ENABLE_SSL导致无法提供HTTP服务;这个宏同时使得客户端文件下载功能只能使用http或https,无法同时支持
from cinatra.
Related Issues (20)
- 开发RESTful服务端时如何设定路径参数? HOT 2
- http_client如何取消请求 HOT 8
- http client upgrade to C++20, use coroutine HOT 6
- route函数中的std::string_view构造问题,导致key查询失败 HOT 1
- http_client的chunked传输的一点bug
- The request is too long, limitation is 3M HOT 3
- refactor cinatra server HOT 2
- test_websocket崩溃
- c++20版本太高 HOT 3
- 请求一个网页连接ws的小例子 HOT 2
- llvm16-libcxx: warns example build HOT 3
- http server only set get methond,but still process post request HOT 1
- server supports multiple domain names and multiple tls certificates HOT 1
- aarch64平台有乱码,x86平台没有乱码 HOT 4
- 如何使用已有asio::io_context运行cinatra? HOT 2
- coro_http_client 不支持多线程调用? HOT 7
- ssl HOT 9
- .gitignore 应该排除 build.cmake 文件 HOT 3
- 重定向问题 HOT 5
- http响应数据解析有情况 HOT 19
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cinatra.