jxta-c/.git
9 years agoFix patch duplication. master git-svn
ExocetRick [Mon, 15 Nov 2010 21:48:13 +0000 (21:48 +0000)]
Fix patch duplication.

git-svn-id: https://svn.java.net/svn/jxta-c~svn@540 005dbbed-4a8c-c7e9-aa6c-a3b009aa7bfb

9 years agoAdd missing file that fixes Rev. 538
ExocetRick [Mon, 15 Nov 2010 18:31:29 +0000 (18:31 +0000)]
Add missing file that fixes Rev. 538

git-svn-id: https://svn.java.net/svn/jxta-c~svn@539 005dbbed-4a8c-c7e9-aa6c-a3b009aa7bfb

9 years agoModifications to support current release of apr 1.4.2 util 1.3.10
ExocetRick [Fri, 12 Nov 2010 22:16:56 +0000 (22:16 +0000)]
Modifications to support current release of apr 1.4.2 util 1.3.10

git-svn-id: https://svn.java.net/svn/jxta-c~svn@538 005dbbed-4a8c-c7e9-aa6c-a3b009aa7bfb

9 years agoPatch adds PlatformConfig options to specify a static instance ID and create replica...
ExocetRick [Mon, 8 Nov 2010 17:46:24 +0000 (17:46 +0000)]
Patch adds PlatformConfig options to specify a static instance ID and create replica, peer and srdi metrics.

git-svn-id: https://svn.java.net/svn/jxta-c~svn@537 005dbbed-4a8c-c7e9-aa6c-a3b009aa7bfb

9 years agofix memory leak
ddeterra [Mon, 1 Nov 2010 08:44:01 +0000 (08:44 +0000)]
fix memory leak

git-svn-id: https://svn.java.net/svn/jxta-c~svn@536 005dbbed-4a8c-c7e9-aa6c-a3b009aa7bfb

9 years agoRemoved an assert used during debugging
ExocetRick [Mon, 1 Nov 2010 06:01:47 +0000 (06:01 +0000)]
Removed an assert used during debugging

git-svn-id: https://svn.java.net/svn/jxta-c~svn@535 005dbbed-4a8c-c7e9-aa6c-a3b009aa7bfb

9 years ago) Changes to handle a peerview that becomes fractured and is joined again.
ExocetRick [Mon, 1 Nov 2010 05:47:08 +0000 (05:47 +0000)]
) Changes to handle a peerview that becomes fractured and is joined again.
2) Enhanced algorithm that allows configuration of minimum and percentage of replica differences before a peers are switched in the peerview.

git-svn-id: https://svn.java.net/svn/jxta-c~svn@534 005dbbed-4a8c-c7e9-aa6c-a3b009aa7bfb

9 years agoprevent race condition segfault
ddeterra [Thu, 28 Oct 2010 05:27:28 +0000 (05:27 +0000)]
prevent race condition segfault

git-svn-id: https://svn.java.net/svn/jxta-c~svn@533 005dbbed-4a8c-c7e9-aa6c-a3b009aa7bfb

9 years ago1.) fix memory leaks of the options_entry
ddeterra [Wed, 27 Oct 2010 04:50:03 +0000 (04:50 +0000)]
1.) fix memory leaks of the options_entry
2.) prevent rdv_service_client segfault when pve pid is being reset

git-svn-id: https://svn.java.net/svn/jxta-c~svn@532 005dbbed-4a8c-c7e9-aa6c-a3b009aa7bfb

9 years agofix over-release caused by the previous memory leak fix. options object is now share...
ddeterra [Tue, 26 Oct 2010 22:42:07 +0000 (22:42 +0000)]
fix over-release caused by the previous memory leak fix.  options object is now shared properly.

git-svn-id: https://svn.java.net/svn/jxta-c~svn@531 005dbbed-4a8c-c7e9-aa6c-a3b009aa7bfb

9 years agomemory leak
ddeterra [Tue, 26 Oct 2010 21:04:57 +0000 (21:04 +0000)]
memory leak

git-svn-id: https://svn.java.net/svn/jxta-c~svn@530 005dbbed-4a8c-c7e9-aa6c-a3b009aa7bfb

9 years agoIf the lease is greater than the default use it for the local publish of the PA.
ExocetRick [Tue, 26 Oct 2010 19:59:02 +0000 (19:59 +0000)]
If the lease is greater than the default use it for the local publish of the PA.

git-svn-id: https://svn.java.net/svn/jxta-c~svn@529 005dbbed-4a8c-c7e9-aa6c-a3b009aa7bfb

9 years agoUse the metrics received in the address request when a peer has a current hash. It...
ExocetRick [Tue, 26 Oct 2010 19:57:17 +0000 (19:57 +0000)]
Use the metrics received in the address request when a peer has a current hash. It allows a peer to keep its current address.

