From 594d78564127ac91f99d603532ba3d2e16edc5c1 Mon Sep 17 00:00:00 2001 From: haskal Date: Mon, 4 Jan 2021 03:01:33 -0500 Subject: [PATCH] implement streaming for cli agent -c --- crossfire/client.rkt | 9 +++++---- crossfire/server.rkt | 2 -- 2 files changed, 5 insertions(+), 6 deletions(-) diff --git a/crossfire/client.rkt b/crossfire/client.rkt index dc3a270..6f83a3d 100644 --- a/crossfire/client.rkt +++ b/crossfire/client.rkt @@ -238,11 +238,11 @@ (~a (string-join (map ~a (sort (node-info-resources info) string integer? file-transfer?) - ;; TODO : streaming interface (enforce-subject 'client) (define-values [agent-node arch] (load-comms-node id #t #t)) (match (node-type agent-node) @@ -371,7 +370,6 @@ (define/contract (get-project-file taskid) (-> integer? file-transfer?) - ;; TODO : streaming interface (match (server-get-file taskid) [#f (error "no such project file")] [port (make-file-transfer port)]))