oweals/gnunet.git
9 years agofixing #3683: proper counting of TCP connections
Christian Grothoff [Wed, 18 Feb 2015 14:06:53 +0000 (14:06 +0000)]
fixing #3683: proper counting of TCP connections

9 years ago-doxygen
Christian Grothoff [Wed, 18 Feb 2015 14:05:44 +0000 (14:05 +0000)]
-doxygen

9 years ago-tolerate NULL
Christian Grothoff [Wed, 18 Feb 2015 14:05:32 +0000 (14:05 +0000)]
-tolerate NULL

9 years ago- fixed conflicting int type
Julius Bünger [Tue, 17 Feb 2015 14:06:11 +0000 (14:06 +0000)]
- fixed conflicting int type

9 years ago- fixed rounding
Julius Bünger [Tue, 17 Feb 2015 14:04:56 +0000 (14:04 +0000)]
- fixed rounding

9 years ago- fixed conflicting int sizes
Julius Bünger [Tue, 17 Feb 2015 14:04:50 +0000 (14:04 +0000)]
- fixed conflicting int sizes

9 years ago- fixed memory and coding issues
Julius Bünger [Tue, 17 Feb 2015 14:04:44 +0000 (14:04 +0000)]
- fixed memory and coding issues

9 years ago- cleaned test code
Julius Bünger [Tue, 17 Feb 2015 03:38:42 +0000 (03:38 +0000)]
- cleaned test code

9 years ago- fixed logic
Julius Bünger [Tue, 17 Feb 2015 03:38:40 +0000 (03:38 +0000)]
- fixed logic

9 years ago- fixed uninitialised memory, logic
Julius Bünger [Tue, 17 Feb 2015 03:38:37 +0000 (03:38 +0000)]
- fixed uninitialised memory, logic

9 years ago- fixed slow startup of service
Julius Bünger [Mon, 16 Feb 2015 18:56:22 +0000 (18:56 +0000)]
- fixed slow startup of service

9 years ago- fixed confusion of push and pull
Julius Bünger [Sun, 15 Feb 2015 17:20:19 +0000 (17:20 +0000)]
- fixed confusion of push and pull

9 years ago- check for validity of peers
Julius Bünger [Sun, 15 Feb 2015 17:20:16 +0000 (17:20 +0000)]
- check for validity of peers

9 years ago- make sure there is an established channel for each peer in gossip list
Julius Bünger [Sun, 15 Feb 2015 17:20:13 +0000 (17:20 +0000)]
- make sure there is an established channel for each peer in gossip list

9 years ago- fix wrong check
Julius Bünger [Sun, 15 Feb 2015 17:20:10 +0000 (17:20 +0000)]
- fix wrong check

9 years ago- cancle own connection when peer is not in gossip list
Julius Bünger [Sun, 15 Feb 2015 17:20:07 +0000 (17:20 +0000)]
- cancle own connection when peer is not in gossip list

9 years ago- got rid of unneeded code
Julius Bünger [Sun, 15 Feb 2015 17:20:04 +0000 (17:20 +0000)]
- got rid of unneeded code

9 years ago- renamed flag
Julius Bünger [Sun, 15 Feb 2015 17:20:00 +0000 (17:20 +0000)]
- renamed flag

9 years ago- don't add own id to pull_list
Julius Bünger [Sun, 15 Feb 2015 17:19:57 +0000 (17:19 +0000)]
- don't add own id to pull_list

9 years ago- fixed behaviour of init_peer_cb()
Julius Bünger [Sun, 15 Feb 2015 17:19:54 +0000 (17:19 +0000)]
- fixed behaviour of init_peer_cb()

9 years ago- changed behaviour on peer disconnect
Julius Bünger [Sun, 15 Feb 2015 17:19:51 +0000 (17:19 +0000)]
- changed behaviour on peer disconnect

9 years ago- leave peer in sampler on peer disconnect
Julius Bünger [Sun, 15 Feb 2015 17:19:48 +0000 (17:19 +0000)]
- leave peer in sampler on peer disconnect

9 years ago- add additional check before peer removal
Julius Bünger [Sun, 15 Feb 2015 17:19:45 +0000 (17:19 +0000)]
- add additional check before peer removal

9 years ago- don't put our own id in the algorithm
Julius Bünger [Sun, 15 Feb 2015 17:19:42 +0000 (17:19 +0000)]
- don't put our own id in the algorithm

