feat(p6-stop): --stop-after/--stop-at deadline transfer stop

This commit is contained in:
2026-09-10 16:27:49 +02:00
parent 6bb63c6f21
commit 24d1448246
10 changed files with 371 additions and 49 deletions
+4
View File
@@ -10,6 +10,7 @@
#include "protocol.h"
#include "queue.h"
#include "receiver.h"
#include "stop_condition.h"
#include <openssl/ssl.h>
typedef struct {
@@ -56,6 +57,9 @@ typedef struct {
bool sender_done;
atomic_bool cancelled;
ProtocolSession allocation_session;
/* Phase 6: client-only sender stop deadline, computed once before the worker
* threads start and shared read-only by the scanner and the sender thread. */
StopCondition stop_condition;
} PipelineContextSender;
typedef struct PipelineContextReceiver {