@@ -101,7 +101,7 @@ struct curlFileTransfer : public FileTransfer
101101 , act(*logger,
102102 lvlTalkative,
103103 actFileTransfer,
104- fmt (" %sing '%s'" , request.verb(), request.uri),
104+ fmt (" %s '%s'" , request.verb(/* continuous= */ true ), request.uri),
105105 {request.uri .to_string ()},
106106 request.parentAct)
107107 , callback(std::move(callback))
@@ -166,7 +166,7 @@ struct curlFileTransfer : public FileTransfer
166166 std::rethrow_exception (ex);
167167 } catch (nix::Error & e) {
168168 /* Add more context to the error message. */
169- e.addTrace ({}, " during %s of '%s'" , Uncolored (request.verb ()), request.uri .to_string ());
169+ e.addTrace ({}, " during %s of '%s'" , Uncolored (request.noun ()), request.uri .to_string ());
170170 } catch (...) {
171171 /* Can't add more context to the error. */
172172 }
@@ -510,7 +510,7 @@ struct curlFileTransfer : public FileTransfer
510510
511511 debug (
512512 " finished %s of '%s'; curl status = %d, HTTP status = %d, body = %d bytes, duration = %.2f s" ,
513- request.verb (),
513+ request.noun (),
514514 request.uri ,
515515 code,
516516 httpStatus,
@@ -610,7 +610,7 @@ struct curlFileTransfer : public FileTransfer
610610 Interrupted,
611611 std::move (response),
612612 " %s of '%s' was interrupted" ,
613- request.verb (),
613+ request.noun (),
614614 request.uri )
615615 : httpStatus != 0
616616 ? FileTransferError (
@@ -845,7 +845,7 @@ struct curlFileTransfer : public FileTransfer
845845 }
846846
847847 for (auto & item : incoming) {
848- debug (" starting %s of %s" , item->request .verb (), item->request .uri );
848+ debug (" starting %s of %s" , item->request .noun (), item->request .uri );
849849 item->init ();
850850 curl_multi_add_handle (curlm, item->req );
851851 item->active = true ;
0 commit comments