Skip to content
This repository has been archived by the owner on Aug 2, 2022. It is now read-only.

Keep http_plugin_impl alive while connection objects are alive - 2.0 #9516

Merged
merged 4 commits into from
Sep 24, 2020

Conversation

vzqzhang
Copy link
Contributor

@vzqzhang vzqzhang commented Sep 22, 2020

Change Description

When the nodeos is killed, the thread_pool and associated io_context of the http_plugin_impl should keep alive for the lifetime of the connection object

Change Type

Select ONE

  • Documentation
  • Stability bug fix
  • Other
  • Other - special case

Consensus Changes

  • Consensus Changes

API Changes

  • API Changes

Documentation Additions

  • Documentation Additions

heifner and others added 3 commits September 21, 2020 10:42
…their destructors need the io_context of the http_plugin_impl thread_pool io_context
@nksanthosh
Copy link
Contributor

@heifner Will you be able to review this PR? Thanks!

@heifner
Copy link
Contributor

heifner commented Sep 23, 2020

@nksanthosh This is all my code. Doesn't make sense for me to review it.

@heifner heifner changed the title Keep http_plugin_impl alive while connection objects are alive Keep http_plugin_impl alive while connection objects are alive - 2.0 Sep 24, 2020
@vzqzhang vzqzhang force-pushed the http-life-develop-rebase-2.0.x branch from f1ceb20 to 811b9d1 Compare September 24, 2020 16:18
@vzqzhang vzqzhang merged commit 9a8a733 into release/2.0.x Sep 24, 2020
@vzqzhang vzqzhang deleted the http-life-develop-rebase-2.0.x branch September 24, 2020 17:27
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants