Skip to content

Wait for http server to close on Drop.#543

Merged
tomusdrw merged 1 commit into
masterfrom
td-http
Feb 20, 2020
Merged

Wait for http server to close on Drop.#543
tomusdrw merged 1 commit into
masterfrom
td-http

Conversation

@tomusdrw
Copy link
Copy Markdown
Contributor

To be honest I'm not 100% sure that this is the right thing to do. Blocking on drop does not sound like a good idea to me, but we do that already for WS server (and it seems desired for instance in substrate), hence opted to implement for HTTP as well.

@tomusdrw tomusdrw requested a review from arkpar February 20, 2020 12:51
@tomusdrw tomusdrw merged commit 4a6c499 into master Feb 20, 2020
@tomusdrw tomusdrw deleted the td-http branch February 20, 2020 13:52
zhangsoledad added a commit to zhangsoledad/ckb that referenced this pull request Apr 2, 2020
Should be reverted once jsonrpc with paritytech/jsonrpc#543 is released
@ascjones ascjones mentioned this pull request Apr 14, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants