Anthony Minessale
30e4c71bbe
FS-4996 --resolve
2013-01-08 13:01:07 -06:00
Seven Du
5ff654dab5
fix NIL case
2012-10-23 10:44:51 +08:00
Anthony Minessale
a39ba84f5e
FS-4458 --resolve
2012-09-20 09:55:47 -05:00
Seven Du
9c1c911648
fix lost bindings when list
2012-09-13 11:33:16 +08:00
Seven Du
bd66d7eaa6
show bindings and handlers
2012-07-23 21:15:53 +08:00
Seven Du
49dcd8c889
make erlang log less verbose and add erlang debug on|off to control
2012-07-23 20:26:48 +08:00
Seven Du
f55f15c888
accept binary in api and bgapi
2012-07-15 12:44:26 +08:00
Darren Schreiber
5bc2745472
Avoid segfault and race condition when socket is destroyed while listener is in use.
2012-07-05 01:47:07 -07:00
dschreiber
1e696d2c93
FS-3577 : After Tamas's fixes and new logging so we can see the erl_errors, re-applying this 10ms polling interval patch that Tony committed a few months ago. Please report any issues.
2012-06-19 09:13:29 -07:00
dschreiber
7e6018985c
Merge remote branch 'origin/master' into FS-3432
2012-06-19 08:10:54 -07:00
Tamas Cseke
794f8cfb8b
reply state seems to be unnecessary FS-3432
2012-06-12 11:37:35 +02:00
Tamas Cseke
44fb1d00d7
fix session hash rwlock vs reply mutex order FS-3432
2012-06-12 11:34:20 +02:00
dschreiber
3858e625a4
The fix for FS-3577 causes instabilities if multiple listeners are connected it seems. Undoing this change for now until I can figure out the root cause.
2012-06-11 21:59:47 -07:00
Tamas Cseke
3f6b5a5c01
fix reply timeout: move hash and pid to session pool FS-3432
2012-06-11 17:25:28 +02:00
Tamas Cseke
d2e9e46eb6
move session destroy to one place and hangup in others to eliminate races and minimize session hash wrlocks FS-3432
2012-06-11 15:03:58 +02:00
Tamas Cseke
83f230cce6
fix possible memory leak FS-3432
2012-06-11 15:00:32 +02:00
Tamas Cseke
ae4d3acbb3
cleanup FS-3432
2012-06-08 17:24:23 +02:00
Tamas Cseke
19db96d2ba
channel private is already removed we don't need to remove the state handler FS-3432
2012-06-08 17:23:07 +02:00
Tamas Cseke
9dc9ee974c
doh FS-3423
2012-05-24 16:19:01 +02:00
Tamas Cseke
377f6a9ef6
remove channel private, state handler and clear controlled flag on destroy FS-3432
2012-05-24 16:12:55 +02:00
Tamas Cseke
2be25c6a56
remove removal while traversing the hash and and lock to elimate race FS-3432
2012-05-24 15:14:14 +02:00
Tamas Cseke
78641d4264
cleanup process spawning, remove mutex lock and add session to listener only if reply state and session flag is set to waiting FS-3432
2012-05-24 14:55:29 +02:00
Tamas Cseke
85656c31af
add session event r/w locking FS-3432
2012-05-24 11:44:12 +02:00
Tamas Cseke
87f65f1784
add session r/w locking FS-3432
2012-05-24 11:32:15 +02:00
Tamas Cseke
fdd3a8d333
set and clear session flags locked FS-3432
2012-05-24 11:16:26 +02:00
Tamas Cseke
4e6b56c53d
add listener event r/w locking FS-3432
2012-05-24 10:57:28 +02:00
Tamas Cseke
eade657225
listener r/w locking FS-3432
2012-05-24 10:30:48 +02:00
Tamas Cseke
8f4c5bc492
add Andrew's patch from FS-3432 as a starting point with todo markers
2012-05-24 09:37:41 +02:00
Anthony Minessale
ce186707ff
FS-3577 --resolve
2012-05-07 11:44:19 -05:00
Anthony Minessale
ca7a1acb1d
FS-3809 --resolve
2012-05-07 11:43:39 -05:00
Anthony Minessale
bafba4a991
FS-4142 --resolve
2012-05-07 11:42:58 -05:00
Ken Rice
7a147e4762
Update a ton of copyright statements to make sure the dates are proper
2012-04-25 17:14:55 -05:00
Ken Rice
c5554eb939
Copyright date update.
2012-04-18 11:52:02 -05:00
Ken Rice
cac6c262bb
conf: add config files to module directories
...
The idea here is that the config files in the module directories will
serve as the canonical documentation of all module configuration
options.
2012-03-24 04:51:08 +00:00
dschreiber
3b8ab39f45
Undo change for erlang event listeners - should be 100 not 50
2011-11-11 12:53:25 -05:00
Darren Schreiber
994f9a8ca6
Fixed a memory leak, too short of connect times across data centers, a deadlock condition with the globals.bindings_rwlock not being released, a buffer overrun possibility or 4, and added the ability to send a body when injecting an event
2011-09-30 21:58:06 -04:00
Andrew Thompson
af3be7b21d
Silence a silly warning about ignored return values
2011-08-24 14:44:12 -04:00
Andrew Thompson
7b656871f3
Fix unused var
2011-08-20 23:03:17 -04:00
Andrew Thompson
618ea0f2c8
FS-3488 --resolve
2011-08-20 19:45:36 -04:00
Andrew Thompson
8ae9ab5d15
FS-3034
2011-05-11 13:55:22 -04:00
Andrew Thompson
9fe440b2fe
mod_erlang_event Add proper locking for the list of XML bindings
2011-01-21 21:53:03 -05:00
Andrew Thompson
4eccdfef58
mod_erlang_event: Don't urlencode events (and destroy an event after use)
2011-01-21 21:47:46 -05:00
Brian West
3734f4cd44
bump copyright date and fix some email and typos from diego.
2011-01-05 10:09:04 -06:00
Andrew Thompson
6941c6eb71
FS-2775 Rewrite XML fetch conditional wait to be more sane (Reported by James Aimonetti)
2010-11-15 12:39:54 -05:00
Andrew Thompson
1ffff099c1
Avoid checking the lengh of a null string.
2010-10-18 03:18:35 -04:00
Andrew Thompson
dc40a7789c
Arrays are 0 indexed in C, duh
2010-10-17 16:19:38 -04:00
Andrew Thompson
094ffe37cc
mod_erlang_event: Support for reading erlang cookie from a file
...
mod_erlang_event will now try to read $HOME/.erlang.cookie if no cookie
is specified in the config file. You can specify an arbitary cookie file
via the 'cookie-file' parameter in the config file. The cookie file MUST
be readable by the user freeswitch is running as (either the owner or
root) and the file MUST NOT be readable/writeable/executable by any
other user (eg 0400 permissions). Thanks to James Aimonetti for the idea
and the original patch.
2010-10-15 23:40:57 -04:00
Andrew Thompson
08d6b4339c
Fix hostname guessing to work when some stupid DNS server resolves 0.0.0.0
...
Also, fix names containing a @ to work right
2010-08-29 10:59:10 -04:00
Andrew Thompson
2e8ece4fba
Patch (with changes) from Micah Warren to add 'setevent' which is a mostly-atomic nixevent ALL + a event subscription
2010-08-27 21:16:55 -04:00
Andrew Thompson
79ced283b3
Some more tweaks
2010-08-22 20:58:52 -04:00