git-svn-id: https://svn.java.net/svn/jxta-c~svn@528 005dbbed-4a8c-c7e9-aa6c-a3b009aa7bfb

9 years agoprevent deadlock
ddeterra [Mon, 11 Oct 2010 18:08:15 +0000 (18:08 +0000)]
prevent deadlock

git-svn-id: https://svn.java.net/svn/jxta-c~svn@527 005dbbed-4a8c-c7e9-aa6c-a3b009aa7bfb

9 years ago1.) fix double release of pve reference
ddeterra [Mon, 11 Oct 2010 12:47:06 +0000 (12:47 +0000)]
1.) fix double release of pve reference
2.) prevent segfaults resulting from threads running after the peerview is destroyed.

git-svn-id: https://svn.java.net/svn/jxta-c~svn@526 005dbbed-4a8c-c7e9-aa6c-a3b009aa7bfb

9 years agoNeed to check both endpoint and messenger traffic shaping if a messenger traffic...
ddeterra [Sat, 9 Oct 2010 05:09:24 +0000 (05:09 +0000)]
Need to check both endpoint and messenger traffic shaping if a messenger traffic shaping object is present

git-svn-id: https://svn.java.net/svn/jxta-c~svn@525 005dbbed-4a8c-c7e9-aa6c-a3b009aa7bfb

9 years ago1) Fix for using "frame" as the max option.
ExocetRick [Fri, 8 Oct 2010 23:03:36 +0000 (23:03 +0000)]
1) Fix for using "frame" as the max option.
2) Better diagnostic messages

git-svn-id: https://svn.java.net/svn/jxta-c~svn@524 005dbbed-4a8c-c7e9-aa6c-a3b009aa7bfb

9 years ago1.) prevent cross-contamination when filtering
ddeterra [Fri, 8 Oct 2010 05:37:23 +0000 (05:37 +0000)]
1.) prevent cross-contamination when filtering
2.) check to see if a msgr is already in the waiting queue before adding it

git-svn-id: https://svn.java.net/svn/jxta-c~svn@523 005dbbed-4a8c-c7e9-aa6c-a3b009aa7bfb

9 years ago1) Handle the endpoint config adv properly
ExocetRick [Fri, 8 Oct 2010 02:01:52 +0000 (02:01 +0000)]
1) Handle the endpoint config adv properly
2) Fix flow control message returning max option incorrectly

git-svn-id: https://svn.java.net/svn/jxta-c~svn@522 005dbbed-4a8c-c7e9-aa6c-a3b009aa7bfb

9 years agouse traffic shaping interval to determine pending wait time
ddeterra [Thu, 7 Oct 2010 20:38:31 +0000 (20:38 +0000)]
use traffic shaping interval to determine pending wait time

git-svn-id: https://svn.java.net/svn/jxta-c~svn@521 005dbbed-4a8c-c7e9-aa6c-a3b009aa7bfb

9 years ago1.) Reduce traffic shaping logging
ddeterra [Thu, 7 Oct 2010 15:09:53 +0000 (15:09 +0000)]
1.) Reduce traffic shaping logging
2.) Reduce shutdown time under load
3.) Fix Compiler warnings
4.) Fix memory leaks
5.) Fix segfault when accessing group services after the group has been destroyed
6.) Add round-robin processing of messengers with waiting messages
7.) Improve detection of endpoint service stopping
8.) Prevent deadlock in peerview when handling address assign messages
9.) Prevent segfault/deadlock when switching rdv provider and stopping

git-svn-id: https://svn.java.net/svn/jxta-c~svn@520 005dbbed-4a8c-c7e9-aa6c-a3b009aa7bfb

9 years agogit-svn-id: https://svn.java.net/svn/jxta-c~svn@519 005dbbed-4a8c-c7e9-aa6c-a3b009aa7bfb
mmx2005 [Thu, 7 Oct 2010 08:43:21 +0000 (08:43 +0000)]
git-svn-id: https://svn.java.net/svn/jxta-c~svn@519 005dbbed-4a8c-c7e9-aa6c-a3b009aa7bfb

9 years agoAdd the static advid to the srdi entry element when the advid is null.
ExocetRick [Thu, 7 Oct 2010 05:11:53 +0000 (05:11 +0000)]
Add the static advid to the srdi entry element when the advid is null.

git-svn-id: https://svn.java.net/svn/jxta-c~svn@518 005dbbed-4a8c-c7e9-aa6c-a3b009aa7bfb

9 years agoCreate a hidden advid in the srdi element so the adv hash has a key when the advid...
ExocetRick [Thu, 7 Oct 2010 03:03:00 +0000 (03:03 +0000)]
Create a hidden advid in the srdi element so the adv hash has a key when the advid is NULL in the element.

