Commit Graph

64 Commits (e54ee56ed145cf17cfaad992ef445dec287ed471)

Author SHA1 Message Date
Kim Alvefur 2a573e5c5e mod_http: Make sure path from http_external_url always ends with a slash (fixes #1183) 7 years ago
Kim Alvefur 0247a0e904 mod_http: Move normalize_path to util.http 7 years ago
Kim Alvefur 93b55928f6 mod_http: Support global HTTP modules 7 years ago
Kim Alvefur a31b6728d4 Revert 2dc7490899ae::5d6b252bc36f: Unfinished and broken 7 years ago
Kim Alvefur 7c060d6be5 mod_http: Hook the host-less event if hooked from a global module 7 years ago
Kim Alvefur c6540b14f9 net.http.server: Move handling of hosts to mod_http 7 years ago
Kim Alvefur 78dbad124a mod_http: Rename argument to avoid name clash with outer scope [luacheck] 8 years ago
Kim Alvefur d0f783842e mod_http: Rename loop variable to avoid name clash [luacheck] 8 years ago
Kim Alvefur c27c3940c7 mod_http: Rename loop variable to avoid name clash [luacheck] 8 years ago
Kim Alvefur bf3c8c2b1a mod_http: Silecence harmless warnings 8 years ago
Kim Alvefur 060ab50b41 mod_http: Pass util.events object to API, fixes traceback 8 years ago
Kim Alvefur 4cdc813fed mod_http: Set request.ip on all HTTP requests (moves code out of mod_bosh) (fixes #540) 8 years ago
Kim Alvefur a67d0bfb97 util.sslconfig: Remvoe flag merging for 'verify' as this is more of a tri-state field than a set of options 9 years ago
Kim Alvefur 1686ef5d53 mod_http: Allow configuring http parser size limits 9 years ago
Emmanuel Gil Peyrot 2368529f51 mod_http: Fix indentation in redir_handler 10 years ago
Emmanuel Gil Peyrot c6048a7cb4 Update every link to the documentation to use HTTPS 10 years ago
daurnimator d7ffd11752 plugins/mod_http: Keep query string over automatic redirects 10 years ago
Matthew Wild 46aa864c3d Backout unintentional commit ed5440a6ef7f 10 years ago
Matthew Wild 0bd9169930 Merge 0.10->trunk 10 years ago
Kim Alvefur 5efd433b8a mod_http: Return a static string from module:http_url() when no ports are enabled and log a warning 11 years ago
Kim Alvefur 3550cf7e8e mod_http: Log a debug message when adding new http apps and warn if no http ports are enabled 11 years ago
Kim Alvefur 272f0cf5e5 Backout 7726b627c3ea 11 years ago
Matthew Wild 45016aef35 mod_http: Log event name when adding a HTTP app's hooks 11 years ago
Kim Alvefur 52642e5699 mod_http: Log name and base URL of HTTP apps 11 years ago
Kim Alvefur 597c04000e mod_http: For URLs that end with / or wildcard handlers, add a low-priority redirect from without to with slash 11 years ago
Kim Alvefur b1889326c4 Backed out 35ebcb733c4c 11 years ago
Kim Alvefur b9350a6264 mod_http: Update to disable peer verification with the new certmanager 12 years ago
Kim Alvefur 4ee0ced8eb mod_http: Fix http_external_url setting without an explicit port 12 years ago
Kim Alvefur c9cc08e80d mod_http: Use hostname from the correct context (thanks gryffus) 12 years ago
Florian Zeitz 1d833bb807 Remove all trailing whitespace 13 years ago
Marco Cirillo 622306813b mod_http: disable ssl peer verification by default. 13 years ago
Kim Alvefur 4a30cfbc90 mod_http: Import portmanager 13 years ago
Kim Alvefur 8e233c797e mod_http: Expand $host in http_paths 13 years ago
Kim Alvefur 329ee389c5 mod_http: Fix path length pattern 13 years ago
Matthew Wild d7b707744d mod_http: Fix pattern and slightly improve efficiency and memory usage of wildcard HTTP handlers 13 years ago
Kim Alvefur 67144d911b mod_http: Make module:http_url() aware of http_host 13 years ago
Matthew Wild 7f962c6d08 mod_http: Rename variable for clarity 13 years ago
Matthew Wild e4c43fa10a mod_http: Add 'http_host' option to change the HTTP virtual host that this host is accessible at (e.g. allows mapping a host to '127.0.0.1') 13 years ago
Waqas Hussain d9d38ef125 mod_{admin_telnet,c2s,component,http,net_multiplex,s2s}: Use module:provides() instead of module:add_item(). 13 years ago
Kim Alvefur df886d2043 mod_http: Rework how module:http_url() builds the url. 14 years ago
Kim Alvefur 76c09d2ad1 mod_http: Don't produce paths with double / if a module is set to serve / 14 years ago
Matthew Wild 9a9d82e049 mod_http: Fix traceback when no HTTP services succeed in binding 14 years ago
Kim Alvefur 1e99d3bcd0 mod_http: Fix normalize_path('/') to not return an empty string, fixes module:http_url() 14 years ago
Matthew Wild 72ff00a1cd mod_http: Add module:http_url([app_name,][default_path]) for a module to get a guess at its external URL 14 years ago
Matthew Wild ce88b45b6f mod_http: Depend on mod_http_errors 14 years ago
Matthew Wild e865b1b3fe net.http.server, mod_http: Support http_default_host config option to specify where to direct requests for unknown HTTP vhosts 14 years ago
Matthew Wild af90690399 mod_http: Allow a route value to be static data rather than a handler function 14 years ago
Matthew Wild c06a35c238 mod_http: Routes now require a method to be specified, but the path has become optional (defaults to the base path with no trailing '/' 14 years ago
Matthew Wild d4e4489577 mod_http: Link to docs on routes in error message 14 years ago
Matthew Wild fad0359e75 mod_http: Remove unused import of url.parse 14 years ago