diff options
author | Bart Polot <bart@net.in.tum.de> | 2013-03-01 12:47:25 +0000 |
---|---|---|
committer | Bart Polot <bart@net.in.tum.de> | 2013-03-01 12:47:25 +0000 |
commit | 77f6f80ba425fec14e4e607a52fde9b4abbd7ea3 (patch) | |
tree | 772e280994a27f6755a3e1b2191e1df2bb09b69b /src | |
parent | d475a741d7b99e30384ba2657187477366209cc5 (diff) | |
download | gnunet-77f6f80ba425fec14e4e607a52fde9b4abbd7ea3.tar.gz gnunet-77f6f80ba425fec14e4e607a52fde9b4abbd7ea3.zip |
Remove CORE corking from DHT traffic
Diffstat (limited to 'src')
-rw-r--r-- | src/dht/gnunet-service-dht_neighbours.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/dht/gnunet-service-dht_neighbours.c b/src/dht/gnunet-service-dht_neighbours.c index 246495999..79f3e64a3 100644 --- a/src/dht/gnunet-service-dht_neighbours.c +++ b/src/dht/gnunet-service-dht_neighbours.c | |||
@@ -774,7 +774,7 @@ core_transmit_notify (void *cls, size_t size, void *buf) | |||
774 | if (buf == NULL) | 774 | if (buf == NULL) |
775 | { | 775 | { |
776 | peer->th = | 776 | peer->th = |
777 | GNUNET_CORE_notify_transmit_ready (coreAPI, GNUNET_YES, | 777 | GNUNET_CORE_notify_transmit_ready (coreAPI, GNUNET_NO, |
778 | pending->importance, | 778 | pending->importance, |
779 | GNUNET_TIME_absolute_get_remaining | 779 | GNUNET_TIME_absolute_get_remaining |
780 | (pending->timeout), &peer->id, | 780 | (pending->timeout), &peer->id, |
@@ -800,7 +800,7 @@ core_transmit_notify (void *cls, size_t size, void *buf) | |||
800 | if (peer->head != NULL) | 800 | if (peer->head != NULL) |
801 | { | 801 | { |
802 | peer->th = | 802 | peer->th = |
803 | GNUNET_CORE_notify_transmit_ready (coreAPI, GNUNET_YES, | 803 | GNUNET_CORE_notify_transmit_ready (coreAPI, GNUNET_NO, |
804 | pending->importance, | 804 | pending->importance, |
805 | GNUNET_TIME_absolute_get_remaining | 805 | GNUNET_TIME_absolute_get_remaining |
806 | (pending->timeout), &peer->id, msize, | 806 | (pending->timeout), &peer->id, msize, |
@@ -830,7 +830,7 @@ process_peer_queue (struct PeerInfo *peer) | |||
830 | ("# Bytes of bandwidth requested from core"), | 830 | ("# Bytes of bandwidth requested from core"), |
831 | ntohs (pending->msg->size), GNUNET_NO); | 831 | ntohs (pending->msg->size), GNUNET_NO); |
832 | peer->th = | 832 | peer->th = |
833 | GNUNET_CORE_notify_transmit_ready (coreAPI, GNUNET_YES, | 833 | GNUNET_CORE_notify_transmit_ready (coreAPI, GNUNET_NO, |
834 | pending->importance, | 834 | pending->importance, |
835 | GNUNET_TIME_absolute_get_remaining | 835 | GNUNET_TIME_absolute_get_remaining |
836 | (pending->timeout), &peer->id, | 836 | (pending->timeout), &peer->id, |