* http-upload:
mod_http_upload: Use application/octet-stream instead of text/html for security reasons
mod_http_upload: Add note regarding "get_url"
mod_http_upload: Use full PUT URL for process name
mod_http_upload: Rename variable for clarity
mod_http_upload: Fix logging of file size mismatch
mod_http_upload: Return error atoms, not strings
mod_http_upload: Log message if URL looks wrong
mod_http_upload_quota: Don't track all users
mod_http_upload: Make case indentation consistent
mod_http_upload: Apply cosmetic changes
mod_http_upload: Don't flatten command strings
mod_http_upload: Don't let identify/1 return error
mod_http_upload_quota: Omit info message
mod_http_upload: Don't complain during shutdown
mod_http_upload: Use binary strings in most places
mod_http_upload: Check availability of ImageMagick
mod_http_upload: Suppress error on non-image files
mod_http_upload: Fix string()/binary() type issue
mod_http_upload: Add/fix function specifications
mod_http_upload: Strip newline from command output
mod_http_upload: Support thumbnail generation
Don't just use the "put_url" domain name, but also any path components
of the specified URL, to generate a mod_http_upload process name. This
way, a single domain name can be used for multiple virtual hosts by
specifying a "put_url" such as "https://example.com/@HOST@/".
Log an [info] message if a PUT request looks like the specified
"put_url" contains a path component that doesn't match the
"request_handlers" path, as in the following configuration:
listen:
-
module: ejabberd_http
port: 5444
request_handlers:
"/": mod_http_upload
modules:
mod_http_upload:
put_url: "http://example.com/path/"
Let identify/1 return 'pass' when it failed to identify the file type,
as this doesn't (necessarily) indicate an error condition. This also
makes it consistent with the return value of convert/2.
The mod_http_upload_quota module attempts to delete a directory whenever
it removes a file from that directory. However, if thumbnail creation
is enabled, directories will often contain two files. Therefore, don't
log an info (but only a debug) message if directory removal fails.
Don't log an error (but only a debug) message if ImageMagick fails to
indentify the file type for thumbnail creation. The image might be
encrypted, or it could be a non-image file.
Enable the mod_http_upload_quota module in the default configuration
snippet for mod_http_upload. The module won't actually delete any files
without additional configuration entries, though.
Include an example configuration snippet that shows how to tell Nginx to
1) proxy the HTTP PUT requests to mod_http_upload, and to
2) serve the HTTP GET requests directly.