git-svn-id: https://svn.java.net/svn/jxta-c~svn@517 005dbbed-4a8c-c7e9-aa6c-a3b009aa7bfb

9 years agomemory leak
ExocetRick [Tue, 5 Oct 2010 03:07:47 +0000 (03:07 +0000)]
memory leak

git-svn-id: https://svn.java.net/svn/jxta-c~svn@516 005dbbed-4a8c-c7e9-aa6c-a3b009aa7bfb

9 years agoHandle messages that do not fit within a frame and provide warning messages.
ExocetRick [Tue, 5 Oct 2010 03:06:37 +0000 (03:06 +0000)]
Handle messages that do not fit within a frame and provide warning messages.

git-svn-id: https://svn.java.net/svn/jxta-c~svn@515 005dbbed-4a8c-c7e9-aa6c-a3b009aa7bfb

9 years agofix various memory leaks, compiler warnings, and segfaults. Also introduce logic...
ddeterra [Fri, 1 Oct 2010 22:40:17 +0000 (22:40 +0000)]
fix various memory leaks, compiler warnings, and segfaults.  Also introduce logic to cleanup traffic shaping queues on service shutdown.

git-svn-id: https://svn.java.net/svn/jxta-c~svn@514 005dbbed-4a8c-c7e9-aa6c-a3b009aa7bfb

9 years agoMemory leaks
ExocetRick [Thu, 30 Sep 2010 15:50:37 +0000 (15:50 +0000)]
Memory leaks

git-svn-id: https://svn.java.net/svn/jxta-c~svn@513 005dbbed-4a8c-c7e9-aa6c-a3b009aa7bfb

9 years agoFix double release
ExocetRick [Thu, 30 Sep 2010 15:49:55 +0000 (15:49 +0000)]
Fix double release

git-svn-id: https://svn.java.net/svn/jxta-c~svn@512 005dbbed-4a8c-c7e9-aa6c-a3b009aa7bfb

9 years agoMemory leaks
ExocetRick [Thu, 30 Sep 2010 14:46:43 +0000 (14:46 +0000)]
Memory leaks

git-svn-id: https://svn.java.net/svn/jxta-c~svn@511 005dbbed-4a8c-c7e9-aa6c-a3b009aa7bfb

9 years agoImprove filtering by only parsing the endpoint message once
ExocetRick [Wed, 29 Sep 2010 21:40:37 +0000 (21:40 +0000)]
Improve filtering by only parsing the endpoint message once

git-svn-id: https://svn.java.net/svn/jxta-c~svn@510 005dbbed-4a8c-c7e9-aa6c-a3b009aa7bfb

9 years agofix unitialized variable in traffic shaping
ddeterra [Wed, 29 Sep 2010 03:54:05 +0000 (03:54 +0000)]
fix unitialized variable in traffic shaping
memory leaks in peerview
prevent error logs in resolver
improve shutdown response in cm

git-svn-id: https://svn.java.net/svn/jxta-c~svn@509 005dbbed-4a8c-c7e9-aa6c-a3b009aa7bfb

9 years agofix typo
ddeterra [Tue, 28 Sep 2010 15:05:43 +0000 (15:05 +0000)]
fix typo

git-svn-id: https://svn.java.net/svn/jxta-c~svn@508 005dbbed-4a8c-c7e9-aa6c-a3b009aa7bfb

9 years agomemory leaks and mismatched return_func signatures
ddeterra [Tue, 28 Sep 2010 04:34:13 +0000 (04:34 +0000)]
memory leaks and mismatched return_func signatures

git-svn-id: https://svn.java.net/svn/jxta-c~svn@507 005dbbed-4a8c-c7e9-aa6c-a3b009aa7bfb

9 years agoSRDI modifications that use the endpoint callback
ExocetRick [Sat, 25 Sep 2010 00:11:28 +0000 (00:11 +0000)]
SRDI modifications that use the endpoint callback

git-svn-id: https://svn.java.net/svn/jxta-c~svn@506 005dbbed-4a8c-c7e9-aa6c-a3b009aa7bfb

9 years agorework the rdv_switching mutex
brian_wilson [Fri, 24 Sep 2010 22:25:06 +0000 (22:25 +0000)]
rework the rdv_switching mutex

git-svn-id: https://svn.java.net/svn/jxta-c~svn@505 005dbbed-4a8c-c7e9-aa6c-a3b009aa7bfb

9 years agoprotect the rdv switching function to allow only one thread to perform a switch at...
brian_wilson [Fri, 24 Sep 2010 21:20:36 +0000 (21:20 +0000)]
protect the rdv switching function to allow only one thread to perform a switch at a time

