1
0
Fork 0
mirror of https://github.com/mastodon/mastodon.git synced 2024-08-20 21:08:15 -07:00
mastodon/spec/models/concerns
Akihiko Odaki 40e5d2303b Validate HTTP response length while receiving (#6891)
to_s method of HTTP::Response keeps blocking while it receives the whole
content, no matter how it is big. This means it may waste time to receive
unacceptably large files. It may also consume memory and disk in the
process. This solves the inefficency by checking response length while
receiving.
2018-03-26 14:02:10 +02:00
..
account_finder_concern_spec.rb Handle nil and blank cases in Account finders (#3500) 2017-06-01 08:20:36 -04:00
account_interactions_spec.rb Allow hiding of reblogs from followed users (#5762) 2017-11-28 15:00:35 +01:00
remotable_spec.rb Validate HTTP response length while receiving (#6891) 2018-03-26 14:02:10 +02:00
status_threading_concern_spec.rb Introduce StatusThreadingConcern (#3490) 2017-06-05 16:07:44 +02:00
streamable_spec.rb Add tests for Streamable (#5771) 2017-11-24 14:42:57 +01:00