-
Notifications
You must be signed in to change notification settings - Fork 376
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: coro server limit websocket body max size #438
feat: coro server limit websocket body max size #438
Conversation
Code Coverage Report
|
Codecov ReportAttention:
❗ Your organization needs to install the Codecov GitHub app to enable full functionality. Additional details and impacted files@@ Coverage Diff @@
## master #438 +/- ##
==========================================
+ Coverage 65.05% 65.13% +0.07%
==========================================
Files 217 217
Lines 13362 13400 +38
==========================================
+ Hits 8693 8728 +35
- Misses 4669 4672 +3
☔ View full report in Codecov by Sentry. |
@@ -535,6 +547,7 @@ class coro_http_connection | |||
std::function<void(const uint64_t &conn_id)> quit_cb_ = nullptr; | |||
bool checkout_timeout_ = false; | |||
std::atomic<std::chrono::system_clock::time_point> last_rwtime_; | |||
uint64_t max_part_size_ = 0; |
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.
这里给一个默认值,比如3M或者多少的一个数字。
41bacaf
to
27c60a2
Compare
Code Coverage Report
|
Code Coverage Report
|
No description provided.