git-svn-id: https://svn.java.net/svn/jxta-c~svn@504 005dbbed-4a8c-c7e9-aa6c-a3b009aa7bfb

9 years agomemory leak
ddeterra [Fri, 24 Sep 2010 21:02:35 +0000 (21:02 +0000)]
memory leak

git-svn-id: https://svn.java.net/svn/jxta-c~svn@503 005dbbed-4a8c-c7e9-aa6c-a3b009aa7bfb

9 years agomemory leaks
ddeterra [Fri, 24 Sep 2010 20:01:40 +0000 (20:01 +0000)]
memory leaks

git-svn-id: https://svn.java.net/svn/jxta-c~svn@502 005dbbed-4a8c-c7e9-aa6c-a3b009aa7bfb

9 years agoRemove code that is in error
ExocetRick [Fri, 24 Sep 2010 13:38:01 +0000 (13:38 +0000)]
Remove code that is in error

git-svn-id: https://svn.java.net/svn/jxta-c~svn@501 005dbbed-4a8c-c7e9-aa6c-a3b009aa7bfb

9 years agoChange to async
ExocetRick [Thu, 23 Sep 2010 22:54:27 +0000 (22:54 +0000)]
Change to async

git-svn-id: https://svn.java.net/svn/jxta-c~svn@500 005dbbed-4a8c-c7e9-aa6c-a3b009aa7bfb

9 years agoRemove the filter list from the return parms and provide it in the callback.
ExocetRick [Thu, 23 Sep 2010 22:51:55 +0000 (22:51 +0000)]
Remove the filter list from the return parms and provide it in the callback.

git-svn-id: https://svn.java.net/svn/jxta-c~svn@499 005dbbed-4a8c-c7e9-aa6c-a3b009aa7bfb

9 years agofix ep thread struct handling
ddeterra [Thu, 23 Sep 2010 20:15:00 +0000 (20:15 +0000)]
fix ep thread struct handling

git-svn-id: https://svn.java.net/svn/jxta-c~svn@498 005dbbed-4a8c-c7e9-aa6c-a3b009aa7bfb

9 years agomemory leak fix
ddeterra [Thu, 23 Sep 2010 15:44:48 +0000 (15:44 +0000)]
memory leak fix

git-svn-id: https://svn.java.net/svn/jxta-c~svn@497 005dbbed-4a8c-c7e9-aa6c-a3b009aa7bfb

9 years agomemory leak
ddeterra [Thu, 23 Sep 2010 14:32:18 +0000 (14:32 +0000)]
memory leak

git-svn-id: https://svn.java.net/svn/jxta-c~svn@496 005dbbed-4a8c-c7e9-aa6c-a3b009aa7bfb

9 years agofix memory leaks and messenger queue locking
ddeterra [Wed, 22 Sep 2010 22:08:04 +0000 (22:08 +0000)]
fix memory leaks and messenger queue locking

git-svn-id: https://svn.java.net/svn/jxta-c~svn@495 005dbbed-4a8c-c7e9-aa6c-a3b009aa7bfb

9 years agofix warnings
ddeterra [Wed, 22 Sep 2010 20:13:06 +0000 (20:13 +0000)]
fix warnings

git-svn-id: https://svn.java.net/svn/jxta-c~svn@494 005dbbed-4a8c-c7e9-aa6c-a3b009aa7bfb

9 years agoProvide callbacks to services from the endpoint to request reduction or filtering...
ExocetRick [Wed, 22 Sep 2010 16:57:39 +0000 (16:57 +0000)]
Provide callbacks to services from the endpoint to request reduction or filtering from the service

git-svn-id: https://svn.java.net/svn/jxta-c~svn@493 005dbbed-4a8c-c7e9-aa6c-a3b009aa7bfb

9 years agochange shutdown order and have disc check if running before sending srdi updates
brian_wilson [Fri, 17 Sep 2010 20:39:09 +0000 (20:39 +0000)]
change shutdown order and have disc check if running before sending srdi updates

git-svn-id: https://svn.java.net/svn/jxta-c~svn@492 005dbbed-4a8c-c7e9-aa6c-a3b009aa7bfb

9 years agoremove srdi check on cm shutdown
brian_wilson [Thu, 16 Sep 2010 22:18:58 +0000 (22:18 +0000)]
remove srdi check on cm shutdown

git-svn-id: https://svn.java.net/svn/jxta-c~svn@491 005dbbed-4a8c-c7e9-aa6c-a3b009aa7bfb

9 years agofix typo
brian_wilson [Wed, 15 Sep 2010 20:24:17 +0000 (20:24 +0000)]
fix typo

