1
0
mirror of https://github.com/apache/httpd.git synced 2025-08-08 15:02:10 +03:00

* modules/lua/mod_lua.c (ap_lua_ssl_is_https): New function.

(lua_post_config): Pick up ssl_is_https optional function.

* modules/lua/lua_request.c (req_ssl_is_https_field): New function.
  (ap_lua_load_request): Map is_https field to above.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1200580 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Joe Orton
2011-11-10 21:45:27 +00:00
parent e854d63840
commit 48a5e0390d
3 changed files with 16 additions and 0 deletions

View File

@@ -145,4 +145,6 @@ APR_DECLARE_EXTERNAL_HOOK(ap_lua, AP_LUA, int, lua_request,
AP_LUA_DECLARE(const char *) ap_lua_ssl_val(apr_pool_t *p, server_rec *s, conn_rec *c, request_rec *r, const char *var);
AP_LUA_DECLARE(int) ap_lua_ssl_is_https(conn_rec *c);
#endif /* !_MOD_LUA_H_ */