9 years ago- restructured peer removal
Julius Bünger [Sun, 15 Feb 2015 17:19:39 +0000 (17:19 +0000)]
- restructured peer removal

9 years ago- changed criteria for putting peer in pull list
Julius Bünger [Sun, 15 Feb 2015 17:19:36 +0000 (17:19 +0000)]
- changed criteria for putting peer in pull list

9 years ago- restructured check whether peer is live
Julius Bünger [Sun, 15 Feb 2015 17:19:33 +0000 (17:19 +0000)]
- restructured check whether peer is live

9 years ago- restructured in_arr() and rem_from_list()
Julius Bünger [Sun, 15 Feb 2015 17:19:30 +0000 (17:19 +0000)]
- restructured in_arr() and rem_from_list()

9 years ago- macro for getting/setting peer flags
Julius Bünger [Sun, 15 Feb 2015 17:19:27 +0000 (17:19 +0000)]
- macro for getting/setting peer flags

9 years ago-fix
Christian Grothoff [Fri, 13 Feb 2015 00:12:35 +0000 (00:12 +0000)]
-fix

9 years ago-fixing misc minor bugs and style issues (unchecked return values, memory leaks,...
Christian Grothoff [Fri, 13 Feb 2015 00:11:53 +0000 (00:11 +0000)]
-fixing misc minor bugs and style issues (unchecked return values, memory leaks, dead code

9 years agosimplify logic, avoid using uninit variable
Christian Grothoff [Fri, 13 Feb 2015 00:01:39 +0000 (00:01 +0000)]
simplify logic, avoid using uninit variable

9 years ago-fix callback after cancellation issue
Christian Grothoff [Thu, 12 Feb 2015 20:35:50 +0000 (20:35 +0000)]
-fix callback after cancellation issue

9 years ago-reduce loglevel (#3682)
Christian Grothoff [Thu, 12 Feb 2015 20:17:54 +0000 (20:17 +0000)]
-reduce loglevel (#3682)

9 years ago-fix memory leak of address on shutdown
Christian Grothoff [Thu, 12 Feb 2015 20:12:42 +0000 (20:12 +0000)]
-fix memory leak of address on shutdown

9 years ago-fix leak on transmission error in combination with disconnect
Christian Grothoff [Thu, 12 Feb 2015 20:12:28 +0000 (20:12 +0000)]
-fix leak on transmission error in combination with disconnect

9 years agolog TCP server suspends
Christian Grothoff [Thu, 12 Feb 2015 19:52:47 +0000 (19:52 +0000)]
log TCP server suspends

9 years ago-nicer logging
Christian Grothoff [Thu, 12 Feb 2015 19:37:14 +0000 (19:37 +0000)]
-nicer logging

9 years ago-fix shutdown issue
Christian Grothoff [Thu, 12 Feb 2015 19:19:11 +0000 (19:19 +0000)]
-fix shutdown issue

9 years agogenerate our own HELLO before starting validations
Christian Grothoff [Thu, 12 Feb 2015 19:13:46 +0000 (19:13 +0000)]
generate our own HELLO before starting validations

9 years ago-fix typo
Christian Grothoff [Thu, 12 Feb 2015 15:24:57 +0000 (15:24 +0000)]
-fix typo

9 years ago-better stats for KEEPALIVEs
Christian Grothoff [Thu, 12 Feb 2015 15:24:37 +0000 (15:24 +0000)]
-better stats for KEEPALIVEs

9 years ago-better stats for KEEPALIVEs
Christian Grothoff [Thu, 12 Feb 2015 15:18:37 +0000 (15:18 +0000)]
-better stats for KEEPALIVEs

9 years agoreset blocking time for addresses upon successful connection
Christian Grothoff [Thu, 12 Feb 2015 14:25:33 +0000 (14:25 +0000)]
reset blocking time for addresses upon successful connection

9 years agokeep track of number of temporarily blocked addresses
Christian Grothoff [Thu, 12 Feb 2015 14:22:43 +0000 (14:22 +0000)]
keep track of number of temporarily blocked addresses

9 years ago-improve logging
Christian Grothoff [Wed, 11 Feb 2015 21:02:02 +0000 (21:02 +0000)]
-improve logging

9 years ago-style
Christian Grothoff [Wed, 11 Feb 2015 19:27:54 +0000 (19:27 +0000)]
-style

9 years ago-allow UINT64_MAX without crashing
Christian Grothoff [Wed, 11 Feb 2015 19:24:38 +0000 (19:24 +0000)]
-allow UINT64_MAX without crashing

9 years ago-allow UINT64_MAX without crashing
Christian Grothoff [Wed, 11 Feb 2015 19:23:57 +0000 (19:23 +0000)]
-allow UINT64_MAX without crashing

9 years agofinish implementing reservation test, and fix bandwidth reservation logic
Christian Grothoff [Wed, 11 Feb 2015 18:44:19 +0000 (18:44 +0000)]
finish implementing reservation test, and fix bandwidth reservation logic

9 years ago-remove unused exported symbol
Christian Grothoff [Wed, 11 Feb 2015 18:29:54 +0000 (18:29 +0000)]
-remove unused exported symbol

9 years agoadd proper test for bandwidth reservation
Christian Grothoff [Wed, 11 Feb 2015 17:10:31 +0000 (17:10 +0000)]
add proper test for bandwidth reservation

9 years agoadd command to test reservations
Christian Grothoff [Wed, 11 Feb 2015 17:00:40 +0000 (17:00 +0000)]
add command to test reservations

9 years ago-testcase was long dead
Christian Grothoff [Wed, 11 Feb 2015 16:45:35 +0000 (16:45 +0000)]
-testcase was long dead

9 years ago-testcase was long dead
Christian Grothoff [Wed, 11 Feb 2015 16:45:01 +0000 (16:45 +0000)]
-testcase was long dead

9 years ago-testcase was long dead
Christian Grothoff [Wed, 11 Feb 2015 16:43:25 +0000 (16:43 +0000)]
-testcase was long dead

9 years ago-fix badness
Christian Grothoff [Wed, 11 Feb 2015 16:43:13 +0000 (16:43 +0000)]
-fix badness

9 years ago-ignore
Christian Grothoff [Wed, 11 Feb 2015 16:19:56 +0000 (16:19 +0000)]
-ignore

9 years ago-also obsolete
Christian Grothoff [Wed, 11 Feb 2015 16:19:16 +0000 (16:19 +0000)]
-also obsolete

9 years agonew testsuite, obsoleting (most of) the old one
Christian Grothoff [Wed, 11 Feb 2015 16:17:20 +0000 (16:17 +0000)]
new testsuite, obsoleting (most of) the old one

9 years ago-check for in_destroy when looking up session IDs
Christian Grothoff [Wed, 11 Feb 2015 16:16:14 +0000 (16:16 +0000)]
-check for in_destroy when looking up session IDs

9 years ago-dead flags
Christian Grothoff [Wed, 11 Feb 2015 13:46:18 +0000 (13:46 +0000)]
-dead flags

9 years agoeliminate dead call from API
Christian Grothoff [Wed, 11 Feb 2015 13:46:02 +0000 (13:46 +0000)]
eliminate dead call from API

9 years agodo not call receive before sending first message
Christian Grothoff [Wed, 11 Feb 2015 13:42:22 +0000 (13:42 +0000)]
do not call receive before sending first message

9 years agopass correct closure
Christian Grothoff [Wed, 11 Feb 2015 13:33:42 +0000 (13:33 +0000)]
pass correct closure

9 years ago-fix NPE
Christian Grothoff [Wed, 11 Feb 2015 13:33:04 +0000 (13:33 +0000)]
-fix NPE

9 years ago-fix crash
Christian Grothoff [Wed, 11 Feb 2015 10:47:32 +0000 (10:47 +0000)]
-fix crash

9 years agofixing #3657 (replace ATS_Information with struct), but WIHTOUT fixing ATS testcases yet
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

9 years ago-check RV
Christian Grothoff [Tue, 10 Feb 2015 17:46:12 +0000 (17:46 +0000)]
-check RV

9 years ago-fix typo
Christian Grothoff [Tue, 10 Feb 2015 16:51:17 +0000 (16:51 +0000)]
-fix typo

9 years ago-fixing some memory leaks from #3667, also reindentation and code cleanup
Christian Grothoff [Tue, 10 Feb 2015 16:45:26 +0000 (16:45 +0000)]
-fixing some memory leaks from #3667, also reindentation and code cleanup

9 years ago-fix #3665: hello can theoretically still be NULL
Christian Grothoff [Tue, 10 Feb 2015 11:37:11 +0000 (11:37 +0000)]
-fix #3665: hello can theoretically still be NULL

9 years agofix #3664: during PS_RECONNECT_ATS, primary address may be NULL, causing an NPE if...
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

9 years ago-do not reschedule validation if in_use did not change
Christian Grothoff [Tue, 10 Feb 2015 11:04:54 +0000 (11:04 +0000)]
-do not reschedule validation if in_use did not change

9 years ago-just eliminate useless check, can just be false
Christian Grothoff [Tue, 10 Feb 2015 11:03:15 +0000 (11:03 +0000)]
-just eliminate useless check, can just be false

9 years ago-fix
Christian Grothoff [Tue, 10 Feb 2015 00:00:56 +0000 (00:00 +0000)]
-fix

9 years ago-improve UDP logging
Christian Grothoff [Mon, 9 Feb 2015 21:19:46 +0000 (21:19 +0000)]
-improve UDP logging

9 years ago-eliminate dead argument, do use quota immediately
Christian Grothoff [Mon, 9 Feb 2015 20:56:56 +0000 (20:56 +0000)]
-eliminate dead argument, do use quota immediately

9 years ago-reorder tests to have slow ones go last
Christian Grothoff [Mon, 9 Feb 2015 16:13:43 +0000 (16:13 +0000)]
-reorder tests to have slow ones go last

9 years ago-report if testcase failure is because switching is not enforced, then do not fail...
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

9 years ago-do not continue in case of transmission error
Christian Grothoff [Mon, 9 Feb 2015 15:56:11 +0000 (15:56 +0000)]
-do not continue in case of transmission error

9 years ago-minor indentation/logging fixes
Christian Grothoff [Mon, 9 Feb 2015 15:30:55 +0000 (15:30 +0000)]
-minor indentation/logging fixes

9 years agodo proper check for stability, in particular UINT32_MAX-0 is not a delta of 1...
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...

9 years agoperform proper locking and unlocking
Christian Grothoff [Mon, 9 Feb 2015 15:12:40 +0000 (15:12 +0000)]
perform proper locking and unlocking

9 years ago-do only send HELLO to clients once on startup, do only send fully initialized HELLO...
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

9 years ago-tolerateNAT instant reporting
Christian Grothoff [Mon, 9 Feb 2015 14:27:59 +0000 (14:27 +0000)]
-tolerateNAT instant reporting

9 years ago-instantly report addresses during NAT initialization if possible
Christian Grothoff [Mon, 9 Feb 2015 14:27:47 +0000 (14:27 +0000)]
-instantly report addresses during NAT initialization if possible

9 years ago-better debug output, indentation
Christian Grothoff [Mon, 9 Feb 2015 14:27:29 +0000 (14:27 +0000)]
-better debug output, indentation

9 years ago-use backoff for reconnects
Christian Grothoff [Mon, 9 Feb 2015 12:17:18 +0000 (12:17 +0000)]
-use backoff for reconnects

9 years ago-that the tests do not catch bugs like this is a real issue...
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...

9 years ago-fix shutdown
Christian Grothoff [Sun, 8 Feb 2015 23:22:18 +0000 (23:22 +0000)]
-fix shutdown

9 years ago-fix shutdown order
Christian Grothoff [Sun, 8 Feb 2015 23:17:43 +0000 (23:17 +0000)]
-fix shutdown order

9 years ago-fin, mention future work in TODO
Christian Grothoff [Sun, 8 Feb 2015 22:58:14 +0000 (22:58 +0000)]
-fin, mention future work in TODO

9 years ago-updating comments
Christian Grothoff [Sun, 8 Feb 2015 22:46:45 +0000 (22:46 +0000)]
-updating comments

9 years ago-cleaning up bandwidth allocation routine
Christian Grothoff [Sun, 8 Feb 2015 22:38:43 +0000 (22:38 +0000)]
-cleaning up bandwidth allocation routine

9 years ago-when selecting addresses, kick out peers with insufficient support if we are at...
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

9 years ago-further simplify
Christian Grothoff [Sun, 8 Feb 2015 22:18:16 +0000 (22:18 +0000)]
-further simplify

9 years ago-further simplify
Christian Grothoff [Sun, 8 Feb 2015 21:48:01 +0000 (21:48 +0000)]
-further simplify

9 years ago-further simplify
Christian Grothoff [Sun, 8 Feb 2015 21:06:29 +0000 (21:06 +0000)]
-further simplify

9 years ago-getting there...
Christian Grothoff [Sun, 8 Feb 2015 20:55:25 +0000 (20:55 +0000)]
-getting there...