aboutsummaryrefslogtreecommitdiffstats
path: root/src/libcharon/plugins/ha/ha_segments.c
Commit message (Collapse)AuthorAgeFilesLines
* Moved data structures to new collections subfolderTobias Brunner2012-10-241-1/+1
|
* Make rescheduling a job more predictableTobias Brunner2012-06-251-6/+1
| | | | | | | | | | | | | This avoids race conditions between calls to cancel() and jobs that like to be rescheduled. If jobs were able to reschedule themselves it would theoretically be possible that two worker threads have the same job assigned (the one currently executing the job and the one executing the same but rescheduled job if it already is time to execute it), this means that cancel() could be called twice for that job. Creating a new job based on the current one and reschedule that is also OK, but rescheduling itself is more efficient for jobs that need to be executed often.
* Centralized thread cancellation in processor_tTobias Brunner2012-06-251-16/+13
| | | | | | | | | | This ensures that no threads are active when plugins and the rest of the daemon are unloaded. callback_job_t was simplified a lot in the process as its main functionality is now contained in processor_t. The parent-child relationships were abandoned as these were only needed to simplify job cancellation.
* Use name from initialization to access settings in libcharon.Tobias Brunner2012-05-031-2/+4
| | | | Also fixes several whitespace errors.
* Use CRITICAL job priority class for long running dispatcher jobsMartin Willi2011-05-161-2/+2
|
* Added a non-blocking, skipping variant of IKE_SA enumeratorMartin Willi2011-05-161-1/+2
|
* Use wrapped threading functions in ha pluginMartin Willi2011-01-201-8/+6
|
* Refer to scheduler and processor via lib and not hydra.Tobias Brunner2010-09-021-3/+2
|
* Refer to scheduler via hydra and not charon.Tobias Brunner2010-09-021-1/+1
|
* Refer to processor via hydra and not charon.Tobias Brunner2010-09-021-1/+2
|
* Fixed compiler warnings.Tobias Brunner2010-08-031-1/+3
|
* Added strongswan.conf options for HA heartbeatMartin Willi2010-07-261-4/+20
|
* Log CHILD_SA segment responsibilityMartin Willi2010-07-261-0/+7
|
* Use a sync message cache to resynchronize IKE_SAs without rekeyingMartin Willi2010-07-261-109/+11
|
* Delay resynchronization request until starter has loaded the configurationsMartin Willi2010-07-261-2/+4
|
* Replaces in_segment() by a more generic get_segment() functionMartin Willi2010-07-261-4/+4
|
* Migrated ha plugin to INIT/METHOD macrosMartin Willi2010-07-261-46/+31
|
* Updated HA plugin to new APIsMartin Willi2010-04-071-1/+2
|
* Moved ha plugin to libcharonMartin Willi2010-04-071-0/+502