-
Notifications
You must be signed in to change notification settings - Fork 373
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: add the function to easily create http download servers #404
feat: add the function to easily create http download servers #404
Conversation
Code Coverage Report
|
Codecov ReportPatch coverage has no change and project coverage change:
❗ Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the GitHub App Integration for your organization. Read more. Additional details and impacted files@@ Coverage Diff @@
## master #404 +/- ##
==========================================
- Coverage 62.72% 62.60% -0.12%
==========================================
Files 209 210 +1
Lines 12415 12465 +50
==========================================
+ Hits 7787 7804 +17
- Misses 4628 4661 +33
☔ View full report in Codecov by Sentry. |
|
||
int main() { | ||
http_server server(std::thread::hardware_concurrency()); | ||
server.set_http_file_server("http_file_server"); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
支持子目录吗?比如http_file_server/sub_dir 这种。
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
不支持,要支持也很简单。需要支持的话可以添加
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
支持一下吧,做完整一点
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Code Coverage Report
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
cinatra server download optimize,Now user can use
set_http_file_server
function create http file server.