Skip to content
This repository was 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
vzqzhang merged 4 commits into
release/2.0.xfrom
http-life-develop-rebase-2.0.x
Sep 24, 2020
Merged

vzqzhang merged 4 commits into
release/2.0.xfrom
http-life-develop-rebase-2.0.x

Conversation

@vzqzhang

@vzqzhang vzqzhang commented Sep 22, 2020 •

Copy link
Copy Markdown
Contributor

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
Copy Markdown
Contributor

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

@heifner

heifner commented Sep 23, 2020

Copy link
Copy Markdown
Contributor

@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