aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/mod_http.lua
Commit message (Collapse)AuthorAgeFilesLines
* core.certmanager: Do not ask for client certificates by defaultKim Alvefur2019-03-101-3/+0
| | | | | | Since it's mostly only mod_s2s that needs to request client certificates it makes some sense to have mod_s2s ask for this, instead of having eg mod_http ask to disable it.
* mod_http: Determine CORS methods to whitelist from actual methods usedKim Alvefur2019-01-171-2/+9
|
* mod_http: Set up to handle OPTIONSKim Alvefur2019-01-181-0/+7
| | | | | Lower priority to allow http modules to handle it themselves, should they wish to
* mod_http: Solve CORS problems once and for allKim Alvefur2018-10-041-0/+19
| | | | | | | This blindly allows any cross-site requests. Future work should add an API to allow each HTTP app some influence over this for each HTTP path
* mod_http: Move normalize_path to util.httpKim Alvefur2018-10-141-10/+1
|
* Merge 0.10->trunkKim Alvefur2018-10-141-3/+7
|\
| * mod_http: Make sure path from http_external_url always ends with a slash ↵Kim Alvefur2018-10-141-3/+7
| | | | | | | | (fixes #1183)
* | mod_http: Support global HTTP modulesKim Alvefur2018-09-211-5/+16
| | | | | | | | Such modules simply ignore the Host header and always handle the same path.
* | Revert 2dc7490899ae::5d6b252bc36f: Unfinished and brokenKim Alvefur2018-09-211-12/+2
| |
* | mod_http: Hook the host-less event if hooked from a global moduleKim Alvefur2018-09-211-1/+5
| |
* | net.http.server: Move handling of hosts to mod_httpKim Alvefur2018-09-211-1/+7
| | | | | | | | | | Now an event like `GET /path` is fired at first, and mod\_http dispatches the old `GET host/path` events.
* | mod_http: Rename argument to avoid name clash with outer scope [luacheck]Kim Alvefur2018-07-061-3/+3
| |
* | mod_http: Rename loop variable to avoid name clash [luacheck]Kim Alvefur2018-07-061-2/+2
| |
* | mod_http: Rename loop variable to avoid name clash [luacheck]Kim Alvefur2018-07-061-2/+2
| |
* | mod_http: Silecence harmless warningsKim Alvefur2018-07-061-2/+2
| |
* | mod_http: Pass util.events object to API, fixes tracebackKim Alvefur2018-03-161-1/+1
| |
* | mod_http: Set request.ip on all HTTP requests (moves code out of mod_bosh) ↵Kim Alvefur2018-03-151-0/+25
| | | | | | | | (fixes #540)
* | Merge 0.10->trunkKim Alvefur2017-01-261-5/+1
|\|
| * util.sslconfig: Remvoe flag merging for 'verify' as this is more of a ↵Kim Alvefur2017-01-261-5/+1
| | | | | | | | tri-state field than a set of options
* | Merge 0.10->trunkKim Alvefur2016-08-181-0/+3
|\|
| * Merge 0.9->0.10Kim Alvefur2016-08-181-0/+3
| |\
| | * mod_http: Allow configuring http parser size limitsKim Alvefur2016-08-181-0/+3
| | |
* | | mod_http: Fix indentation in redir_handlerEmmanuel Gil Peyrot2016-07-241-3/+3
| | |
* | | Update every link to the documentation to use HTTPSEmmanuel Gil Peyrot2016-04-161-1/+1
| | |
* | | plugins/mod_http: Keep query string over automatic redirectsdaurnimator2016-02-151-0/+3
| | |
* | | Backout unintentional commit ed5440a6ef7fMatthew Wild2015-12-031-1/+7
| | |
* | | Merge 0.10->trunkMatthew Wild2015-12-031-7/+1
|/ /
* | Merge 0.9->0.10 (third time lucky)Matthew Wild2015-03-271-0/+8
|\|
| * mod_http: Return a static string from module:http_url() when no ports are ↵Kim Alvefur2015-03-231-0/+2
| | | | | | | | enabled and log a warning
| * mod_http: Log a debug message when adding new http apps and warn if no http ↵Kim Alvefur2015-03-231-0/+6
| | | | | | | | ports are enabled
| * Backout 7726b627c3eaKim Alvefur2015-03-231-1/+0
| |
| * mod_http: Log event name when adding a HTTP app's hooksMatthew Wild2015-03-141-0/+1
| |
* | Backed out 35ebcb733c4cKim Alvefur2015-03-231-1/+0
| |
* | mod_http: Log name and base URL of HTTP appsKim Alvefur2014-12-081-0/+1
| |
* | mod_http: For URLs that end with / or wildcard handlers, add a low-priority ↵Kim Alvefur2014-11-041-0/+8
| | | | | | | | redirect from without to with slash
* | mod_http: Update to disable peer verification with the new certmanagerKim Alvefur2014-04-191-1/+7
| |
* | Merge 0.9->0.10Kim Alvefur2014-02-261-1/+4
|\|
| * mod_http: Fix http_external_url setting without an explicit portKim Alvefur2014-02-261-0/+3
| |
| * mod_http: Use hostname from the correct context (thanks gryffus)Kim Alvefur2014-02-201-1/+1
| |
* | Remove all trailing whitespaceFlorian Zeitz2013-08-091-3/+3
|/
* mod_http: disable ssl peer verification by default.Marco Cirillo2013-04-041-0/+1
|
* mod_http: Import portmanagerKim Alvefur2013-03-231-0/+1
|
* mod_http: Expand $host in http_pathsKim Alvefur2013-02-181-2/+3
|
* mod_http: Fix path length patternKim Alvefur2012-12-091-1/+1
|
* mod_http: Fix pattern and slightly improve efficiency and memory usage of ↵Matthew Wild2012-11-291-2/+2
| | | | wildcard HTTP handlers
* mod_http: Make module:http_url() aware of http_hostKim Alvefur2012-11-221-1/+1
|
* mod_http: Rename variable for clarityMatthew Wild2012-11-221-5/+5
|
* mod_http: Add 'http_host' option to change the HTTP virtual host that this ↵Matthew Wild2012-11-151-1/+1
| | | | host is accessible at (e.g. allows mapping a host to '127.0.0.1')
* mod_{admin_telnet,c2s,component,http,net_multiplex,s2s}: Use ↵Waqas Hussain2012-09-121-2/+2
| | | | module:provides() instead of module:add_item().
* mod_http: Rework how module:http_url() builds the url.Kim Alvefur2012-08-211-6/+12
|