mirror of
https://github.com/discourse/discourse.git
synced 2024-11-25 02:11:08 -06:00
2492fe7715
This commit patches `Net::HTTP` to reduce the default timeouts of 60 seconds when we are processing a request. There are certain routes in Discourse which makes external requests and if the proper timeouts are not set, we risk having the Unicorn master process force restarting the Unicorn workers once the `30` seconds timeout is reached. This can potentially become a vector for DoS attacks and this commit is aimed at reducing the risk here. |
||
---|---|---|
.. | ||
coding_style_spec.rb | ||
common_mark_spec.rb | ||
i18n_spec.rb | ||
js_constants_spec.rb | ||
middleware_order_spec.rb | ||
oj_spec.rb | ||
onceoff_integrity_spec.rb | ||
site_setting_spec.rb |