Bart Polot [Sat, 10 Jan 2015 01:26:04 +0000 (01:26 +0000)]
Fixed inverting of same-priority bundled messages
This change causes the while loop to skip all messages of the same priority, effectively inserting the new message as the last of the same priority. As the messages are extraced from the head, inserting the message in the first available place caused order inversion.
Bart Polot [Sat, 10 Jan 2015 00:40:46 +0000 (00:40 +0000)]
- include message size in log
Bart Polot [Sat, 10 Jan 2015 00:40:13 +0000 (00:40 +0000)]
- remove debug statements
Bart Polot [Fri, 9 Jan 2015 18:04:41 +0000 (18:04 +0000)]
- allow more time to 5 peer testcase, change stats loglevel
Bart Polot [Fri, 9 Jan 2015 18:04:40 +0000 (18:04 +0000)]
Accept Out-of-Order connection messages
Bart Polot [Fri, 9 Jan 2015 18:04:39 +0000 (18:04 +0000)]
- minor log modifications, docs
Bart Polot [Fri, 9 Jan 2015 18:04:37 +0000 (18:04 +0000)]
- refactor test, always gather stats
Bart Polot [Fri, 9 Jan 2015 18:04:36 +0000 (18:04 +0000)]
- add statistics to DHT module
Bart Polot [Fri, 9 Jan 2015 18:04:35 +0000 (18:04 +0000)]
- test connection_create size, add size to log
Bart Polot [Fri, 9 Jan 2015 18:04:33 +0000 (18:04 +0000)]
- fix test: provide real message size
Bart Polot [Fri, 9 Jan 2015 18:04:32 +0000 (18:04 +0000)]
- minor changes: tabs, logs, reorder
Bart Polot [Fri, 9 Jan 2015 18:04:31 +0000 (18:04 +0000)]
- simpify api size handling code
Bart Polot [Fri, 9 Jan 2015 18:04:30 +0000 (18:04 +0000)]
- more message size checks
Bart Polot [Fri, 9 Jan 2015 18:04:29 +0000 (18:04 +0000)]
- more size checks
Bart Polot [Fri, 9 Jan 2015 18:04:27 +0000 (18:04 +0000)]
- add size argument to allow to verify message size
Bart Polot [Fri, 9 Jan 2015 18:04:26 +0000 (18:04 +0000)]
- fix size handling of payload data
Bart Polot [Fri, 9 Jan 2015 18:04:25 +0000 (18:04 +0000)]
- check minimum size, param order
Bart Polot [Fri, 9 Jan 2015 18:04:23 +0000 (18:04 +0000)]
Added keyfile with peers named AAAA, BBBB, ..., ZZZZ (to improve testcase/profiler legibility)
Bart Polot [Fri, 9 Jan 2015 18:04:22 +0000 (18:04 +0000)]
- add space for second kx
Christian Grothoff [Fri, 9 Jan 2015 17:18:14 +0000 (17:18 +0000)]
moving hash_context testcase over as well
Christian Grothoff [Fri, 9 Jan 2015 16:27:28 +0000 (16:27 +0000)]
adding API for incremental hashing (from Taler)
Christian Grothoff [Fri, 9 Jan 2015 15:51:57 +0000 (15:51 +0000)]
adding support for blind signatures (modernized version of Taler logic, with variable key length)
Julius Bünger [Fri, 9 Jan 2015 11:13:56 +0000 (11:13 +0000)]
moved computation of request rate out of sampler
Christian Grothoff [Fri, 9 Jan 2015 07:23:18 +0000 (07:23 +0000)]
-update docu to reflect current use of GNUNET_PREFIX
Christian Grothoff [Thu, 8 Jan 2015 17:46:17 +0000 (17:46 +0000)]
-fix compile error
Matthias Wachs [Thu, 8 Jan 2015 14:12:56 +0000 (14:12 +0000)]
fixed and improved test for address switching
Matthias Wachs [Thu, 8 Jan 2015 12:38:06 +0000 (12:38 +0000)]
fixing testcase: task not correctly unset, passes for me now
Christian Grothoff [Thu, 8 Jan 2015 12:20:05 +0000 (12:20 +0000)]
-ignore
Christian Grothoff [Thu, 8 Jan 2015 12:19:02 +0000 (12:19 +0000)]
-undo, breaks stuff
Matthias Wachs [Thu, 8 Jan 2015 11:34:59 +0000 (11:34 +0000)]
fix for mantis bug #3606: fixed path suffix appended to GNUNET_PREFIX
Julius Bünger [Thu, 8 Jan 2015 00:32:29 +0000 (00:32 +0000)]
small fix in random scheduling
Julius Bünger [Thu, 8 Jan 2015 00:31:15 +0000 (00:31 +0000)]
randomised scheduling of next round, cosmetic changes
Julius Bünger [Wed, 7 Jan 2015 22:56:37 +0000 (22:56 +0000)]
check if id is already in current push/pull_list
Julius Bünger [Wed, 7 Jan 2015 22:12:26 +0000 (22:12 +0000)]
checking msg sizes, cosmetic changes
Julius Bünger [Wed, 7 Jan 2015 19:49:40 +0000 (19:49 +0000)]
fixed index of for-loop
Julius Bünger [Wed, 7 Jan 2015 17:27:15 +0000 (17:27 +0000)]
got rid of touch_*()
Julius Bünger [Wed, 7 Jan 2015 17:18:02 +0000 (17:18 +0000)]
different fixes and cosmetic changes
Julius Bünger [Wed, 7 Jan 2015 16:03:54 +0000 (16:03 +0000)]
removed unwanted string from log msgs
Julius Bünger [Wed, 7 Jan 2015 16:03:50 +0000 (16:03 +0000)]
fixed compiler warning
Christian Grothoff [Wed, 7 Jan 2015 14:22:43 +0000 (14:22 +0000)]
-do not wait for timeout on hard error
Julius Bünger [Wed, 7 Jan 2015 14:06:10 +0000 (14:06 +0000)]
changed logging + cosmetic changes
Christian Grothoff [Wed, 7 Jan 2015 14:05:06 +0000 (14:05 +0000)]
-simplify apis, doxygen
Christian Grothoff [Wed, 7 Jan 2015 14:04:57 +0000 (14:04 +0000)]
suspend server while handlers are not in place
Julius Bünger [Wed, 7 Jan 2015 14:00:15 +0000 (14:00 +0000)]
now sending push,pull to at least one peer/round
Julius Bünger [Wed, 7 Jan 2015 14:00:13 +0000 (14:00 +0000)]
moved part of _resize() from _sampler.c to -rps.c
Christian Grothoff [Wed, 7 Jan 2015 12:39:55 +0000 (12:39 +0000)]
-check once, and consistently
Julius Bünger [Tue, 6 Jan 2015 23:50:59 +0000 (23:50 +0000)]
changes to rps.h
Julius Bünger [Tue, 6 Jan 2015 23:49:57 +0000 (23:49 +0000)]
- modified Makefile accordingly
Julius Bünger [Tue, 6 Jan 2015 23:48:24 +0000 (23:48 +0000)]
moved sampler functionality in file of its own
David Barksdale [Tue, 6 Jan 2015 14:35:19 +0000 (14:35 +0000)]
Comment on ugly API design choice
David Barksdale [Tue, 6 Jan 2015 01:11:45 +0000 (01:11 +0000)]
Workaround emscripten bug in returning int64_t
Emscripten can't return a 64-bit integer from dynamically loaded code.
Christian Grothoff [Mon, 5 Jan 2015 14:57:33 +0000 (14:57 +0000)]
-docu, style fixes
Christian Grothoff [Mon, 5 Jan 2015 14:27:52 +0000 (14:27 +0000)]
-stylistic fixes, also, only block re-validation for 2s IF we actually did send a PING, not if we didn't find the plugin
David Barksdale [Mon, 5 Jan 2015 04:35:56 +0000 (04:35 +0000)]
Check return value of GNUNET_STATISTICS_get
Or we could always call the callback with GNUNET_SYSERR.
Julius Bünger [Fri, 2 Jan 2015 15:54:41 +0000 (15:54 +0000)]
removed unneeded api call
Julius Bünger [Fri, 2 Jan 2015 15:54:37 +0000 (15:54 +0000)]
fixed config
David Barksdale [Thu, 1 Jan 2015 19:22:03 +0000 (19:22 +0000)]
Add a test to reproduce issue #3554
Bart Polot [Mon, 29 Dec 2014 13:13:44 +0000 (13:13 +0000)]
- avoid noise in the testcase logs
Bart Polot [Mon, 29 Dec 2014 13:13:18 +0000 (13:13 +0000)]
- test message packing
Julius Bünger [Sat, 27 Dec 2014 12:32:09 +0000 (12:32 +0000)]
fixed struct
Julius Bünger [Sat, 27 Dec 2014 12:32:07 +0000 (12:32 +0000)]
added log message
Julius Bünger [Sat, 27 Dec 2014 12:32:05 +0000 (12:32 +0000)]
make the test run without internet connection
Julius Bünger [Sat, 27 Dec 2014 12:32:03 +0000 (12:32 +0000)]
fixed doxygen
Julius Bünger [Sat, 27 Dec 2014 12:32:01 +0000 (12:32 +0000)]
added message type for seeding
Julius Bünger [Sat, 27 Dec 2014 12:31:59 +0000 (12:31 +0000)]
added seeding function to the api
Julius Bünger [Sat, 27 Dec 2014 12:31:57 +0000 (12:31 +0000)]
initialising gossip_list correctly
Julius Bünger [Sat, 27 Dec 2014 12:31:55 +0000 (12:31 +0000)]
using get_peer_context()
Julius Bünger [Sat, 27 Dec 2014 12:31:53 +0000 (12:31 +0000)]
fixed place of resizing gossip_list
Julius Bünger [Sat, 27 Dec 2014 12:31:51 +0000 (12:31 +0000)]
reading alpha, beta from .conf
Julius Bünger [Fri, 26 Dec 2014 00:02:05 +0000 (00:02 +0000)]
fixed usage of get_rand_peer()
Julius Bünger [Fri, 26 Dec 2014 00:02:02 +0000 (00:02 +0000)]
removed unnecessary uncommented code
Julius Bünger [Fri, 26 Dec 2014 00:02:00 +0000 (00:02 +0000)]
_malloc() -> _new()
Julius Bünger [Fri, 26 Dec 2014 00:01:57 +0000 (00:01 +0000)]
fixed compiler warning in tests
Christian Grothoff [Thu, 25 Dec 2014 01:06:20 +0000 (01:06 +0000)]
-fix doxygen issues
Julius Bünger [Wed, 24 Dec 2014 16:59:19 +0000 (16:59 +0000)]
minor fixes
Julius Bünger [Wed, 24 Dec 2014 15:11:43 +0000 (15:11 +0000)]
fixed some issues
Julius Bünger [Wed, 24 Dec 2014 15:11:41 +0000 (15:11 +0000)]
now using API calls instead of own fkts
Julius Bünger [Wed, 24 Dec 2014 15:11:38 +0000 (15:11 +0000)]
Added documenting comments
Christian Grothoff [Wed, 24 Dec 2014 01:45:23 +0000 (01:45 +0000)]
-update priority to shutdown if that is being used
Christian Grothoff [Wed, 24 Dec 2014 01:42:57 +0000 (01:42 +0000)]
-use flag to check for readyness
Christian Grothoff [Wed, 24 Dec 2014 01:35:11 +0000 (01:35 +0000)]
-shutdown alone does not move to ready list
Christian Grothoff [Wed, 24 Dec 2014 01:32:27 +0000 (01:32 +0000)]
-delay serving requests until plugin is ready
Christian Grothoff [Wed, 24 Dec 2014 01:10:47 +0000 (01:10 +0000)]
making GNUNET_SCHEDULER_cancel() perform in O(1) instead of O(n) to help or even fully address #3247
Christian Grothoff [Tue, 23 Dec 2014 23:03:05 +0000 (23:03 +0000)]
-fix trivial double-free
Christian Grothoff [Tue, 23 Dec 2014 22:54:51 +0000 (22:54 +0000)]
fix #3589
Christian Grothoff [Tue, 23 Dec 2014 22:39:55 +0000 (22:39 +0000)]
-actually, require proxy option to be empty, cleaner
Christian Grothoff [Tue, 23 Dec 2014 22:38:37 +0000 (22:38 +0000)]
-do run with proxy type NONE
Christian Grothoff [Tue, 23 Dec 2014 22:15:22 +0000 (22:15 +0000)]
-fix call to MHD_start_daemon, properly pass MHD_USE_IPv6 if needed
Christian Grothoff [Tue, 23 Dec 2014 22:09:36 +0000 (22:09 +0000)]
-fix dbg level
Christian Grothoff [Tue, 23 Dec 2014 22:08:47 +0000 (22:08 +0000)]
-cleaning up stats code, use separate structures per subsystem for faster processing
Christian Grothoff [Tue, 23 Dec 2014 22:08:21 +0000 (22:08 +0000)]
-doxygen, indentation
Christian Grothoff [Tue, 23 Dec 2014 20:38:18 +0000 (20:38 +0000)]
-doxgen, use modern client API
Christian Grothoff [Tue, 23 Dec 2014 20:37:22 +0000 (20:37 +0000)]
fixing datastore-statistics interaction to ensure stats are properly written to disk on exit
LRN [Tue, 23 Dec 2014 05:07:02 +0000 (05:07 +0000)]
Rename DEFAULT_QUALITY to MLP_DEFAULT_QUALITY to avoid conflicting with W32 GDI
David Barksdale [Tue, 23 Dec 2014 04:55:01 +0000 (04:55 +0000)]
Remove work-around for bad NULL definition
Christian Grothoff [Mon, 22 Dec 2014 12:12:28 +0000 (12:12 +0000)]
-undo
Christian Grothoff [Mon, 22 Dec 2014 12:12:07 +0000 (12:12 +0000)]
-doxygen
Omar Tarabai [Sun, 21 Dec 2014 01:26:46 +0000 (01:26 +0000)]
flush peer respect value on disconnect
Christian Grothoff [Sat, 20 Dec 2014 18:30:59 +0000 (18:30 +0000)]
-do not start unrelated services during ATS tests
Christian Grothoff [Sat, 20 Dec 2014 18:24:03 +0000 (18:24 +0000)]
-assign port for DNS