]>
git.mxchange.org Git - hub.git/log
Roland Haeder [Sun, 16 Feb 2014 01:08:10 +0000 (02:08 +0100)]
decodedData is an array and needs some assertitions on array elements.
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Sun, 16 Feb 2014 01:06:17 +0000 (02:06 +0100)]
Opps ...
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Sun, 16 Feb 2014 01:01:45 +0000 (02:01 +0100)]
This causes a lot debug output, but why does it not work?
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Sun, 16 Feb 2014 00:57:35 +0000 (01:57 +0100)]
Add the chunk handler instance and not the stacker, else two stacker instances will be used which doesn't work.
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Sun, 16 Feb 2014 00:43:28 +0000 (01:43 +0100)]
And another one ... ;-)
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Sun, 16 Feb 2014 00:41:25 +0000 (01:41 +0100)]
Added new debug lines, commented previously used out as the bug is not there.
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Sun, 16 Feb 2014 00:32:42 +0000 (01:32 +0100)]
One was to noisy, added another.
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Sun, 16 Feb 2014 00:30:46 +0000 (01:30 +0100)]
More debug lines added.
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Sun, 16 Feb 2014 00:28:03 +0000 (01:28 +0100)]
And the next lines.
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Sun, 16 Feb 2014 00:27:20 +0000 (01:27 +0100)]
Also commented these out as they can become noisy.
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Sun, 16 Feb 2014 00:23:55 +0000 (01:23 +0100)]
These are unimportant, too.
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Sun, 16 Feb 2014 00:19:53 +0000 (01:19 +0100)]
Also commented these out as the bug is not located here.
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Sun, 16 Feb 2014 00:17:40 +0000 (01:17 +0100)]
Also the bug is not located here.
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Sun, 16 Feb 2014 00:16:17 +0000 (01:16 +0100)]
Added another debug line + commented others out, the bug is not located at those lines.
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Sun, 16 Feb 2014 00:11:44 +0000 (01:11 +0100)]
And how about here? Sorry not to add all at once. ;-)
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Sun, 16 Feb 2014 00:10:58 +0000 (01:10 +0100)]
Did the code go here?
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Sun, 16 Feb 2014 00:08:23 +0000 (01:08 +0100)]
Did this loop work?
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Sun, 16 Feb 2014 00:05:04 +0000 (01:05 +0100)]
Rewrote some debug lines.
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Sat, 15 Feb 2014 23:59:05 +0000 (00:59 +0100)]
The bug might be located here?
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Sat, 15 Feb 2014 23:57:45 +0000 (00:57 +0100)]
Improved debug lines. All should be like these!
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Sat, 15 Feb 2014 23:56:05 +0000 (00:56 +0100)]
The chunk handler instance of the assember class is now set for avoiding expensive code + commented out debug code as the bug is not located here.
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Sat, 15 Feb 2014 23:50:08 +0000 (00:50 +0100)]
The bug is not located between these lines.
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Sat, 15 Feb 2014 23:48:31 +0000 (00:48 +0100)]
And another line, why is this not working?
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Sat, 15 Feb 2014 23:45:56 +0000 (00:45 +0100)]
"Cached" method names to skip some expensive code, re-enabled debug line.
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Sat, 15 Feb 2014 23:39:41 +0000 (00:39 +0100)]
Also log packageContent.
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Sat, 15 Feb 2014 23:37:26 +0000 (00:37 +0100)]
Wrong name used.
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Sat, 15 Feb 2014 23:36:03 +0000 (00:36 +0100)]
Improved many debug lines with method's name.
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Sat, 15 Feb 2014 23:25:50 +0000 (00:25 +0100)]
These calls all indicate that some pre-checks didn't work and must be logged to become fixed.
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Sat, 15 Feb 2014 23:23:14 +0000 (00:23 +0100)]
Added another (very) noisy debug line.
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Sat, 15 Feb 2014 23:19:57 +0000 (00:19 +0100)]
Even more debug code re-enabled.
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Sat, 15 Feb 2014 23:18:34 +0000 (00:18 +0100)]
More debug lines, why are self-connects not working when debug code is enabled?
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Sat, 15 Feb 2014 23:13:06 +0000 (00:13 +0100)]
Needs to be an object attribute/field.
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Sat, 15 Feb 2014 23:09:00 +0000 (00:09 +0100)]
This needs to be copied to a local variable or else with debug lines the code won't work. :-(
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Sat, 15 Feb 2014 23:03:12 +0000 (00:03 +0100)]
Commented in debug lines.
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Sat, 15 Feb 2014 22:57:40 +0000 (23:57 +0100)]
Socket listener first. ;-)
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Sat, 15 Feb 2014 22:55:54 +0000 (23:55 +0100)]
First decoding, then assembling.
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Sat, 15 Feb 2014 22:51:56 +0000 (23:51 +0100)]
Was not needed.
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Sat, 15 Feb 2014 22:50:00 +0000 (23:50 +0100)]
Sorted some tasks, so that the package reader will come after writer (self-connect on slow computers).
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Sat, 15 Feb 2014 22:38:06 +0000 (23:38 +0100)]
Handled "connection reset by peer" error.
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Sat, 15 Feb 2014 22:35:33 +0000 (23:35 +0100)]
Need this again for debugging. :-(
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Sat, 15 Feb 2014 22:30:21 +0000 (23:30 +0100)]
Also log full 'data' variable.
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Sat, 15 Feb 2014 22:29:06 +0000 (23:29 +0100)]
About to fix Base64EncodingModuloException (needed for debugging).
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Sat, 15 Feb 2014 22:23:06 +0000 (23:23 +0100)]
It is dht_publish_entry.
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Sat, 15 Feb 2014 22:17:53 +0000 (23:17 +0100)]
Commented it out again (has delayed to much) + moved task up as this is a very early task.
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Sat, 15 Feb 2014 22:16:24 +0000 (23:16 +0100)]
Added noisy debug line.
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Sat, 15 Feb 2014 22:14:12 +0000 (23:14 +0100)]
100ms was to short for some systems.
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland 'Quix0r' Haeder [Sat, 15 Feb 2014 22:10:26 +0000 (23:10 +0100)]
Not to 'all', only 'hub' is fine.
Signed-off-by: Roland 'Quix0r' Haeder <roland@mxchange.org>
Roland Haeder [Sat, 15 Feb 2014 21:51:00 +0000 (22:51 +0100)]
Very basic implementation for adding "discovered" DHT recipients as package recipients.
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Sat, 15 Feb 2014 21:42:36 +0000 (22:42 +0100)]
Commented out some noisy debug lines.
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Sat, 15 Feb 2014 21:33:51 +0000 (22:33 +0100)]
Commented out noisy debug line + logged array 'recipients'.
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Sat, 15 Feb 2014 18:57:09 +0000 (19:57 +0100)]
Continued with hub development:
- Added specialized interface DistributableNode for DHTs for nodes
- Moved some node-related methods to above new interface
- DHT recipient discovery is not yet fully implemented as it will find first X
(10 by default) in the DHT and return them. This is a bad idea as it will
exclude many other relevant nodes. So this is a very early stage.
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Sat, 15 Feb 2014 12:09:55 +0000 (13:09 +0100)]
Some improvements:
- renamed BaseHubDiscovery -> BaseNodeDiscovery
- moved list-related code to BaseNodeDiscovery as this is more generic code
- Updated interface Discoverable with a missing public method from
PackageRecipientDiscovery
- Other minor improvements
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Sat, 15 Feb 2014 11:58:58 +0000 (12:58 +0100)]
Moved "discovery" interfaces to sub folders, to allow generic interface 'Discoverable' being added.
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Wed, 12 Feb 2014 22:40:10 +0000 (23:40 +0100)]
Show full package data array
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Wed, 12 Feb 2014 21:39:39 +0000 (22:39 +0100)]
Was also to noisy here.
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland 'Quix0r' Haeder [Wed, 12 Feb 2014 21:36:25 +0000 (22:36 +0100)]
Fixed interface usage.
Signed-off-by: Roland 'Quix0r' Haeder <roland@mxchange.org>
Roland 'Quix0r' Haeder [Wed, 12 Feb 2014 21:34:22 +0000 (22:34 +0100)]
Opps.
Signed-off-by: Roland 'Quix0r' Haeder <roland@mxchange.org>
Roland Haeder [Tue, 11 Feb 2014 21:42:32 +0000 (22:42 +0100)]
Added missing but unfinished method.
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Tue, 11 Feb 2014 21:39:47 +0000 (22:39 +0100)]
Merge branch 'master' of git.mxchange.org:/var/cache/git/repos/hub
Roland Haeder [Tue, 11 Feb 2014 21:39:38 +0000 (22:39 +0100)]
Added missing classes.
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland 'Quix0r' Haeder [Tue, 11 Feb 2014 21:38:16 +0000 (22:38 +0100)]
Added DHT recipient discovery interface (wrong computer :-( ).
Signed-off-by: Roland 'Quix0r' Haeder <roland@mxchange.org>
Roland Haeder [Mon, 10 Feb 2014 22:04:45 +0000 (23:04 +0100)]
Grrr... :-(
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Mon, 10 Feb 2014 22:02:42 +0000 (23:02 +0100)]
More debug + assert added.
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Mon, 10 Feb 2014 21:11:45 +0000 (22:11 +0100)]
Fixed debug message.
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Mon, 10 Feb 2014 21:06:10 +0000 (22:06 +0100)]
Added noisy debug lines for finding missing method.
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Sun, 9 Feb 2014 03:02:24 +0000 (04:02 +0100)]
Some missing code added:
- Updated interface NodeDhtWrapper
- Added cleanup of non-public data from DHT entry array
- Again 'core' has "changed" ???
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland 'Quix0r' Haeder [Sun, 9 Feb 2014 01:16:46 +0000 (02:16 +0100)]
:-(
Signed-off-by: Roland 'Quix0r' Haeder <roland@mxchange.org>
Roland Häder [Sun, 9 Feb 2014 01:15:42 +0000 (02:15 +0100)]
Why is this keeping coming? :-(
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Haeder [Sun, 9 Feb 2014 01:12:25 +0000 (02:12 +0100)]
Removed "debug die". ;-)
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Sun, 9 Feb 2014 01:04:22 +0000 (02:04 +0100)]
Used new method from 'core' to inject all array elements from DHT entry as 'config' variables. This shall make them available to the template engine.
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Sun, 9 Feb 2014 00:59:55 +0000 (01:59 +0100)]
Updated 'core'.
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Sun, 9 Feb 2014 00:30:49 +0000 (01:30 +0100)]
Merge branch 'master' of git.mxchange.org:/var/cache/git/repos/hub
Conflicts:
core
Roland Haeder [Sun, 9 Feb 2014 00:29:14 +0000 (01:29 +0100)]
Added unfinished support for XML-based publishing of DHT entries.
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Häder [Sun, 9 Feb 2014 00:28:32 +0000 (01:28 +0100)]
Updated 'core'.
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Haeder [Sat, 8 Feb 2014 22:57:50 +0000 (23:57 +0100)]
Updated TODOs.txt
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Sat, 8 Feb 2014 21:56:37 +0000 (22:56 +0100)]
Added missing methods to interface and BaseDht class.
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Sat, 8 Feb 2014 21:40:42 +0000 (22:40 +0100)]
Added missing file (I did specify -a).
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Sat, 8 Feb 2014 21:39:57 +0000 (22:39 +0100)]
Added unfinished support for publication of DHT entries (all entries in the DHT will be published).
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Sat, 8 Feb 2014 16:10:13 +0000 (17:10 +0100)]
Updating node data in local DHT (not yet distributed here, that will do an other task) basicly finished.
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Fri, 7 Feb 2014 19:34:25 +0000 (20:34 +0100)]
Added assert on node_id as this may happen with broken database file. If you
encounter this asserts, please delete your database files:
$ rm db/*/*.serialized
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Tue, 4 Feb 2014 22:52:27 +0000 (23:52 +0100)]
Don't publish private key in DHT (all data will be published).
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Tue, 4 Feb 2014 19:52:52 +0000 (20:52 +0100)]
Renamed method to better naming scheme ('bootstrapping' node or 'bootstrap node'?).
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Mon, 3 Feb 2014 19:01:31 +0000 (20:01 +0100)]
This license is only valid for files in 'contrib'
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland 'Quix0r' Haeder [Mon, 3 Feb 2014 18:32:56 +0000 (19:32 +0100)]
Merge branch 'contrib'
Conflicts:
.gitattributes
Signed-off-by: Roland 'Quix0r' Haeder <roland@mxchange.org>
Roland 'Quix0r' Haeder [Mon, 3 Feb 2014 18:31:41 +0000 (19:31 +0100)]
moved for later merge to master
Roland Haeder [Mon, 3 Feb 2014 01:11:14 +0000 (02:11 +0100)]
Added 'core' as git submodule
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Häder [Sun, 2 Feb 2014 02:34:27 +0000 (02:34 +0000)]
moved for svn-git transission
Roland Häder [Thu, 23 Jan 2014 21:30:43 +0000 (21:30 +0000)]
md5() isn't really much better, but it needs to be fast, please help to find something that works on 64-bit and 32-bit likewise. Thank you.
Roland Häder [Sat, 19 Oct 2013 15:03:53 +0000 (15:03 +0000)]
Removed code, why do I want to check socket type there? Maybe later it will be re-added
Roland Häder [Fri, 18 Oct 2013 21:53:28 +0000 (21:53 +0000)]
Yeah, still here. Added __METHOD__
Roland Häder [Tue, 30 Jul 2013 07:20:57 +0000 (07:20 +0000)]
Updated domain without a dash :(
Roland Häder [Sun, 28 Jul 2013 23:28:32 +0000 (23:28 +0000)]
Double quotes converted to single
Roland Häder [Thu, 25 Jul 2013 02:29:26 +0000 (02:29 +0000)]
Possible "fix" for wrong cache key:
- $onlyKeys allows to set database table columns that shall be used for
creating a cache key, this can be used to look for a node id/ip/port
combination instead of the default session id.
Roland Häder [Thu, 25 Jul 2013 02:21:20 +0000 (02:21 +0000)]
Added exceptions + some code:
- Added two more exceptions for DHT database wrapper
- Added some code that will check for correct conditions in registerNode() and
updateNode() and makes use of above mentioned exceptions
- Converted more double-quotes to single
Roland Häder [Thu, 25 Jul 2013 01:14:40 +0000 (01:14 +0000)]
Renamed 'stacker' -> 'stack'
Roland Häder [Thu, 25 Jul 2013 00:39:16 +0000 (00:39 +0000)]
Updated TODOS.txt
Roland Häder [Thu, 25 Jul 2013 00:32:01 +0000 (00:32 +0000)]
Added assert() to check if is really an array
Roland Häder [Mon, 22 Jul 2013 00:18:57 +0000 (00:18 +0000)]
Some fixes:
- added missing interface
- added missing space (convention)
- used constant for queu name
- reduced work unit size
Roland Häder [Sun, 21 Jul 2013 22:08:57 +0000 (22:08 +0000)]
One to much ...
Roland Häder [Sun, 21 Jul 2013 22:07:43 +0000 (22:07 +0000)]
Added possible missing interface IteratorAggregate (SPL)