Christian Grothoff [Wed, 11 Feb 2015 19:24:38 +0000 (19:24 +0000)]
-allow UINT64_MAX without crashing
Christian Grothoff [Wed, 11 Feb 2015 19:23:57 +0000 (19:23 +0000)]
-allow UINT64_MAX without crashing
Christian Grothoff [Wed, 11 Feb 2015 18:44:19 +0000 (18:44 +0000)]
finish implementing reservation test, and fix bandwidth reservation logic
Christian Grothoff [Wed, 11 Feb 2015 18:29:54 +0000 (18:29 +0000)]
-remove unused exported symbol
Christian Grothoff [Wed, 11 Feb 2015 17:10:31 +0000 (17:10 +0000)]
add proper test for bandwidth reservation
Christian Grothoff [Wed, 11 Feb 2015 17:00:40 +0000 (17:00 +0000)]
add command to test reservations
Christian Grothoff [Wed, 11 Feb 2015 16:45:35 +0000 (16:45 +0000)]
-testcase was long dead
Christian Grothoff [Wed, 11 Feb 2015 16:45:01 +0000 (16:45 +0000)]
-testcase was long dead
Christian Grothoff [Wed, 11 Feb 2015 16:43:25 +0000 (16:43 +0000)]
-testcase was long dead
Christian Grothoff [Wed, 11 Feb 2015 16:43:13 +0000 (16:43 +0000)]
-fix badness
Christian Grothoff [Wed, 11 Feb 2015 16:19:56 +0000 (16:19 +0000)]
-ignore
Christian Grothoff [Wed, 11 Feb 2015 16:19:16 +0000 (16:19 +0000)]
-also obsolete
Christian Grothoff [Wed, 11 Feb 2015 16:17:20 +0000 (16:17 +0000)]
new testsuite, obsoleting (most of) the old one
Christian Grothoff [Wed, 11 Feb 2015 16:16:14 +0000 (16:16 +0000)]
-check for in_destroy when looking up session IDs
Christian Grothoff [Wed, 11 Feb 2015 13:46:18 +0000 (13:46 +0000)]
-dead flags
Christian Grothoff [Wed, 11 Feb 2015 13:46:02 +0000 (13:46 +0000)]
eliminate dead call from API
Christian Grothoff [Wed, 11 Feb 2015 13:42:22 +0000 (13:42 +0000)]
do not call receive before sending first message
Christian Grothoff [Wed, 11 Feb 2015 13:33:42 +0000 (13:33 +0000)]
pass correct closure
Christian Grothoff [Wed, 11 Feb 2015 13:33:04 +0000 (13:33 +0000)]
-fix NPE
Christian Grothoff [Wed, 11 Feb 2015 10:47:32 +0000 (10:47 +0000)]
-fix crash
Christian Grothoff [Tue, 10 Feb 2015 23:24:01 +0000 (23:24 +0000)]
fixing #3657 (replace ATS_Information with struct), but WIHTOUT fixing ATS testcases yet
Christian Grothoff [Tue, 10 Feb 2015 17:46:12 +0000 (17:46 +0000)]
-check RV
Christian Grothoff [Tue, 10 Feb 2015 16:51:17 +0000 (16:51 +0000)]
-fix typo
Christian Grothoff [Tue, 10 Feb 2015 16:45:26 +0000 (16:45 +0000)]
-fixing some memory leaks from #3667, also reindentation and code cleanup
Christian Grothoff [Tue, 10 Feb 2015 11:37:11 +0000 (11:37 +0000)]
-fix #3665: hello can theoretically still be NULL
Christian Grothoff [Tue, 10 Feb 2015 11:34:49 +0000 (11:34 +0000)]
fix #3664: during PS_RECONNECT_ATS, primary address may be NULL, causing an NPE if we continue here
Christian Grothoff [Tue, 10 Feb 2015 11:04:54 +0000 (11:04 +0000)]
-do not reschedule validation if in_use did not change
Christian Grothoff [Tue, 10 Feb 2015 11:03:15 +0000 (11:03 +0000)]
-just eliminate useless check, can just be false
Christian Grothoff [Tue, 10 Feb 2015 00:00:56 +0000 (00:00 +0000)]
-fix
Christian Grothoff [Mon, 9 Feb 2015 21:19:46 +0000 (21:19 +0000)]
-improve UDP logging
Christian Grothoff [Mon, 9 Feb 2015 20:56:56 +0000 (20:56 +0000)]
-eliminate dead argument, do use quota immediately
Christian Grothoff [Mon, 9 Feb 2015 16:13:43 +0000 (16:13 +0000)]
-reorder tests to have slow ones go last
Christian Grothoff [Mon, 9 Feb 2015 16:06:10 +0000 (16:06 +0000)]
-report if testcase failure is because switching is not enforced, then do not fail hard
Christian Grothoff [Mon, 9 Feb 2015 15:56:11 +0000 (15:56 +0000)]
-do not continue in case of transmission error
Christian Grothoff [Mon, 9 Feb 2015 15:30:55 +0000 (15:30 +0000)]
-minor indentation/logging fixes
Christian Grothoff [Mon, 9 Feb 2015 15:30:22 +0000 (15:30 +0000)]
do proper check for stability, in particular UINT32_MAX-0 is not a delta of 1...
Christian Grothoff [Mon, 9 Feb 2015 15:12:40 +0000 (15:12 +0000)]
perform proper locking and unlocking
Christian Grothoff [Mon, 9 Feb 2015 14:28:45 +0000 (14:28 +0000)]
-do only send HELLO to clients once on startup, do only send fully initialized HELLO to clients if we can help it, even the first one; do not perform blacklist check twice for try_connect
Christian Grothoff [Mon, 9 Feb 2015 14:27:59 +0000 (14:27 +0000)]
-tolerateNAT instant reporting
Christian Grothoff [Mon, 9 Feb 2015 14:27:47 +0000 (14:27 +0000)]
-instantly report addresses during NAT initialization if possible
Christian Grothoff [Mon, 9 Feb 2015 14:27:29 +0000 (14:27 +0000)]
-better debug output, indentation
Christian Grothoff [Mon, 9 Feb 2015 12:17:18 +0000 (12:17 +0000)]
-use backoff for reconnects
Christian Grothoff [Mon, 9 Feb 2015 11:59:59 +0000 (11:59 +0000)]
-that the tests do not catch bugs like this is a real issue...
Christian Grothoff [Sun, 8 Feb 2015 23:22:18 +0000 (23:22 +0000)]
-fix shutdown
Christian Grothoff [Sun, 8 Feb 2015 23:17:43 +0000 (23:17 +0000)]
-fix shutdown order
Christian Grothoff [Sun, 8 Feb 2015 22:58:14 +0000 (22:58 +0000)]
-fin, mention future work in TODO
Christian Grothoff [Sun, 8 Feb 2015 22:46:45 +0000 (22:46 +0000)]
-updating comments
Christian Grothoff [Sun, 8 Feb 2015 22:38:43 +0000 (22:38 +0000)]
-cleaning up bandwidth allocation routine
Christian Grothoff [Sun, 8 Feb 2015 22:24:50 +0000 (22:24 +0000)]
-when selecting addresses, kick out peers with insufficient support if we are at the limit
Christian Grothoff [Sun, 8 Feb 2015 22:18:16 +0000 (22:18 +0000)]
-further simplify
Christian Grothoff [Sun, 8 Feb 2015 21:48:01 +0000 (21:48 +0000)]
-further simplify
Christian Grothoff [Sun, 8 Feb 2015 21:06:29 +0000 (21:06 +0000)]
-further simplify
Christian Grothoff [Sun, 8 Feb 2015 20:55:25 +0000 (20:55 +0000)]
-getting there...
Christian Grothoff [Sun, 8 Feb 2015 19:59:05 +0000 (19:59 +0000)]
-simplify flow, redistribute bandwidth after adding address
Christian Grothoff [Sun, 8 Feb 2015 19:56:19 +0000 (19:56 +0000)]
do not force disconnect just because client does not request address anymore
Christian Grothoff [Sun, 8 Feb 2015 19:53:36 +0000 (19:53 +0000)]
-simplify flow
Christian Grothoff [Sun, 8 Feb 2015 19:43:46 +0000 (19:43 +0000)]
-simplify flow
Christian Grothoff [Sun, 8 Feb 2015 19:43:00 +0000 (19:43 +0000)]
-simplify logic
Christian Grothoff [Sun, 8 Feb 2015 19:38:35 +0000 (19:38 +0000)]
-useless assertion removal
Christian Grothoff [Sun, 8 Feb 2015 18:36:52 +0000 (18:36 +0000)]
-indent
Christian Grothoff [Sun, 8 Feb 2015 18:13:10 +0000 (18:13 +0000)]
changing s_get API to return void instead of address, have plugin use existing mechanism to signal address activation
Christian Grothoff [Sun, 8 Feb 2015 17:40:57 +0000 (17:40 +0000)]
-simplify logic, convert breaks into asserts
Christian Grothoff [Sun, 8 Feb 2015 17:34:33 +0000 (17:34 +0000)]
-restructuring, adding comments
Christian Grothoff [Sun, 8 Feb 2015 17:11:19 +0000 (17:11 +0000)]
-remove fprintf
Christian Grothoff [Sun, 8 Feb 2015 17:02:40 +0000 (17:02 +0000)]
eliminate super-lazy functions
Christian Grothoff [Sun, 8 Feb 2015 16:43:41 +0000 (16:43 +0000)]
clean up find_quality_property_index and get_active_address_it
Christian Grothoff [Sun, 8 Feb 2015 16:39:33 +0000 (16:39 +0000)]
cleaning up get_active_address
Christian Grothoff [Sun, 8 Feb 2015 16:36:30 +0000 (16:36 +0000)]
cleaning up address_decrement
Christian Grothoff [Sun, 8 Feb 2015 16:26:48 +0000 (16:26 +0000)]
check for nan
Christian Grothoff [Sun, 8 Feb 2015 16:24:51 +0000 (16:24 +0000)]
removing dead argument
Christian Grothoff [Sun, 8 Feb 2015 16:24:42 +0000 (16:24 +0000)]
avoid several linear scans and allocations by combining AddressWrapper and asi structs
Christian Grothoff [Sun, 8 Feb 2015 15:50:13 +0000 (15:50 +0000)]
use new 'get_connectivity' API which is also RC-counting, instead of another map
Christian Grothoff [Sun, 8 Feb 2015 15:34:37 +0000 (15:34 +0000)]
expose connectivity desire of clients to ATS plugins
Christian Grothoff [Sun, 8 Feb 2015 15:24:10 +0000 (15:24 +0000)]
adding FIXME about 'struct Session'
Christian Grothoff [Sun, 8 Feb 2015 15:22:16 +0000 (15:22 +0000)]
-clarify API
Christian Grothoff [Sun, 8 Feb 2015 15:20:15 +0000 (15:20 +0000)]
cleaning up preference_peers as well once they are no longer needed
Christian Grothoff [Sun, 8 Feb 2015 15:12:23 +0000 (15:12 +0000)]
cleaning up gnunet-service-ats_preferences.c
Christian Grothoff [Sun, 8 Feb 2015 15:12:14 +0000 (15:12 +0000)]
cleaning up gnunet-service-ats_preferences.c
Christian Grothoff [Sun, 8 Feb 2015 13:41:07 +0000 (13:41 +0000)]
-adding comments, minor cleanup start
Christian Grothoff [Sun, 8 Feb 2015 13:30:30 +0000 (13:30 +0000)]
-fix config, shutdown issue
Christian Grothoff [Sun, 8 Feb 2015 13:19:14 +0000 (13:19 +0000)]
-rename for naming consistency
Christian Grothoff [Sun, 8 Feb 2015 13:05:58 +0000 (13:05 +0000)]
fix testcase FTBFS
Christian Grothoff [Sun, 8 Feb 2015 13:04:27 +0000 (13:04 +0000)]
simplify normalization logic, also have clients access norm array of address directly
Christian Grothoff [Sun, 8 Feb 2015 11:46:36 +0000 (11:46 +0000)]
more dead and duplicate code elimination
Christian Grothoff [Sun, 8 Feb 2015 11:45:04 +0000 (11:45 +0000)]
-updating gettext m4 macros
Christian Grothoff [Sat, 7 Feb 2015 23:20:06 +0000 (23:20 +0000)]
-bringing copyright tags up to FSF standard
Christian Grothoff [Sat, 7 Feb 2015 23:11:14 +0000 (23:11 +0000)]
-bringing copyright tags up to FSF standard
Christian Grothoff [Sat, 7 Feb 2015 18:35:13 +0000 (18:35 +0000)]
DCE
Christian Grothoff [Sat, 7 Feb 2015 18:28:48 +0000 (18:28 +0000)]
deduplicate code for quota parsing
Christian Grothoff [Sat, 7 Feb 2015 18:27:41 +0000 (18:27 +0000)]
deduplicate code for quota parsing
Julius Bünger [Sat, 7 Feb 2015 16:19:37 +0000 (16:19 +0000)]
- change in POTFILES.in
Julius Bünger [Sat, 7 Feb 2015 16:19:34 +0000 (16:19 +0000)]
distinct samplers for client and Brahms protocol
Christian Grothoff [Sat, 7 Feb 2015 13:01:42 +0000 (13:01 +0000)]
minor cleanup
Christian Grothoff [Sat, 7 Feb 2015 12:52:52 +0000 (12:52 +0000)]
simplify logic: just use string directly for the plugin name
Christian Grothoff [Sat, 7 Feb 2015 12:49:58 +0000 (12:49 +0000)]
use lower-case
Christian Grothoff [Sat, 7 Feb 2015 12:46:37 +0000 (12:46 +0000)]
simplify logic
Christian Grothoff [Sat, 7 Feb 2015 12:33:51 +0000 (12:33 +0000)]
simplify logic
Christian Grothoff [Fri, 6 Feb 2015 14:26:35 +0000 (14:26 +0000)]
-sane timeout
Christian Grothoff [Fri, 6 Feb 2015 14:25:50 +0000 (14:25 +0000)]
test ATS tests to pass again
Christian Grothoff [Fri, 6 Feb 2015 12:42:48 +0000 (12:42 +0000)]
-fix ril delete address handling