tomeeo
dd1e0c1605
[mod_http_cache] Fix the query string not included for HTTP PUT requests to s3
2021-07-24 00:04:59 +03:00
Andrey Volk
cfdd1d9be8
[mod_http_cache] Handle error cases to avoid using uninitialized variables in aws logic.
2021-03-17 19:35:37 +03:00
Taner Mansur
f5388e444c
[mod_http_cache] Generic HTTP API Authorization header support ( #1048 )
...
[mod_http_cache] Generic HTTP API Authorization header support
2021-02-13 11:32:43 -05:00
Chris Rienzo
243421c8fe
[mod_http_cache] Set binary mode when downloading files in Windows
2020-12-17 09:46:13 -05:00
ovadbar
855d8bd3e4
[mod_http_cache] Remove duplicate include statements
2020-12-16 18:19:49 +04:00
Chris Rienzo and Miguel Gonzalez
0f7ba14333
[mod_http_cache] Crash on HTTP GET with generated AWS v4 signature
...
Co-authored-by: Miguel Gonzalez <maggonzz@gmail.com >
2020-11-09 23:08:05 +04:00
Andrey Volk
64646a3448
[mod_http_cache] Fix Windows build
2020-07-21 01:51:47 +04:00
Chris Rienzo and baonq-me
17ebce7e3b
Add v4 sig to http cache ( #741 )
...
* FS-9676 [mod_http_cache] Support for AWS Signature version 4 and drop support for version 2
Co-authored-by: baonq-me <quocbao747@gmail.com >
2020-07-20 15:34:55 -04:00
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
751d5ff55b
[Unit-tests] Place module tests into their module's Makefile.am, fix tests, add missing Makefile.am to mod_png, implement recursive make check.
2020-01-18 09:58:42 +00:00
Christopher Rienzo
6a6b8ac350
Merge pull request #1804 in FS/freeswitch from ~DRAGOS_OANCEA/freeswitch-dragos:FS-12026 to master
...
* commit 'aaacaa19deb6ef764acdfabefb625f3ddc4e2324':
FS-12026 [mod_http_cache] fix multichannel file download and play
FS-12026 [mod_httapi] fix multichannel file download and play
2019-08-27 08:27:05 -05:00
Dragos Oancea
aaacaa19de
FS-12026 [mod_http_cache] fix multichannel file download and play
2019-08-27 11:30:05 +00:00
David Grant
7a4a988dcb
FS-11993 [mod_http_cache][mod_smpp] fix gcc errors when building on rpi4 buster (strncpy to snprintf)
...
FS-11993 [mod_http_cache][mod_smpp] fix gcc errors when building on rpi4 buster (strncpy to snprintf)
2019-08-24 22:48:59 -05:00
Andrey Volk
bc5dad27fb
FS-11931: [mod_http_cache] Fix zero-length gnu_printf format string
2019-08-02 00:55:02 +04:00
Andrey Volk
9c8de649b3
FS-11947: [Build-System] Do not install test binaries when doing make install.
2019-07-23 19:34:21 +04:00
Andrey Volk
bbbaf7e99e
FS-11931: [mod_http_cache] Fix regression, use SWITCH_MOD_DECLARE() in modules instead of SWITCH_DECLARE().
2019-07-23 12:48:31 +04:00
Chris Rienzo
aa6844ae00
FS-11931 [mod_http_cache] Fix leaks in tests
2019-07-23 00:44:53 +04:00
Chris Rienzo
a33877aace
FS-11931 [mod_http_cache] convert tests to use switch_test
2019-07-23 00:44:33 +04:00
baonq-me
cbc36d0541
FS-11943 [mod_http_cache] Fix typos in warning message in aws.c
2019-07-22 11:51:28 +07:00
Noah Mehl
15c4647c8c
FS-11796: [mod_http_cache] Fixed file seek in mod_http_cache.c
...
Added missing http_cache_file_seek() and http_cache_file_seek file interface references.
2019-05-13 13:56:17 -04:00
Dragos Oancea
6258b721c9
FS-11482: [http_cache] set pre_buffer_datalen to 0 on handle (crashfix)
2019-02-15 10:36:46 -05:00
Christopher Rienzo
0ddab77e8b
Merge pull request #1344 in FS/freeswitch from ~MATT_TELTECH/freeswitch:FS-10513-ssl-verifyhost to master
...
* commit '0ff8db6bf887ee06802dde1e1893b524c9f08a4f':
FS-10513 [mod_http_cache] ignores ssl-verifyhost
2019-01-30 04:18:33 +00:00
Matt Williamson
0ff8db6bf8
FS-10513 [mod_http_cache] ignores ssl-verifyhost
2019-01-21 22:21:49 -05:00
lazedo
0eae20e530
FS-11610 [mod_http_cache] add video flag to http_cache
2019-01-14 16:31:49 +00: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
c31e7062b7
FS-11085: [Build-System] Update curl to 7.59.0 and move to pre-compiled binaries on Windows.
2018-07-24 07:21:46 +00:00
Andrey Volk
ea8c3be8ec
FS-10541: [Build-System] Move OpenSSL to props with BaseDir on windows.
2017-10-07 22:50:48 +03:00
Andrey Volk
bf101a5f0b
FS-10525: [Build-System] Update curl to 7.54.1 for windows, move to props.
2017-07-21 01:21:34 +03:00
Andrey Volk
9b1d58653c
FS-10365 [mod_http_cache] Add mod_http_cache to the windows build.
2017-06-03 01:01:08 +03:00
Richard Screene
6b5313ec37
FS-10156 [mod_http_cache] Return HTTP status code
2017-03-21 12:42:41 +00:00
Sergey Safarov
df1ab07ca4
FS-9924: Removed extra space in source files
2017-02-09 23:59:49 -05:00
Anthony Minessale
8101b337ec
FS-9488 #resolve [Compile error mod_http_cache]
2016-09-07 16:55:44 -05:00
Mike Jerris
1e867a85f8
FS-9457: fix code after decl error
2016-09-07 14:45:57 -04:00
Mike Jerris
dbb447fb69
FS-9457: fix code after decl error
2016-09-07 14:12:33 -04:00
Mike Jerris
4503dee9ad
FS-9457: fix code after decl error
2016-09-07 13:35:28 -04:00
Mike Jerris
d7c77ba96d
FS-9457: fix code after decl error
2016-09-07 12:44:44 -04:00
Mike Jerris
7bee958a51
FS-9457: fix code after decl error
2016-09-07 10:27:03 -04:00
Richard Screene
55978ba076
FS-9457 [mod_http_cache] Allow GET and PUT from Azure Blob Service
...
Only send final PUT on Azure profiles
Fix core dump when reading Azure key from environment variable
Improve interface between mod_http_cache and storage providers
Remove debug
Remove out-of-date TODO
Add new configuration to example
Changes arising from Christopher Rienzo's comments
Add function to pointers to the profile to allow for better integration with the storage providers.
Add function to pointers to the profile to allow for better integration with the storage providers
Remove old header file inclusion
2016-09-07 09:57:03 +01:00
Chris Rienzo
f0a36960c7
FS-9315 [mod_http_cache] add support for video file formats
2016-07-01 13:09:51 -04:00
Chris Rienzo
86965a363d
FS-9004 [mod_http_cache] set http get timeout on thread that is actively downloading with the value from the download-timeout configuration.
2016-04-01 11:08:00 -04:00
Chris Rienzo
ff0cec80f1
FS-9004 [mod_http_cache] added download-timeout param to prevent http_get from waiting unbounded time for downloading to finish. Prevented prefetch threads from blocking if another thread is already downloading the same URL.
2016-04-01 10:38:16 -04:00
Anthony Minessale
550029b80e
FS-8811 #resolve [FS 1.7 crashes intermittently]
2016-03-04 16:56:55 -06:00
Chris Rienzo
475df32a4b
FS-8662 [mod_http_cache] don't block http_tryget while another thread is fetching the URL
2015-12-15 14:43:06 -05:00
Chris Rienzo
9e0f30c58b
FS-8560 [mod_http_cache] add new parameter, connect-timeout
...
This is the maximum time to wait, in seconds, for the HTTP GET or PUT to connect.
If this value is not set or is set to 0, the default setting of 300 seconds is used.
2015-11-19 17:10:15 -05:00
Chris Rienzo
df6a5315c1
FS-8549 [mod_http_cache] add support for AWS_ACCESS_KEY_ID and AWS_SECRET_ACCESS_KEY environment variables in S3 profiles
2015-11-17 12:00:15 -05:00
Chris Rienzo
d8d3db284c
FS-7496 [mod_http_cache] lookup file extension from content-type if missing in URL
2015-04-30 16:06:19 -04:00
Brian West
d29c2d74b6
FS-7496 #resolve strip url args after the file extension
2015-04-30 14:29:21 -04:00
Chris Rienzo
3cd481820e
FS-7323 #resolve #comment [mod_http_cache] added http_remove_cache <url> API call to manually expire a cached URL.
...
Added {refresh=true} parameter that can be prefixed to URL to force refresh when using http:// https:// file formats or the http_get API.
Examples:
http_remove_cache http://phono.com/audio/troporocks.mp3
http_get {refresh=true}http://phono.com/audio/troporocks.mp3
<action application="playback" data="{refresh=true}http://phono.com/audio/troporocks.mp3 "/>
2015-02-25 09:43:38 -05:00
Chris Rienzo
dd61232163
FS-6979 #resolve #comment mod_http_cache: added base-domain config to s3 profiles so mod_http_cache can access self hosted s3 compatible service.
...
Example configuration:
<profiles>
<profile name="s3">
<!-- Credentials for AWS account. -->
<aws-s3>
<!-- 20 character key identifier -->
<access-key-id><![CDATA[AKIAIOSFODNN7EXAMPLE]]></access-key-id>
<!-- 40 character secret -->
<secret-access-key><![CDATA[wJalrXUtnFEMI/K7MDENG/bPxRfiCYEXAMPLEKEY]]></secret-access-key>
<base-domain><![CDATA[example.com]]></base-domain>
</aws-s3>
<!-- Domains that this profile applies to -->
<domains>
<domain name="bucket.example.com"/>
<domain name="bucket2.example.com"/>
</domains>
</profile>
</profiles>
2014-11-13 10:20:02 -05:00
Chris Rienzo
b60df39b96
mod_http_cache: fix configuration so that carriage returns or other whitespace is OK around S3 keys
2014-08-12 16:28:42 -04:00