Christian Grothoff [Wed, 5 Oct 2011 08:16:08 +0000 (08:16 +0000)]
fix
Christian Grothoff [Tue, 4 Oct 2011 21:20:27 +0000 (21:20 +0000)]
increase timeout to hopefully fix issues on slow buildbots
Christian Grothoff [Tue, 4 Oct 2011 21:15:13 +0000 (21:15 +0000)]
use load, not parse
Christian Grothoff [Tue, 4 Oct 2011 21:14:36 +0000 (21:14 +0000)]
use load, not parse
Matthias Wachs [Tue, 4 Oct 2011 15:57:04 +0000 (15:57 +0000)]
http https nat tests
Matthias Wachs [Tue, 4 Oct 2011 15:55:42 +0000 (15:55 +0000)]
config files for http nat test
Matthias Wachs [Tue, 4 Oct 2011 15:53:31 +0000 (15:53 +0000)]
implemented: client-only mode
Matthias Wachs [Tue, 4 Oct 2011 15:34:58 +0000 (15:34 +0000)]
correct configuration for the nat testcase
Bart Polot [Tue, 4 Oct 2011 15:04:16 +0000 (15:04 +0000)]
Enabled DHT testcase, added unicast testcase
Bart Polot [Tue, 4 Oct 2011 15:03:44 +0000 (15:03 +0000)]
Enabled DHT use again
Bart Polot [Tue, 4 Oct 2011 14:56:51 +0000 (14:56 +0000)]
Added local tunnel service numeration handling, added incoming tunnel client notification, fixed peer_id rc bug on core peer connect
Bart Polot [Tue, 4 Oct 2011 14:53:58 +0000 (14:53 +0000)]
Optimized timing, fixed formatting, fixed callback bug
Bart Polot [Tue, 4 Oct 2011 14:50:16 +0000 (14:50 +0000)]
Fixed a double DLL_insert of an incoming tunnel
Christian Grothoff [Tue, 4 Oct 2011 13:55:12 +0000 (13:55 +0000)]
adding assertions to help with 1815
Christian Grothoff [Tue, 4 Oct 2011 13:24:22 +0000 (13:24 +0000)]
LRN: Use GNUNET_EXTRA_LOGGING to manage compile-time logging calls
(#1805).
Christian Grothoff [Tue, 4 Oct 2011 13:21:01 +0000 (13:21 +0000)]
more stats
Christian Grothoff [Tue, 4 Oct 2011 13:18:47 +0000 (13:18 +0000)]
fix stat, count 2nd case as well
Christian Grothoff [Tue, 4 Oct 2011 13:17:56 +0000 (13:17 +0000)]
unnecessary
Bart Polot [Tue, 4 Oct 2011 13:13:53 +0000 (13:13 +0000)]
Fixed core quota, added logging of error messages at connection setup
Christian Grothoff [Tue, 4 Oct 2011 11:53:32 +0000 (11:53 +0000)]
print stat
Christian Grothoff [Tue, 4 Oct 2011 11:52:24 +0000 (11:52 +0000)]
add statistic
Christian Grothoff [Tue, 4 Oct 2011 11:51:34 +0000 (11:51 +0000)]
add a few assertions
Christian Grothoff [Tue, 4 Oct 2011 11:43:16 +0000 (11:43 +0000)]
fixing memory leak (#1809)
Christian Grothoff [Tue, 4 Oct 2011 11:40:36 +0000 (11:40 +0000)]
cleaning up test code to keep references to allocated handles and to clean them up where needed; this should fix #1803
Matthias Wachs [Tue, 4 Oct 2011 11:16:00 +0000 (11:16 +0000)]
fixing bug #1812
n->is_active was not set to mq
Christian Grothoff [Tue, 4 Oct 2011 11:09:39 +0000 (11:09 +0000)]
LRN's big logging rewrite (#1805):
* GNUNET_BOTTOM_LOGLEVEL and GNUNET_TOP_LOGLEVEL set global levels
Use bottom level to force logging to be more verbose than configured
Use top level to force logging to be less verbose than configured
Obviously, bottom <= top
* GNUNET_LOG sets per-component levels
GNUNET_LOG looks like this:
name[/bottom[/top]]/...
name starts with a non-digit character, must not include '/'
bottom and top must consist only of digits, or be empty
a description is only used if it matches the component exactly
as a special exception (for now) the name '*' matches any component
per-component loglevels override global loglevels
global levels override whatever is given via arguments or in config
Examples:
test_client/8/8/
run test_client with DEBUG level (usually leads to a timeout, by the way)
*/2/2/core/8/8/transport/4/4
run everything with WARNING, core - with DEBUG, transport - with INFO
*//1/peerinfo/4/
run everything with top loglevel ERROR, global/configured bottom loglevel,
and peerinfo - with bottom loglevel INFO and global/configured top loglevel
statistics/
does nothing
* Added GNUNET_ERROR_TYPE_UNSPECIFIED enum value, to hold -1.
Its corresponding string is NULL.
* Changed the logger calls as Grothoff suggested - to use static int to hold
the result of runtime evaluation of logability.
Logging can be unconditionally disabled in advance by defining
GNUNET_LOG_CALL_STATUS to 0, and enabled in advance by defining it to 1.
* Added GNUNET_CULL_LOGGING, which, if defined, completely culls out all
logging calls at compile time.
* Log definition parsing is only done once, results are cached.
* Changed definition format, now it looks like this:
[component|*|];[file|*|];[function|*|];[from_line[-to_line]];level/[component...]
All field separators are mandatory (but some fields could be empty or be '*').
Line definition must be either empty or "number" or "number-number"
Level definition must not be empty, and is a string representation
of the level (i.e. DEBUG, WARNING, INFO, etc).
Definition entry must end with a slash, whether or not there's another
entry after it.
File name is matched to the end of __FILE__, which allows file name
to match not only the base name, but also directories leading to it.
* Removed default WARNING loglevel from program and service utility code.
Now they default to NULL (UNSPECIFIED) level, which can be overriden by
GNUNET_LOG definition, if no level is specified via config or commandline.
Log levels from config or commandline are overriden by GNUNET_FORCE_LOG.
If GNUNET_*LOG are undefined, and no levels came from config or commandline,
logger internally defaults to WARNING level.
Add --enable-logging configure option
Matthias Wachs [Tue, 4 Oct 2011 09:57:35 +0000 (09:57 +0000)]
fix for 1819:
when HELLO message arrives, peer's public key is added to peerinfo even no addresses could be validated
Matthias Wachs [Tue, 4 Oct 2011 09:20:47 +0000 (09:20 +0000)]
bugfixes
timeout handling for other transmission direction
Christian Grothoff [Tue, 4 Oct 2011 09:19:32 +0000 (09:19 +0000)]
adding stats
Christian Grothoff [Tue, 4 Oct 2011 09:12:12 +0000 (09:12 +0000)]
factor out stop into new task (in preparation)
Matthias Wachs [Tue, 4 Oct 2011 09:11:05 +0000 (09:11 +0000)]
Matthias Wachs [Tue, 4 Oct 2011 09:10:26 +0000 (09:10 +0000)]
fixing #17134
Matthias Wachs [Tue, 4 Oct 2011 08:30:57 +0000 (08:30 +0000)]
re-enabling timeouts
Bart Polot [Mon, 3 Oct 2011 17:30:18 +0000 (17:30 +0000)]
Tweaked test configuration and log messages
Bart Polot [Mon, 3 Oct 2011 17:01:14 +0000 (17:01 +0000)]
Fixed size request from core on create path and path ack, reformatted call to make more readable
Bart Polot [Mon, 3 Oct 2011 16:35:16 +0000 (16:35 +0000)]
Fixed a bug in create path handling, extended debug info.
Christian Grothoff [Sun, 2 Oct 2011 22:38:36 +0000 (22:38 +0000)]
fix 1814
Christian Grothoff [Sun, 2 Oct 2011 22:16:00 +0000 (22:16 +0000)]
fix #1713 (see discussion there)
Christian Grothoff [Fri, 30 Sep 2011 21:06:03 +0000 (21:06 +0000)]
no printf
Christian Grothoff [Fri, 30 Sep 2011 20:55:21 +0000 (20:55 +0000)]
fixing bloomfilter code, fixing testcase
Christian Grothoff [Fri, 30 Sep 2011 18:58:43 +0000 (18:58 +0000)]
adding empty lines
Bart Polot [Fri, 30 Sep 2011 17:15:33 +0000 (17:15 +0000)]
Debug statements
Matthias Wachs [Fri, 30 Sep 2011 15:11:34 +0000 (15:11 +0000)]
added functionality: immediate server rescheduling
+ debugging functionality to find server disconnect problem
Matthias Wachs [Fri, 30 Sep 2011 15:09:26 +0000 (15:09 +0000)]
just to be sure curl is not causing the disconnects
Bart Polot [Fri, 30 Sep 2011 14:38:23 +0000 (14:38 +0000)]
Commented out DHT code, removed DHT-dependent test from run set.
Matthias Wachs [Fri, 30 Sep 2011 13:34:45 +0000 (13:34 +0000)]
putting session handling in function
Matthias Wachs [Fri, 30 Sep 2011 13:25:15 +0000 (13:25 +0000)]
beautification
Bart Polot [Fri, 30 Sep 2011 12:51:57 +0000 (12:51 +0000)]
Added send path create on new peer with direct connection, added resource liberation on neighbor disconnection which queued messages
Matthias Wachs [Fri, 30 Sep 2011 11:20:44 +0000 (11:20 +0000)]
some diagnoses
Matthias Wachs [Fri, 30 Sep 2011 11:00:24 +0000 (11:00 +0000)]
fixing #1801
Matthias Wachs [Fri, 30 Sep 2011 09:02:12 +0000 (09:02 +0000)]
check if transport client is still connected before sending SEND_OK
Matthias Wachs [Fri, 30 Sep 2011 07:46:32 +0000 (07:46 +0000)]
added assertion to find https://gnunet.org/bugs/view.php?id=1808
Christian Grothoff [Fri, 30 Sep 2011 01:07:02 +0000 (01:07 +0000)]
fix
Christian Grothoff [Fri, 30 Sep 2011 01:06:19 +0000 (01:06 +0000)]
re-add logging, move BF add operations to the latest possible time to avoid polluting tests needlessly
Christian Grothoff [Fri, 30 Sep 2011 01:05:11 +0000 (01:05 +0000)]
speed up BF tests
Christian Grothoff [Fri, 30 Sep 2011 00:51:39 +0000 (00:51 +0000)]
nicer
Christian Grothoff [Thu, 29 Sep 2011 23:28:42 +0000 (23:28 +0000)]
remove excessive logging
Christian Grothoff [Thu, 29 Sep 2011 23:27:30 +0000 (23:27 +0000)]
removing excessive logging, adding missing decrement (choice) to avoid assertion failure; fixing loop bounds in non-random peer selection
Christian Grothoff [Thu, 29 Sep 2011 23:25:14 +0000 (23:25 +0000)]
use demultiplex everywhere
Christian Grothoff [Thu, 29 Sep 2011 23:24:54 +0000 (23:24 +0000)]
nolog
Christian Grothoff [Thu, 29 Sep 2011 23:24:07 +0000 (23:24 +0000)]
also demultiplex everywhere on put
Bart Polot [Thu, 29 Sep 2011 23:18:16 +0000 (23:18 +0000)]
Fixed multicast retransmission, fixed memory managemenet at path creation
Christian Grothoff [Thu, 29 Sep 2011 23:08:08 +0000 (23:08 +0000)]
fix code to perform GET retries
Christian Grothoff [Thu, 29 Sep 2011 23:07:27 +0000 (23:07 +0000)]
use unique keys for each peer pair
Christian Grothoff [Thu, 29 Sep 2011 21:53:01 +0000 (21:53 +0000)]
do not add 1 twice -- callee also added 1, resulting in an increment by 2 per hop
Bart Polot [Thu, 29 Sep 2011 21:42:52 +0000 (21:42 +0000)]
WiP
Christian Grothoff [Thu, 29 Sep 2011 21:29:08 +0000 (21:29 +0000)]
log more details for debugging
Christian Grothoff [Thu, 29 Sep 2011 21:28:53 +0000 (21:28 +0000)]
bugfix
Christian Grothoff [Thu, 29 Sep 2011 20:41:03 +0000 (20:41 +0000)]
cleaning up testcase, debugging
Christian Grothoff [Thu, 29 Sep 2011 20:31:38 +0000 (20:31 +0000)]
fix disconnect message transmission, send keepalives
Christian Grothoff [Thu, 29 Sep 2011 19:33:12 +0000 (19:33 +0000)]
report disconnect reasons in stats
Christian Grothoff [Thu, 29 Sep 2011 19:33:03 +0000 (19:33 +0000)]
report disconnect reasons in stats
Christian Grothoff [Thu, 29 Sep 2011 15:02:34 +0000 (15:02 +0000)]
disable for now
Christian Grothoff [Thu, 29 Sep 2011 15:01:51 +0000 (15:01 +0000)]
nicer
Christian Grothoff [Thu, 29 Sep 2011 14:56:32 +0000 (14:56 +0000)]
better reporting
Christian Grothoff [Thu, 29 Sep 2011 14:55:29 +0000 (14:55 +0000)]
fixing 1804
Matthias Wachs [Thu, 29 Sep 2011 14:44:24 +0000 (14:44 +0000)]
fixing list-connections to show correct peer id
extending neighbour-iterate to return plugin, addr and addresslen
Christian Grothoff [Thu, 29 Sep 2011 14:21:05 +0000 (14:21 +0000)]
simplify code
Christian Grothoff [Thu, 29 Sep 2011 14:00:07 +0000 (14:00 +0000)]
use ring 10, test all-to-all GET/PUT
Christian Grothoff [Thu, 29 Sep 2011 13:57:09 +0000 (13:57 +0000)]
const
Christian Grothoff [Thu, 29 Sep 2011 13:57:02 +0000 (13:57 +0000)]
dbg
Christian Grothoff [Thu, 29 Sep 2011 13:37:19 +0000 (13:37 +0000)]
cleaning up testcase some
Matthias Wachs [Thu, 29 Sep 2011 11:51:25 +0000 (11:51 +0000)]
removing quota set to max_bps cfg setting
Matthias Wachs [Thu, 29 Sep 2011 10:01:22 +0000 (10:01 +0000)]
disable verbose output
Matthias Wachs [Thu, 29 Sep 2011 09:28:19 +0000 (09:28 +0000)]
changing to constant
Matthias Wachs [Thu, 29 Sep 2011 09:26:23 +0000 (09:26 +0000)]
setting default connection timeout depending on MHD version
Christian Grothoff [Wed, 28 Sep 2011 23:06:28 +0000 (23:06 +0000)]
fixing 1802
Christian Grothoff [Wed, 28 Sep 2011 23:02:28 +0000 (23:02 +0000)]
static
Christian Grothoff [Wed, 28 Sep 2011 22:51:07 +0000 (22:51 +0000)]
fix #1796
Christian Grothoff [Wed, 28 Sep 2011 20:15:14 +0000 (20:15 +0000)]
static
Christian Grothoff [Wed, 28 Sep 2011 19:33:08 +0000 (19:33 +0000)]
fixing warning
Christian Grothoff [Wed, 28 Sep 2011 19:20:34 +0000 (19:20 +0000)]
dbg
Christian Grothoff [Wed, 28 Sep 2011 09:57:36 +0000 (09:57 +0000)]
dbg
Christian Grothoff [Wed, 28 Sep 2011 09:56:18 +0000 (09:56 +0000)]
fixes
Bart Polot [Wed, 28 Sep 2011 09:22:26 +0000 (09:22 +0000)]
Added multicast route keeplive
Christian Grothoff [Wed, 28 Sep 2011 08:57:33 +0000 (08:57 +0000)]
stuff
Christian Grothoff [Wed, 28 Sep 2011 08:13:20 +0000 (08:13 +0000)]
paren
Christian Grothoff [Wed, 28 Sep 2011 07:52:34 +0000 (07:52 +0000)]
cleanup
Christian Grothoff [Wed, 28 Sep 2011 06:51:49 +0000 (06:51 +0000)]
MHD has a better way than a configure test for this
Christian Grothoff [Tue, 27 Sep 2011 21:11:28 +0000 (21:11 +0000)]
make compile