diff options
author | Martin Schanzenbach <mschanzenbach@posteo.de> | 2020-06-01 16:39:35 +0200 |
---|---|---|
committer | Martin Schanzenbach <mschanzenbach@posteo.de> | 2020-06-01 16:39:35 +0200 |
commit | 198c09654354d09a9b33f27cf095e0295f70826c (patch) | |
tree | 07aa088c8e9664dc76915cc6b664654da59359f4 /src/transport/gnunet-communicator-tcp.c | |
parent | a325c3eaa8450d325fe57959eac29da5496cfd6d (diff) | |
download | gnunet-198c09654354d09a9b33f27cf095e0295f70826c.tar.gz gnunet-198c09654354d09a9b33f27cf095e0295f70826c.zip |
tng: more UDP communicator backchannels
Added a new message for queue updates to indicate queue length.
Queues now may also have a priority parameter.
Diffstat (limited to 'src/transport/gnunet-communicator-tcp.c')
-rw-r--r-- | src/transport/gnunet-communicator-tcp.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/transport/gnunet-communicator-tcp.c b/src/transport/gnunet-communicator-tcp.c index bbfacbffd..7f70c55df 100644 --- a/src/transport/gnunet-communicator-tcp.c +++ b/src/transport/gnunet-communicator-tcp.c | |||
@@ -1547,6 +1547,8 @@ boot_queue (struct Queue *queue, enum GNUNET_TRANSPORT_ConnectionStatus cs) | |||
1547 | &queue->target, | 1547 | &queue->target, |
1548 | foreign_addr, | 1548 | foreign_addr, |
1549 | 0 /* no MTU */, | 1549 | 0 /* no MTU */, |
1550 | GNUNET_TRANSPORT_QUEUE_LENGTH_UNLIMITED, | ||
1551 | 0, /* Priority */ | ||
1550 | queue->nt, | 1552 | queue->nt, |
1551 | cs, | 1553 | cs, |
1552 | queue->mq); | 1554 | queue->mq); |