Bart Polot [Tue, 20 Oct 2015 02:28:04 +0000 (02:28 +0000)]
When cancelling polls cancel pending messages as well, as the message will
trigger a new poll upon sending. Fix #4010.
Christian Grothoff [Sun, 18 Oct 2015 21:55:21 +0000 (21:55 +0000)]
-indent
Christian Grothoff [Sun, 18 Oct 2015 21:54:11 +0000 (21:54 +0000)]
-fix
Christian Grothoff [Sun, 18 Oct 2015 21:12:52 +0000 (21:12 +0000)]
-fix
Christian Grothoff [Sun, 18 Oct 2015 21:02:16 +0000 (21:02 +0000)]
-remove deprecated try_disconnect API
Christian Grothoff [Sun, 18 Oct 2015 20:58:31 +0000 (20:58 +0000)]
move -C option from gnunet-transport to gnunet-ats; also, use blacklisting API to implement gnunet-transport -D
Christian Grothoff [Sun, 18 Oct 2015 20:57:37 +0000 (20:57 +0000)]
-fix log call
Christian Grothoff [Sun, 18 Oct 2015 20:54:56 +0000 (20:54 +0000)]
-handle NULL for session (i.e. already gone/down)
Christian Grothoff [Sun, 18 Oct 2015 20:51:39 +0000 (20:51 +0000)]
-install entry in DHT
Christian Grothoff [Sun, 18 Oct 2015 20:18:28 +0000 (20:18 +0000)]
transition from TRANSPORT_try_connect to modern ATS connectivity API
Christian Grothoff [Sun, 18 Oct 2015 19:41:06 +0000 (19:41 +0000)]
rename all_known_peers to all_connected_peers
Christian Grothoff [Sun, 18 Oct 2015 19:35:14 +0000 (19:35 +0000)]
-log ACK delay vs. last frag transmit
Christian Grothoff [Sun, 18 Oct 2015 19:21:18 +0000 (19:21 +0000)]
-log expected transmission time on enqueue, together with queue size
Christian Grothoff [Sun, 18 Oct 2015 19:16:42 +0000 (19:16 +0000)]
-smoother calculation of flow delays, base it on the current message not the previous one
Christian Grothoff [Sun, 18 Oct 2015 19:01:51 +0000 (19:01 +0000)]
-we use 4 chars, not 8 for pIDs
Christian Grothoff [Sun, 18 Oct 2015 18:57:48 +0000 (18:57 +0000)]
-use UINT32_MAX to mean disconnect, for real
Christian Grothoff [Sun, 18 Oct 2015 18:57:31 +0000 (18:57 +0000)]
-do not suggest twice
Christian Grothoff [Sun, 18 Oct 2015 18:44:05 +0000 (18:44 +0000)]
-more logging, avoid duplicate re-scheduling
Christian Grothoff [Sun, 18 Oct 2015 18:29:04 +0000 (18:29 +0000)]
-fix reporting of IP address
Christian Grothoff [Sun, 18 Oct 2015 18:19:29 +0000 (18:19 +0000)]
-use LOG instead of GNUNET_log
Christian Grothoff [Sun, 18 Oct 2015 18:16:59 +0000 (18:16 +0000)]
-only schedule select once per fragmented message
Christian Grothoff [Sun, 18 Oct 2015 14:09:00 +0000 (14:09 +0000)]
-fix NPE
Christian Grothoff [Sun, 18 Oct 2015 14:06:40 +0000 (14:06 +0000)]
-cosmetics, and preparations for try_connect change
Christian Grothoff [Sun, 18 Oct 2015 14:04:59 +0000 (14:04 +0000)]
-stop active offer before starting another one
Christian Grothoff [Sun, 18 Oct 2015 13:59:59 +0000 (13:59 +0000)]
use ATS connectivity suggestion instead of deprecated GNUNET_TRANSPORT_try_connect
Christian Grothoff [Sun, 18 Oct 2015 13:53:25 +0000 (13:53 +0000)]
-doxygen
Christian Grothoff [Sun, 18 Oct 2015 13:53:16 +0000 (13:53 +0000)]
-track hello offer handle while it is active
Christian Grothoff [Sun, 18 Oct 2015 13:45:28 +0000 (13:45 +0000)]
-change topology to use ATS connectivity API instead of deprecated transport try_connect
Christian Grothoff [Sun, 18 Oct 2015 12:49:23 +0000 (12:49 +0000)]
add 'strength' argument to address suggestion request for ATS
Christian Grothoff [Sun, 18 Oct 2015 12:33:21 +0000 (12:33 +0000)]
rename 'struct Session' to 'struct GNUNET_ATS_Session' to satisfy naming conventions
Christian Grothoff [Sun, 18 Oct 2015 12:30:40 +0000 (12:30 +0000)]
-note dead field
Christian Grothoff [Sun, 18 Oct 2015 12:27:54 +0000 (12:27 +0000)]
-doxygen
Christian Grothoff [Sun, 18 Oct 2015 12:27:38 +0000 (12:27 +0000)]
-mirror check on disconnect
Christian Grothoff [Sun, 18 Oct 2015 12:21:40 +0000 (12:21 +0000)]
-typo
Christian Grothoff [Sun, 18 Oct 2015 12:21:08 +0000 (12:21 +0000)]
-dead function in header
Christian Grothoff [Sun, 18 Oct 2015 12:20:14 +0000 (12:20 +0000)]
combing through transport ATS logic, documenting and cleaning code
Christian Grothoff [Sat, 17 Oct 2015 20:34:19 +0000 (20:34 +0000)]
log plugin involved in slow transmissions
Christian Grothoff [Sat, 17 Oct 2015 20:28:16 +0000 (20:28 +0000)]
fix misscalculation of per-session flow delays and apply flow delays properly per message instead of per session
Christian Grothoff [Sat, 17 Oct 2015 19:43:02 +0000 (19:43 +0000)]
add logging to watch for transmission delays within transport service
Christian Grothoff [Sat, 17 Oct 2015 19:34:43 +0000 (19:34 +0000)]
-be harsher about transport service sending messages out of line, also at the same time check in transport service to only transmit messages if in the right state
Christian Grothoff [Sat, 17 Oct 2015 19:02:04 +0000 (19:02 +0000)]
-add option to ignore SetQuotaMessage (but still generate them), and if the option is not set, really do use the quotas consistently
Christian Grothoff [Sat, 17 Oct 2015 18:54:24 +0000 (18:54 +0000)]
-do not export set_incoming_quota past file, it is not used beyond the scope
Christian Grothoff [Sat, 17 Oct 2015 17:41:37 +0000 (17:41 +0000)]
-ignores, indent
Christian Grothoff [Sat, 17 Oct 2015 00:19:16 +0000 (00:19 +0000)]
-fix use after free
Christian Grothoff [Sat, 17 Oct 2015 00:09:01 +0000 (00:09 +0000)]
-bump warn threshold
Christian Grothoff [Fri, 16 Oct 2015 22:56:01 +0000 (22:56 +0000)]
-fix doxygen warnings
Christian Grothoff [Fri, 16 Oct 2015 22:52:48 +0000 (22:52 +0000)]
-use INFO, not WARN
Christian Grothoff [Fri, 16 Oct 2015 22:48:39 +0000 (22:48 +0000)]
-update DST hello
Christian Grothoff [Fri, 16 Oct 2015 22:45:39 +0000 (22:45 +0000)]
-ignore 2nd FRIEND hello when patching
Christian Grothoff [Fri, 16 Oct 2015 22:19:35 +0000 (22:19 +0000)]
-fix destroy_ai
David Barksdale [Fri, 16 Oct 2015 17:03:09 +0000 (17:03 +0000)]
Remove unused variable
Christian Grothoff [Wed, 14 Oct 2015 14:55:42 +0000 (14:55 +0000)]
trying to fix #4003
Bart Polot [Tue, 13 Oct 2015 12:52:54 +0000 (12:52 +0000)]
Always force queue local messages when the client was pre-authorized to send. Fix #3999.
Bart Polot [Tue, 13 Oct 2015 12:21:53 +0000 (12:21 +0000)]
- FTBFS
Florian Dold [Sun, 11 Oct 2015 20:20:58 +0000 (20:20 +0000)]
fix consensus logic bug
Florian Dold [Sun, 11 Oct 2015 19:16:15 +0000 (19:16 +0000)]
consensus
Martin Schanzenbach [Sun, 11 Oct 2015 09:27:47 +0000 (09:27 +0000)]
- implicitly enable rest functions in experimental if jansson.h present
Bart Polot [Thu, 8 Oct 2015 18:21:25 +0000 (18:21 +0000)]
- ignore
Bart Polot [Thu, 8 Oct 2015 17:27:15 +0000 (17:27 +0000)]
- FTBFS
Bart Polot [Thu, 8 Oct 2015 17:27:14 +0000 (17:27 +0000)]
- only request reply if no key is known
Christian Grothoff [Thu, 8 Oct 2015 17:19:24 +0000 (17:19 +0000)]
-NULL builder on disconnect
Christian Grothoff [Thu, 8 Oct 2015 17:09:42 +0000 (17:09 +0000)]
redefining core message timeout semantics and core-core-API messaging to address (hypothetical?) stalls which may explain #3863. This kind-of breaks the API in that the timeout now has a different semantic -- it's an advisory as to when the app would like the message transmitted, the transmission will no longer actually time out. However, that was the documented semantics before, just not the actual behavior. Most applications didn't rely on it, and tests still pass, so I didn't break too much...
Christian Grothoff [Thu, 8 Oct 2015 17:01:28 +0000 (17:01 +0000)]
-signed cmp, otherwise -1 will not trigger
Christian Grothoff [Thu, 8 Oct 2015 16:21:58 +0000 (16:21 +0000)]
use constant for overdue warnings
Christian Grothoff [Thu, 8 Oct 2015 16:20:50 +0000 (16:20 +0000)]
-fix indent
Christian Grothoff [Thu, 8 Oct 2015 16:20:42 +0000 (16:20 +0000)]
add constant for the delay after which we log warnings
Christian Grothoff [Thu, 8 Oct 2015 16:13:08 +0000 (16:13 +0000)]
improve doxygen
Christian Grothoff [Thu, 8 Oct 2015 16:12:48 +0000 (16:12 +0000)]
-make time API more intutitive
Christian Grothoff [Thu, 8 Oct 2015 12:18:11 +0000 (12:18 +0000)]
-ignore
Christian Grothoff [Thu, 8 Oct 2015 12:12:25 +0000 (12:12 +0000)]
-fix
Christian Grothoff [Thu, 8 Oct 2015 11:54:50 +0000 (11:54 +0000)]
-make code nicer
Christian Grothoff [Thu, 8 Oct 2015 11:51:39 +0000 (11:51 +0000)]
-fix ptr ar
Christian Grothoff [Thu, 8 Oct 2015 11:44:13 +0000 (11:44 +0000)]
-fix FTBFS
Christian Grothoff [Thu, 8 Oct 2015 11:37:17 +0000 (11:37 +0000)]
-fix npe
Christian Grothoff [Thu, 8 Oct 2015 11:30:19 +0000 (11:30 +0000)]
add logic for strata compression
Christian Grothoff [Thu, 8 Oct 2015 11:28:27 +0000 (11:28 +0000)]
-fix template
Christian Grothoff [Thu, 8 Oct 2015 11:28:07 +0000 (11:28 +0000)]
export compression/decompression functions
Florian Dold [Wed, 7 Oct 2015 22:01:03 +0000 (22:01 +0000)]
statistics in set profiler, temp. fix for salt
Christian Grothoff [Wed, 7 Oct 2015 20:31:35 +0000 (20:31 +0000)]
add capability to log per-service resource consumption via ARM
Florian Dold [Wed, 7 Oct 2015 18:05:23 +0000 (18:05 +0000)]
set statistics
David Barksdale [Wed, 7 Oct 2015 17:02:23 +0000 (17:02 +0000)]
Fix typo in dv
David Barksdale [Wed, 7 Oct 2015 16:36:35 +0000 (16:36 +0000)]
Fix make -j
Christian Grothoff [Wed, 7 Oct 2015 14:15:38 +0000 (14:15 +0000)]
determine network scope for ATS even if we do not yet have a session and only have an address
Christian Grothoff [Wed, 7 Oct 2015 12:55:53 +0000 (12:55 +0000)]
-more meaningful log msg
Christian Grothoff [Wed, 7 Oct 2015 12:55:45 +0000 (12:55 +0000)]
-newline, include error code
Christian Grothoff [Wed, 7 Oct 2015 12:39:54 +0000 (12:39 +0000)]
-no printf
Christian Grothoff [Wed, 7 Oct 2015 11:54:46 +0000 (11:54 +0000)]
add additional diagnostics to help localize #3971 invariant violation
Christian Grothoff [Wed, 7 Oct 2015 11:54:25 +0000 (11:54 +0000)]
-typo
Christian Grothoff [Wed, 7 Oct 2015 11:49:37 +0000 (11:49 +0000)]
-simplify
Christian Grothoff [Wed, 7 Oct 2015 11:48:56 +0000 (11:48 +0000)]
-ensure result is +- 1
Christian Grothoff [Wed, 7 Oct 2015 11:31:37 +0000 (11:31 +0000)]
-fix testcase to handle SUCCESS status reply, only recv UDP after STUN Request is out, etc.
Christian Grothoff [Wed, 7 Oct 2015 10:11:29 +0000 (10:11 +0000)]
enable clean up of NAT STUN state, prevents test_plugin_udp from segfaulting
Christian Grothoff [Wed, 7 Oct 2015 09:51:46 +0000 (09:51 +0000)]
-removing spectacular dead code
Christian Grothoff [Wed, 7 Oct 2015 09:51:33 +0000 (09:51 +0000)]
stylistic fixes
Christian Grothoff [Wed, 7 Oct 2015 09:20:44 +0000 (09:20 +0000)]
-do not leave PPT timeout tasks behind
Christian Grothoff [Wed, 7 Oct 2015 08:51:00 +0000 (08:51 +0000)]
-fix NPE
Christian Grothoff [Wed, 7 Oct 2015 08:25:40 +0000 (08:25 +0000)]
major bugfix: is_ready must only be set to GNUNET_NO if we actually did transmit something to transport, otherwise we cannot expect to get a SEND_OK back
Christian Grothoff [Wed, 7 Oct 2015 08:24:43 +0000 (08:24 +0000)]
-adding more logging to diagnose transport transmission delays
Bart Polot [Tue, 6 Oct 2015 19:13:15 +0000 (19:13 +0000)]
- ignores
Bart Polot [Tue, 6 Oct 2015 19:09:30 +0000 (19:09 +0000)]
- fix multiple gnunet-nat crashes