8343433: Update net.properties and java.net.http module-info.java after 8326949

Reviewed-by: dfuchs, jpai
This commit is contained in:
Michael McMahon 2024-11-03 17:43:46 +00:00
parent 29882bfe7b
commit d26412e657
2 changed files with 2 additions and 6 deletions
src
java.base/share/conf
java.net.http/share/classes

@ -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
#

@ -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.