Feature request: use system properties by default for proxy settings
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 3/5
- Thời gian dự kiến
- 1-2 ngày
- Mức phù hợp với người mới
- 48/100
Hướng nghiên cứu
Start in org.htmlunit.HttpWebConnection#createHttpClientBuilder() and inspect how the HTTP client builder is configured, including any existing options for system properties. The issue suggests enabling useSystemProperties() by default or exposing a configuration option; determine the intended behavior and verify it against the proxy and SSL-related system properties listed in the issue.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
I have a use case where I need to control whether or not to use a proxy using system properties, without having access to the code.
If org.htmlunit.HttpWebConnection#createHttpClientBuilder() set builder.useSystemProperties(); ("Use system properties when creating and configuring default implementations") this works.
This sets more than just proxy config according to https://issues.apache.org/jira/browse/HTTPCLIENT-1128 it sets:
ssl.TrustManagerFactory.algorithm
javax.net.ssl.trustStoreType
javax.net.ssl.trustStore
javax.net.ssl.trustStoreProvider
javax.net.ssl.trustStorePassword
java.home
ssl.KeyManagerFactory.algorithm
javax.net.ssl.keyStoreType
javax.net.ssl.keyStore
javax.net.ssl.keyStoreProvider
javax.net.ssl.keyStorePassword
http.proxyHost
http.proxyPort
http.nonProxyHosts
http.keepAlive
http.maxConnections
Personally I would like this on by default in HtmlUnit. But having a config option to set this would be useful too.
- Ngôn ngữ chính
- JavaScript
- Star
- 952
- Fork
- 183
- Merge trung bình
- 2 ngày 1 giờ
- Pull request đã merge (30 ngày)
- 1
Chuẩn bị môi trường
Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của HtmlUnit/htmlunit
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 35/100
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 45/100
-
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 25/100
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 45/100
Tất cả issue của HtmlUnit/htmlunit
Issue tương tự
-
enhancement
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
glossyio/traffic-monitor#264 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 72/100
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 88/100
micromatch/picomatch#243 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
Maintainer thường phản hồi trong vòng 1 ngày
-
getComputedStyle().display is "" for span, a, b, label and other inline elements instead of "inline"Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
capricorn86/happy-dom#2556 ·
Maintainer thường phản hồi trong vòng 1 ngày