git-svn-id: https://svn.java.net/svn/jxta-c~svn@490 005dbbed-4a8c-c7e9-aa6c-a3b009aa7bfb

9 years agostop cm processing at shutdown
brian_wilson [Wed, 15 Sep 2010 20:19:15 +0000 (20:19 +0000)]
stop cm processing at shutdown

git-svn-id: https://svn.java.net/svn/jxta-c~svn@489 005dbbed-4a8c-c7e9-aa6c-a3b009aa7bfb

9 years agofix typos
ddeterra [Fri, 3 Sep 2010 20:26:35 +0000 (20:26 +0000)]
fix typos

git-svn-id: https://svn.java.net/svn/jxta-c~svn@488 005dbbed-4a8c-c7e9-aa6c-a3b009aa7bfb

9 years agoprevent removed_entries pointer from being overwritten
ddeterra [Wed, 1 Sep 2010 21:25:12 +0000 (21:25 +0000)]
prevent removed_entries pointer from being overwritten

git-svn-id: https://svn.java.net/svn/jxta-c~svn@487 005dbbed-4a8c-c7e9-aa6c-a3b009aa7bfb

9 years agofix locking issues
ddeterra [Wed, 1 Sep 2010 06:07:21 +0000 (06:07 +0000)]
fix locking issues

git-svn-id: https://svn.java.net/svn/jxta-c~svn@486 005dbbed-4a8c-c7e9-aa6c-a3b009aa7bfb

9 years agoimprovements for locking/memory leaks/shutdown detection
ddeterra [Tue, 31 Aug 2010 06:21:39 +0000 (06:21 +0000)]
improvements for locking/memory leaks/shutdown detection

git-svn-id: https://svn.java.net/svn/jxta-c~svn@485 005dbbed-4a8c-c7e9-aa6c-a3b009aa7bfb

9 years agofix logging, ts msgr locking and replace required discovery response fields
ddeterra [Sat, 28 Aug 2010 05:02:25 +0000 (05:02 +0000)]
fix logging, ts msgr locking and replace required discovery response fields

git-svn-id: https://svn.java.net/svn/jxta-c~svn@484 005dbbed-4a8c-c7e9-aa6c-a3b009aa7bfb

9 years ago1) Fix the discovery traffic shaping to handle splitting responses correctly.
ExocetRick [Fri, 27 Aug 2010 07:21:09 +0000 (07:21 +0000)]
1) Fix the discovery traffic shaping to handle splitting responses correctly.
2) Various logging level changes.

git-svn-id: https://svn.java.net/svn/jxta-c~svn@483 005dbbed-4a8c-c7e9-aa6c-a3b009aa7bfb

9 years agoadditional memory leak
ddeterra [Thu, 26 Aug 2010 02:02:54 +0000 (02:02 +0000)]
additional memory leak

git-svn-id: https://svn.java.net/svn/jxta-c~svn@482 005dbbed-4a8c-c7e9-aa6c-a3b009aa7bfb

9 years agofix memory leaks
ddeterra [Wed, 25 Aug 2010 22:19:43 +0000 (22:19 +0000)]
fix memory leaks

git-svn-id: https://svn.java.net/svn/jxta-c~svn@481 005dbbed-4a8c-c7e9-aa6c-a3b009aa7bfb

9 years agofix traffic shaping messenger locking and add mutex protection for handling duplicati...
ddeterra [Wed, 25 Aug 2010 18:00:00 +0000 (18:00 +0000)]
fix traffic shaping messenger locking and add mutex protection for handling duplication responses

git-svn-id: https://svn.java.net/svn/jxta-c~svn@480 005dbbed-4a8c-c7e9-aa6c-a3b009aa7bfb

9 years agoCreate messenger in the router client
ExocetRick [Wed, 25 Aug 2010 07:11:44 +0000 (07:11 +0000)]
Create messenger in the router client

git-svn-id: https://svn.java.net/svn/jxta-c~svn@479 005dbbed-4a8c-c7e9-aa6c-a3b009aa7bfb

9 years agoLock the correct object
ExocetRick [Wed, 25 Aug 2010 05:31:04 +0000 (05:31 +0000)]
Lock the correct object

git-svn-id: https://svn.java.net/svn/jxta-c~svn@478 005dbbed-4a8c-c7e9-aa6c-a3b009aa7bfb

9 years agoCreate a constructor/destructor for the endpoint messenger
ExocetRick [Wed, 25 Aug 2010 02:36:59 +0000 (02:36 +0000)]
Create a constructor/destructor for the endpoint messenger

git-svn-id: https://svn.java.net/svn/jxta-c~svn@477 005dbbed-4a8c-c7e9-aa6c-a3b009aa7bfb

