Andrey Volk
0275ea1eb4
[Build-System] Use $(DefaultPlatformToolset) so it's easier to build using newer Microsoft Visual Studio versions.
2020-05-25 14:18:25 +04:00
Andrey Volk
1c2aff0feb
[mod_hash] scan-build: Fix "Potential leak of memory pointed to by 'item'".
2020-02-19 19:37:09 +04:00
Andrey Volk
04717a5fb8
[mod_hash] Fix use of remote's hash table after free.
2020-02-13 23:55:18 +04:00
Andrey Volk
718d2341f7
FS-11952: [Core] Fix memory leaks.
2019-07-24 20:26:32 +04:00
Andrey Volk
671da28796
FS-11263: [Build-System] Move FreeSWITCH build system to Visual Studio 2017 on Windows.
2018-07-24 07:21:55 +00:00
Andrey Volk
e7ff903629
FS-11150: [Build-System] Fix broken ESL in .Net project.
2018-07-24 07:21:52 +00:00
Sergey Safarov
df1ab07ca4
FS-9924: Removed extra space in source files
2017-02-09 23:59:49 -05:00
Mike Jerris
5c59a0159d
FS-7966: fix more msvc 2015 warnings.
2015-08-31 17:08:52 -04:00
Michael Jerris
164c6111a1
FS-7966: remove some older versions of msvc build system as these will no longer work soon, please use 2015 instead
2015-08-31 10:19:10 -05:00
Michael Giagnocavo
5e456fe9a6
FS-7966. First pass at moving to Visual Studio 2015.
...
The new C compiler breaks a lot of things. snprintf and timespec now exist, and redefining causes an error.
Many more things are warnings, so warnings-as-errors will fail - remove it from some projects for now.
V8: don't pass VS version to build batch file.
mod_sofia: Config has too-long if/elseif chain. Break this up to avoid "parser stack overflow; program too complex".
Add mod_conference.h to project and dir to includes.
2015-08-21 18:28:32 -04:00
Michael Giagnocavo
f116387443
FS-7644. Change 2013.vcxproj references to 2013
2015-06-18 04:17:53 -06:00
Jeff Lenk
345e50d25a
FS-7644
2015-06-11 15:29:28 -05:00
Michael Jerris
2cc0348422
FS-7635: remove msvc 2005 2008 and 2010 non working build systems. There are now multiple more recent (3 different ones) and some free versions of the compiler that can be used.
2015-06-10 16:33:14 -04:00
Travis Cross
622e0e1a6f
Check for null hash on increment of mod_hash limit
...
When we specifically release all limits on a channel we destroy the
hash table stored in the "limit_hash" private channel data but we
don't destroy the private data as it will be reclaimed as part of the
session. If limit increment is called after the limit release we can
reuse that channel private, but we need to check whether the hash
table is null first. Fortunately this makes the code look better
anyway.
FS-6775 #resolve
FS-6783 #resolve
2014-09-11 17:47:57 +00:00
Travis Cross
7d11e19983
Check for null hash or private while holding lock
...
What if the hash were destroyed by one thread holding the lock while
another thread was waiting for the lock? The waiting thread would
have already checked that the hash was non-null and would proceed on
that assumption after acquiring the lock.
With this commit we check only after acquiring the lock.
ref: FS-6783
ref: FS-6775
2014-09-03 19:45:45 +00:00
Travis Cross
82a28e76e4
Re-fix memory leak
...
After consideration, this still looks correct.
Thanks-to: Anthony Minessale <anthm@freeswitch.org>
ref: FS-6783
ref: FS-6775
2014-09-03 19:44:43 +00:00
Travis Cross
8c0a1d17e2
Reintroduce memory leak in mod_hash to avoid crash
...
ref: commit 3e24b3e2c2b28cc672943e75b009377d33f1b01b
ref: FS-6783
ref: FS-6775
2014-09-03 18:16:11 +00:00
Travis Cross
df559e0aac
Add back goodness refactored out
2014-08-30 01:32:57 +00:00
Travis Cross
9481d9843c
Fix comment spelling
2014-08-30 01:19:09 +00:00
Travis Cross
6f2eac6876
Fix comment spelling
2014-08-30 00:52:16 +00:00
Travis Cross
63f16425bd
Refactor mod_hash limit_release_hash a bit
2014-08-29 21:44:04 +00:00
Brian West
3e24b3e2c2
FS-6775 #resolve
2014-08-29 09:55:00 -05:00
Travis Cross
dc88617c99
Lower log level of limit increases and releases
...
In some configurations where many limits are used, the limit increases
and releases were generating a lot of noise and making it harder to
see when limits were exceeded, which was at the same log level.
2014-08-28 01:40:36 +00:00
Michael Jerris
c768e4b6e6
CID:1215198 don't set variables that are not used, and clean up the bail out usage condition to be more sane
2014-05-22 14:52:56 +00:00
William King
11f373d4f2
CID: 1215198 Fix an assignment so that the variable only handles malloc'd data.
2014-05-21 16:28:03 -07:00
Michael Jerris
179e07c649
CID:1214219 Resource leak
2014-05-15 13:30:39 +00:00
Travis Cross
886a730ae8
Avoid leaking memory on mod_hash unload
2014-04-12 06:43:11 +00:00
Anthony Minessale
7151d6acea
FS-6402 part 2
2014-04-02 03:21:37 +05:00
Anthony Minessale
5c0cff70b3
FS-6402 --resolve
2014-04-02 01:20:19 +05:00
Michael Jerris
048ce8d1f3
FS-6293: srcdir builds, most of the built in mods work now
2014-03-14 23:13:34 -04:00
Anthony Minessale
804ef7709d
change from sqlite hash to newly added one
2014-03-09 00:37:17 +05:00
Ken Rice
6e7d5d0897
update copyright header for 2014
2014-02-12 12:08:56 -06:00
Peter Olsson
5a820fdc78
Disabled some compiler warnings on Windows build (for Visual Studio 2012), also disabled code analysis one some projects. This should make the Windows build more clean in the future.
2014-01-22 22:47:11 +01:00
Peter Olsson
084e245085
Lots of trivial tweaks to minimize compiler warnings, especially on 64-bit platform: Added missing type casts, changed types, added missing NULL checks.
2014-01-22 22:30:23 +01:00
Nathan Neulinger
32adc789f6
make noexpandtab explicit in all vim modelines other than xml files
2013-06-25 11:50:17 -05:00
Jeff Lenk
dc2c11f13f
FS-4768 initial add of vs2012 build support
2012-12-29 14:57:15 -06:00
Anthony Minessale
5e5a2ff84b
FS-4141 --resolve
2012-04-23 07:50:57 -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
Jeff Lenk
24288832b1
FS-2216 partial with renaming
2012-01-08 14:19:16 -06:00
Marc Olivier Chouinard
3453f14f9b
FS-3237 --resolve
...
I've fix some memory leak in your patch. Be careful to free the value from the find output of a hash after you used it.
2011-12-15 21:08:52 -05:00
Stefan Knoblich
209ef00dad
mod_hash: Add dependency on libesl.so
...
Temporary fix, esl autotoolification is pending...
Signed-off-by: Stefan Knoblich <stkn@openisdn.net>
2011-11-04 22:10:46 +01:00
Stefan Knoblich
8604a1e7a9
mod_hash: Drop fully qualified libesl.so in _LIBADD.
...
Not a libtool archive, so just use the one in _LDFLAGS.
Signed-off-by: Stefan Knoblich <stkn@openisdn.net>
2011-11-04 20:33:46 +01:00
Anthony Minessale
637a5ed83d
Add application flag zombie_exec so registered applications can apply to be executed on channels that are already hungup, like the inline exec this is only limited to a small family of apps that do not use the channel for audio.
2011-09-13 09:35:41 -05:00
Anthony Minessale
73279f01bf
FS-3166 --resolve
2011-04-22 16:43:29 -05:00
Michael S Collins
8134712627
mod_hash: add realm filter to hash_dump db command so that you can quickly dump all entries that belong only to a specific realm without getting the whole db
2011-04-18 18:43:24 -07:00
Anthony Minessale
8458adebbb
avoid scheduler caling a function on null hash during shutdown
2011-01-13 10:30:29 -06:00
Brian West
3734f4cd44
bump copyright date and fix some email and typos from diego.
2011-01-05 10:09:04 -06:00
Anthony Minessale
10cb487cb0
FS-2868
2010-11-23 15:50:17 -06:00
Jeff Lenk
45ecbc2f61
fix warnings on windows x64 builds src and mods projects - only libsofia included on the libs side
2010-09-29 15:47:58 -05:00