summaryrefslogtreecommitdiffhomepage
path: root/src/java/nginx/unit/Request.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/java/nginx/unit/Request.java')
-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)
{