9 years agoallow peerview to use rendezvous seeds
ddeterra [Wed, 25 Aug 2010 00:05:48 +0000 (00:05 +0000)]
allow peerview to use rendezvous seeds

git-svn-id: https://svn.java.net/svn/jxta-c~svn@476 005dbbed-4a8c-c7e9-aa6c-a3b009aa7bfb

9 years agoAdd logging to aid in tracking client connections
ddeterra [Tue, 24 Aug 2010 16:06:14 +0000 (16:06 +0000)]
Add logging to aid in tracking client connections

git-svn-id: https://svn.java.net/svn/jxta-c~svn@475 005dbbed-4a8c-c7e9-aa6c-a3b009aa7bfb

9 years agofix logic error causing a client to not try additional rendezvous nodes
ddeterra [Tue, 24 Aug 2010 02:52:18 +0000 (02:52 +0000)]
fix logic error causing a client to not try additional rendezvous nodes

git-svn-id: https://svn.java.net/svn/jxta-c~svn@474 005dbbed-4a8c-c7e9-aa6c-a3b009aa7bfb

9 years agoFix compiler error and uninitialized variables.
ExocetRick [Mon, 23 Aug 2010 18:30:09 +0000 (18:30 +0000)]
Fix compiler error and uninitialized variables.

git-svn-id: https://svn.java.net/svn/jxta-c~svn@473 005dbbed-4a8c-c7e9-aa6c-a3b009aa7bfb

9 years ago1) Add traffic shaping to discovery responses
ExocetRick [Mon, 23 Aug 2010 15:56:15 +0000 (15:56 +0000)]
1) Add traffic shaping to discovery responses
2) Add query optimization by removing queued responses from the identical query.
3) Adjust various logging levels

git-svn-id: https://svn.java.net/svn/jxta-c~svn@472 005dbbed-4a8c-c7e9-aa6c-a3b009aa7bfb

9 years agofixes to maintain skip algorithm and modification to auto-cycle demotion logic such...
ddeterra [Sat, 21 Aug 2010 07:01:24 +0000 (07:01 +0000)]
fixes to maintain skip algorithm and modification to auto-cycle demotion logic such that the demotion and disconnect is not done until the cycle before it will be allowed

git-svn-id: https://svn.java.net/svn/jxta-c~svn@471 005dbbed-4a8c-c7e9-aa6c-a3b009aa7bfb

9 years ago1) Issue broadcast pings less frequently as the peerview is filled.
ExocetRick [Fri, 20 Aug 2010 23:47:39 +0000 (23:47 +0000)]
1) Issue broadcast pings less frequently as the peerview is filled.
2) Do not continue maintenance on the peerview while demoting.

git-svn-id: https://svn.java.net/svn/jxta-c~svn@470 005dbbed-4a8c-c7e9-aa6c-a3b009aa7bfb

9 years agofix the shedding of rendezvous obligations to disconnect from clients and other peerv...
ddeterra [Fri, 20 Aug 2010 20:34:44 +0000 (20:34 +0000)]
fix the shedding of rendezvous obligations to disconnect from clients and other peerview members when demoting

git-svn-id: https://svn.java.net/svn/jxta-c~svn@469 005dbbed-4a8c-c7e9-aa6c-a3b009aa7bfb

9 years agoRemove sending a pong in response to a broadcast ping by an auto rendezvous client.
ExocetRick [Thu, 19 Aug 2010 21:36:17 +0000 (21:36 +0000)]
Remove sending a pong in response to a broadcast ping by an auto rendezvous client.

git-svn-id: https://svn.java.net/svn/jxta-c~svn@468 005dbbed-4a8c-c7e9-aa6c-a3b009aa7bfb

9 years agodo not store the local peer as a referral
ddeterra [Thu, 19 Aug 2010 21:22:28 +0000 (21:22 +0000)]
do not store the local peer as a referral
do not ignore oeer responding with referrals unless already connected or the responding peer is disconnecting.

git-svn-id: https://svn.java.net/svn/jxta-c~svn@467 005dbbed-4a8c-c7e9-aa6c-a3b009aa7bfb

9 years agoFix for peers not receiving an address when joining a new peerview instance.
ExocetRick [Thu, 19 Aug 2010 15:48:17 +0000 (15:48 +0000)]
Fix for peers not receiving an address when joining a new peerview instance.

git-svn-id: https://svn.java.net/svn/jxta-c~svn@466 005dbbed-4a8c-c7e9-aa6c-a3b009aa7bfb

9 years agoUpon receipt of a broadcasat ping only send the pong message to peers not in the...
ExocetRick [Wed, 18 Aug 2010 12:55:15 +0000 (12:55 +0000)]
Upon receipt of a broadcasat ping only send the pong message to peers not in the peerview unless a pong is due.

