Skip to content

Commit

Permalink
8343433: Update net.properties and java.net.http module-info.java aft…
Browse files Browse the repository at this point in the history
…er 8326949

Reviewed-by: dfuchs, jpai
  • Loading branch information
Michael-Mc-Mahon committed Nov 3, 2024
1 parent 29882bf commit d26412e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
4 changes: 1 addition & 3 deletions src/java.base/share/conf/net.properties
Original file line number Diff line number Diff line change
Expand Up @@ -104,9 +104,7 @@ jdk.http.auth.tunneling.disabledSchemes=Basic
# to be used in real deployments. Protocol errors or other undefined behavior is likely
# to occur when using them. The property is not set by default.
# Note also, that there may be other headers that are restricted from being set
# depending on the context. This includes the "Authorization" header when the
# relevant HttpClient has an authenticator set. These restrictions cannot be
# overridden by this property.
# depending on the context. These restrictions cannot be overridden by this property.
#
# jdk.httpclient.allowRestrictedHeaders=host
#
Expand Down
4 changes: 1 addition & 3 deletions src/java.net.http/share/classes/module-info.java
Original file line number Diff line number Diff line change
Expand Up @@ -45,9 +45,7 @@
* and whitespace is ignored. Note that this property is intended for testing and not for
* real-world deployments. Protocol errors or other undefined behavior are likely to occur
* when using this property. There may be other headers that are restricted from being set
* depending on the context. This includes the "Authorization" header when the relevant
* HttpClient has an authenticator set. These restrictions cannot be overridden by this
* property.
* depending on the context. These restrictions cannot be overridden by this property.
* </li>
* <li><p><b>{@systemProperty jdk.httpclient.bufsize}</b> (default: 16384 bytes or 16 kB)<br>
* The size to use for internal allocated buffers in bytes.
Expand Down

0 comments on commit d26412e

Please sign in to comment.