73 Commits

Author SHA1 Message Date
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
Chris Rienzo
3b45ef90ae mod_http_cache: fixed S3 URL parser to allow mybucketsubdomain.com.s3.amazonaws.com 2014-08-12 16:07:56 -04:00
Chris Rienzo
c36e63026c mod_http_cache: CID 1025858: Thread deadlock (ORDER_REVERSAL) 2014-04-30 10:08:00 -04:00
Travis Cross
1470622292 Require libcurl as a system dependency
This purges libcurl from our tree and requires it to be present on the
system for building and running FreeSWITCH.

FS-353
2014-03-20 21:15:29 +00:00
Travis Cross
c993962d0b Update some modules to use CPPFLAGS
These modules use curl and we'll be adding in some bits to the
CPPFLAGS.
2014-03-20 21:09:46 +00:00
Chris Rienzo
cf04dd3e75 FS-6326 --resolve switch_core_hash_init_nocase changed and mod_http_cache wasn't updated 2014-03-09 11:31:00 -04:00
Anthony Minessale
804ef7709d change from sqlite hash to newly added one 2014-03-09 00:37:17 +05:00
Michael Jerris
bcd9f49fbe move applications to use automake 2014-03-07 18:36:12 -05:00
Chris Rienzo
8ca287e97b FS-6218 --resolve 2014-02-13 09:18:41 -05:00
Chris Rienzo
259337ca57 mod_http_cache: fixed validation of S3 URL 2014-02-10 08:54:43 -05:00
Chris Rienzo
77501db844 mod_http_cache: support amazon s3 region URLs 2014-01-10 10:06:06 -05:00
Chris Rienzo
ae7371e7c5 mod_http_cache: allow underscore in amazon s3 hostname 2014-01-03 16:21:48 -05:00
Chris Rienzo
9b4e967248 mod_http_cache: use case-insensitive domain to profile hash 2013-09-03 10:05:13 -04:00
Chris Rienzo
dd6b8a828a mod_http_cache: added <domain> to <profile> configuration 2013-08-30 23:41:31 -04:00
Nathan Neulinger
32adc789f6 make noexpandtab explicit in all vim modelines other than xml files 2013-06-25 11:50:17 -05:00
Chris Rienzo
cac8536170 mod_http_cache: valgrind fixes 2013-06-24 22:19:54 -04:00
Chris Rienzo
98ae1c93fa mod_http_cache: fixed wrong string to sign when referencing AWS S3 object with subdirectory 2013-06-12 09:38:35 -04:00
Chris Rienzo
2c82e6afc6 mod_http_cache: fix example config 2013-05-22 13:22:03 -04:00
Chris Rienzo
f7e725f4bf mod_http_cache: a couple more unit test cases 2013-05-22 08:47:49 -04:00
Chris Rienzo
f5f65b65a9 mod_http_cache: remove unnecessary memset() now that switch_b64_encode() is fixed 2013-05-22 08:22:04 -04:00
Chris Rienzo
8be02b57ce mod_http_cache: fix unit test now that switch_b64_encode is fixed 2013-05-22 08:19:36 -04:00
Chris Rienzo
83d7b60d74 mod_http_cache: forgot to add write to http_cache:// format 2013-05-21 09:27:39 -04:00
Chris Rienzo
a0170bbdb2 mod_http_cache: added write file format 2013-05-20 11:18:40 -04:00
Chris Rienzo
8c8b2176d2 mod_http_cache: added native Amazon S3 support 2013-05-20 09:31:28 -04:00
Chris Rienzo
7af706113a FS-5221 --resolve set NOSIGNAL on http_get 2013-03-26 23:50:29 -04:00
Chris Rienzo
a8cb98c7f9 mod_http_cache: added http_cache file format that won't conflict with mod_httapi. 2013-03-19 08:59:39 -04:00