summaryrefslogtreecommitdiffhomepage
path: root/src/java/nginx
diff options
context:
space:
mode:
Diffstat (limited to 'src/java/nginx')
-rw-r--r--src/java/nginx/unit/Request.java6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/java/nginx/unit/Request.java b/src/java/nginx/unit/Request.java
index dc73c656..b46d3f59 100644
--- a/src/java/nginx/unit/Request.java
+++ b/src/java/nginx/unit/Request.java
@@ -980,11 +980,13 @@ public class Request implements HttpServletRequest, DynamicPathRequest
@Override
public boolean isSecure()
{
- log("isSecure");
+ trace("isSecure");
- return false;
+ return isSecure(req_ptr);
}
+ private static native boolean isSecure(long req_ptr);
+
@Override
public void removeAttribute(String name)
{