git-svn-id: https://svn.java.net/svn/jxta-c~svn@465 005dbbed-4a8c-c7e9-aa6c-a3b009aa7bfb

9 years agoBackout discovery flow control revision
ExocetRick [Tue, 17 Aug 2010 23:45:57 +0000 (23:45 +0000)]
Backout discovery flow control revision

git-svn-id: https://svn.java.net/svn/jxta-c~svn@464 005dbbed-4a8c-c7e9-aa6c-a3b009aa7bfb

9 years ago1) Add traffic shaping to discovery responses.
ExocetRick [Tue, 17 Aug 2010 19:21:57 +0000 (19:21 +0000)]
1) Add traffic shaping to discovery responses.
2) Add query optimization by removing queued responses from the identical query.
3) Adjust various logging levels.

git-svn-id: https://svn.java.net/svn/jxta-c~svn@463 005dbbed-4a8c-c7e9-aa6c-a3b009aa7bfb

9 years agoAdd missing local variable
ExocetRick [Tue, 17 Aug 2010 19:09:16 +0000 (19:09 +0000)]
Add missing local variable

git-svn-id: https://svn.java.net/svn/jxta-c~svn@462 005dbbed-4a8c-c7e9-aa6c-a3b009aa7bfb

9 years agordv seed searching patch
brian_wilson [Fri, 13 Aug 2010 22:12:33 +0000 (22:12 +0000)]
rdv seed searching patch

git-svn-id: https://svn.java.net/svn/jxta-c~svn@461 005dbbed-4a8c-c7e9-aa6c-a3b009aa7bfb

9 years agofuture compatibility changes
brian_wilson [Fri, 13 Aug 2010 22:10:57 +0000 (22:10 +0000)]
future compatibility changes

git-svn-id: https://svn.java.net/svn/jxta-c~svn@460 005dbbed-4a8c-c7e9-aa6c-a3b009aa7bfb

9 years agoFix segfault when releasing metric_options_entry outside the peerview mutex
ExocetRick [Fri, 13 Aug 2010 17:08:16 +0000 (17:08 +0000)]
Fix segfault when releasing metric_options_entry outside the peerview mutex

git-svn-id: https://svn.java.net/svn/jxta-c~svn@459 005dbbed-4a8c-c7e9-aa6c-a3b009aa7bfb

9 years agoFix deadlock condtion when the peerview gets metrics from the rendezvous while the...
ExocetRick [Thu, 12 Aug 2010 20:53:11 +0000 (20:53 +0000)]
Fix deadlock condtion when the peerview gets metrics from the rendezvous while the peerview mutex is locked.

git-svn-id: https://svn.java.net/svn/jxta-c~svn@458 005dbbed-4a8c-c7e9-aa6c-a3b009aa7bfb

9 years agoAdd new files used by the PING broadcast
ExocetRick [Wed, 11 Aug 2010 02:33:54 +0000 (02:33 +0000)]
Add new files used by the PING broadcast

git-svn-id: https://svn.java.net/svn/jxta-c~svn@457 005dbbed-4a8c-c7e9-aa6c-a3b009aa7bfb

9 years ago1) Add a broadcast ping to locate other peerview instances.
ExocetRick [Tue, 10 Aug 2010 23:10:51 +0000 (23:10 +0000)]
1) Add a broadcast ping to locate other peerview instances.
2) Add srdi and replica metrics to ping and pong msgs
3) Modify messaging to accomodate future work. Looser message validation.
4) Fix problem with demotion of auto rendezvous peers.
5) Fix for duplicate hash addresses when peerviews switch instances frequently.
6) Fix mutex handling in the peerview causing deadlocks.

git-svn-id: https://svn.java.net/svn/jxta-c~svn@456 005dbbed-4a8c-c7e9-aa6c-a3b009aa7bfb

9 years agoFix segfault when there is no free list available
ExocetRick [Mon, 26 Jul 2010 19:25:02 +0000 (19:25 +0000)]
Fix segfault when there is no free list available

git-svn-id: https://svn.java.net/svn/jxta-c~svn@455 005dbbed-4a8c-c7e9-aa6c-a3b009aa7bfb

9 years agoFix status being initialized with incorrect type.
ExocetRick [Tue, 8 Jun 2010 16:50:44 +0000 (16:50 +0000)]
Fix status being initialized with incorrect type.

git-svn-id: https://svn.java.net/svn/jxta-c~svn@454 005dbbed-4a8c-c7e9-aa6c-a3b009aa7bfb

9 years agoCreate call backs for endpoint and flow control messages
ExocetRick [Fri, 4 Jun 2010 16:38:07 +0000 (16:38 +0000)]
Create call backs for endpoint and flow control messages

