]> cat aescling's git repositories - mastodon.git/commit
Close http connection in perform method of Request class (#6889)
authorAkihiko Odaki <akihiko.odaki.4i@stu.hosei.ac.jp>
Sat, 24 Mar 2018 11:49:54 +0000 (20:49 +0900)
committerEugen Rochko <eugen@zeonfederated.com>
Sat, 24 Mar 2018 11:49:54 +0000 (12:49 +0100)
commit54b273bf993888cd079113dd588cb7a90228b93b
treed6437a702618c9108ffad35a540a222a053b2c7d
parent4e71b104e6d5f02069120c7a56b26888c6f0fef5
Close http connection in perform method of Request class (#6889)

HTTP connections must be explicitly closed in many cases, and letting
perform method close connections makes its callers less redundant and
prevent them from forgetting to close connections.
15 files changed:
app/helpers/jsonld_helper.rb
app/lib/provider_discovery.rb
app/lib/request.rb
app/models/concerns/remotable.rb
app/services/fetch_atom_service.rb
app/services/fetch_link_card_service.rb
app/services/resolve_account_service.rb
app/services/send_interaction_service.rb
app/services/subscribe_service.rb
app/services/unsubscribe_service.rb
app/workers/activitypub/delivery_worker.rb
app/workers/pubsubhubbub/confirmation_worker.rb
app/workers/pubsubhubbub/delivery_worker.rb
lib/tasks/mastodon.rake
spec/lib/request_spec.rb