From e2b39dd3a0742853e00f9c3e8c46c911da20bed7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adrien=20B=C3=A9raud?= Date: Tue, 30 Jun 2020 10:42:49 -0400 Subject: [PATCH 1/4] http/request: make terminate public --- include/opendht/http.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/include/opendht/http.h b/include/opendht/http.h index cc8d5f9..46b722c 100644 --- a/include/opendht/http.h +++ b/include/opendht/http.h @@ -294,6 +294,7 @@ public: * User action to cancel the Request and call the completion callbacks. */ void cancel(); + void terminate(const asio::error_code& ec); private: using OnCompleteCb = std::function; @@ -320,8 +321,6 @@ private: void connect(std::vector&& endpoints, HandlerCb cb = {}); - void terminate(const asio::error_code& ec); - void post(); void handle_request(const asio::error_code& ec); -- 2.27.0 d class='sub'>Wojtek's customized Guix
aboutsummaryrefslogtreecommitdiff
AgeCommit message (Expand)Author
2022-12-16system: examples: Add mode prop line....* gnu/system/examples/asus-c201.tmpl: Add a mode prop line. * gnu/system/examples/bare-bones.tmpl: Likewise. * gnu/system/examples/beaglebone-black.tmpl: Likewise. * gnu/system/examples/desktop.tmpl: Likewise. * gnu/system/examples/docker-image.tmpl: Likewise. * gnu/system/examples/lightweight-desktop.tmpl: Likewise. * gnu/system/examples/raspberry-pi-64-nfs-root.tmpl: Likewise. * gnu/system/examples/raspberry-pi-64.tmpl: Likewise. * gnu/system/examples/vm-image.tmpl: Likewise. Maxim Cournoyer
2022-12-04gnu: Do not use 'local-file' in Raspberry Pi OS examples....As this breaks the 'tests/guix-system.sh' test. * gnu/system/examples/raspberry-pi-64-nfs-root.tmpl (%my-public-key): Delete variable. (raspberry-pi-64-nfs-root) [services]: Remove key from openssh-configuration. * gnu/system/examples/raspberry-pi-64.tmpl: Likewise. Reported-by: Vagrant Cascadian <vagrant@debian.org> Maxim Cournoyer
2022-12-01gnu: raspberry-pi: Add a bootloader-chain for the Raspberry Pi and os examples....* gnu/packages/raspberry-pi.scm (grub-efi-bootloader-chain-raspi-64): New bootloader variable, capable to boot a Raspberry Pi over network or from a local storage. * gnu/system/examples/raspberry-pi-64.tmpl: New operating-system example. * gnu/system/examples/raspberry-pi-64-nfs-root.tmpl: New operating-system example for booting over network. * Makefile.am (EXAMPLES): Register the new files. Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com> Stefan