git-svn-id: https://svn.java.net/svn/jxta-c~svn@453 005dbbed-4a8c-c7e9-aa6c-a3b009aa7bfb

9 years agoIssue 71: Provide exponential backoff for connect cycle fast
ddeterra [Tue, 11 May 2010 23:43:34 +0000 (23:43 +0000)]
Issue 71: Provide exponential backoff for connect cycle fast
Also increase default connect cycle fast to 4 seconds to be a little less aggressive

git-svn-id: https://svn.java.net/svn/jxta-c~svn@452 005dbbed-4a8c-c7e9-aa6c-a3b009aa7bfb

9 years agofix auto-cycle startup when cycle time is set after creation of the peerview and...
ddeterra [Tue, 11 May 2010 22:36:39 +0000 (22:36 +0000)]
fix auto-cycle startup when cycle time is set after creation of the peerview and the peer is configured as a rendezvous

git-svn-id: https://svn.java.net/svn/jxta-c~svn@451 005dbbed-4a8c-c7e9-aa6c-a3b009aa7bfb

9 years agouse appropriate type for status
ddeterra [Tue, 11 May 2010 19:34:38 +0000 (19:34 +0000)]
use appropriate type for status

git-svn-id: https://svn.java.net/svn/jxta-c~svn@450 005dbbed-4a8c-c7e9-aa6c-a3b009aa7bfb

9 years agomodify candidate list callback apis to provide the group
ddeterra [Tue, 11 May 2010 18:07:40 +0000 (18:07 +0000)]
modify candidate list callback apis to provide the group
expose the rdv_lease_options api to allow applications to provide
ranking callbacks that take suitability and willingness into account

git-svn-id: https://svn.java.net/svn/jxta-c~svn@449 005dbbed-4a8c-c7e9-aa6c-a3b009aa7bfb

9 years agoOnly ignore traffic shaping for the messenger if the message is too large and cannot...
ExocetRick [Fri, 7 May 2010 21:59:24 +0000 (21:59 +0000)]
Only ignore traffic shaping for the messenger if the message is too large and cannot be split

git-svn-id: https://svn.java.net/svn/jxta-c~svn@448 005dbbed-4a8c-c7e9-aa6c-a3b009aa7bfb

9 years agoRemove legacy flow control configuration parameters
ExocetRick [Fri, 7 May 2010 19:42:38 +0000 (19:42 +0000)]
Remove legacy flow control configuration parameters

git-svn-id: https://svn.java.net/svn/jxta-c~svn@447 005dbbed-4a8c-c7e9-aa6c-a3b009aa7bfb

9 years agoIf a message exceeds the length after being split already send original message
ExocetRick [Fri, 7 May 2010 19:40:20 +0000 (19:40 +0000)]
If a message exceeds the length after being split already send original message

git-svn-id: https://svn.java.net/svn/jxta-c~svn@446 005dbbed-4a8c-c7e9-aa6c-a3b009aa7bfb

9 years ago1) Inherit the frame and interval from local configuration rather than the flow contr...
ExocetRick [Fri, 7 May 2010 16:52:33 +0000 (16:52 +0000)]
1) Inherit the frame and interval from local configuration rather than the flow control message.
2) Adjust logging levels for traffic shaping and the endpoint

git-svn-id: https://svn.java.net/svn/jxta-c~svn@445 005dbbed-4a8c-c7e9-aa6c-a3b009aa7bfb

9 years agoFix double release
ddeterra [Fri, 7 May 2010 16:30:29 +0000 (16:30 +0000)]
Fix double release

git-svn-id: https://svn.java.net/svn/jxta-c~svn@444 005dbbed-4a8c-c7e9-aa6c-a3b009aa7bfb

9 years agomemory leak
ddeterra [Fri, 7 May 2010 03:51:21 +0000 (03:51 +0000)]
memory leak

git-svn-id: https://svn.java.net/svn/jxta-c~svn@443 005dbbed-4a8c-c7e9-aa6c-a3b009aa7bfb

9 years agoIssue 72 update that enables flow control
ExocetRick [Wed, 5 May 2010 10:06:05 +0000 (10:06 +0000)]
Issue 72 update that enables flow control

git-svn-id: https://svn.java.net/svn/jxta-c~svn@442 005dbbed-4a8c-c7e9-aa6c-a3b009aa7bfb

9 years agoFix inconsistent definition in the resolver
ExocetRick [Mon, 3 May 2010 16:39:47 +0000 (16:39 +0000)]
Fix inconsistent definition in the resolver

git-svn-id: https://svn.java.net/svn/jxta-c~svn@441 005dbbed-4a8c-c7e9-aa6c-a3b009aa7bfb