Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hostdb restructure merged with master #32

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
92 commits
Select commit Hold shift + click to select a range
4e08a4f
Rebase checkpoint for HostDB restructure.
SolidWallOfCode May 11, 2021
1c207c5
Minor fixes, clean up some printf formatting.
SolidWallOfCode May 26, 2021
a84ceb1
Tweak TLS test to not mark server down for TLS errors.
SolidWallOfCode Jun 3, 2021
6492503
FreeBSD integer format fix.
SolidWallOfCode Jun 3, 2021
9d3a518
Fix autopep8 issue.
SolidWallOfCode Jun 3, 2021
f0b8fab
Fix strategies test, lack of update for down server configuration.
SolidWallOfCode Jun 9, 2021
7221fd1
Remove zombie tracking - not really needed.
SolidWallOfCode Jun 10, 2021
eef9e5f
autopep8 fix.
SolidWallOfCode Jun 11, 2021
d8b6194
Documentation updates.
SolidWallOfCode Jun 16, 2021
330a203
Revert API change - maintain 9.x compatibility.
SolidWallOfCode Jun 17, 2021
2b6529f
Doc: update HostDB
SolidWallOfCode Jun 22, 2021
8b260f1
Fix: avoid reusing null hostent if the DNS query failed.
SolidWallOfCode Jun 22, 2021
aa37683
Doc update.
SolidWallOfCode Jun 23, 2021
c6b0ae3
Fix issue with plugin supplied address - suppress DNS lookup in that …
SolidWallOfCode Jun 23, 2021
6266b4f
Fix brokenness in Lua do to API change and reversion.
SolidWallOfCode Jun 23, 2021
e03a668
Revert CARP fix - not a good idea.
SolidWallOfCode Jun 24, 2021
f25044d
Minor BWF tweak for better argument handling.
SolidWallOfCode Jun 28, 2021
35e6d91
Doc udpate.
SolidWallOfCode Jul 6, 2021
34518d1
HostDB: Fix plugin API port error.
SolidWallOfCode Jul 6, 2021
882c362
Fix missing mutex on TSHostLookup bounce continuation.
SolidWallOfCode Jul 20, 2021
f694770
Fix.
SolidWallOfCode Jul 27, 2021
3df947f
Fix nullptr dereference for SRV records.
SolidWallOfCode Aug 26, 2021
0830c0c
Fix HostDB sync time variable.
SolidWallOfCode Jan 23, 2022
8d5f148
Add a new --enable-event-tracker configure option (#8179)
masaori335 Feb 13, 2022
ea45f8a
Send diags output to stderr when running regression tests. (#8662)
Feb 14, 2022
295a106
Fixed issues when compiling with -Og (#8665)
bryancall Feb 14, 2022
a554361
Fix plugin parent_select missing hostname len (#8649)
rob05c Feb 14, 2022
4e42bce
Add parent_select plugin strategy caching (#8651)
rob05c Feb 14, 2022
c82122e
TLS Session Resumption: fix timed out session (#8667)
moonchen Feb 14, 2022
b5116b4
Fix a libswoc build error on macOS (#8669)
moonchen Feb 15, 2022
c04ccc8
Making 9.2.x backwards compatible with 9.1.x (#8661)
bneradt Feb 15, 2022
97489e6
Cleanup strategy debug logs (#8656)
rob05c Feb 15, 2022
0b760e7
Make SSL writes more efficient when using dynamic record sizing (#8670)
sudheerv Feb 16, 2022
48cb6bb
Fix to allow running from outside top_srcdir (#8673)
cmcfarlen Feb 16, 2022
e29827f
Stop ATS when a global lua script fails to load (#8671)
shukitchan Feb 16, 2022
eaf9848
Make sure each remap rule gets its own continuation (#8675)
zwoop Feb 17, 2022
2d70a00
Fix test_QUIC unit test builds. (#8678)
bneradt Feb 18, 2022
3584e0f
Update asf.yaml to require Rocky over CentOS build (#8679)
ezelkow1 Feb 18, 2022
394a9ee
Fix missing unique_lock definition. (#8680)
AD5GB Feb 18, 2022
b87db52
Fix clang build issue for libswoc (#8658)
SolidWallOfCode Feb 19, 2022
612d729
Upgrade Catch to v2.13.8 (#8683)
bneradt Feb 20, 2022
96ce993
Fix Clang 13.0.1 compiler warnings (#8685)
bneradt Feb 21, 2022
0ae34d4
Fix warnings from GCC 12.0.1 (#8684)
bneradt Feb 21, 2022
5d8235c
Fix plugin parent_select failover (#8676)
rob05c Feb 23, 2022
b1d4cf8
slice and cache_range_requests: allow header override (#8666)
traeak Feb 24, 2022
5b4a6a8
Add back "DNS: Fix lack of nameserver failover in low use circumstanc…
bneradt Feb 28, 2022
baddc6a
Update iocore/cache/test to fix the build (#8677)
cmcfarlen Mar 1, 2022
bce99bf
Provide libquic.a definition to VIO::VIO() (#8706)
bneradt Mar 1, 2022
6e8af7c
Add docs for parent.config defaults (#8692)
rob05c Mar 2, 2022
daabdfc
cache-request-method autest: Extending IO delay (#8707)
bneradt Mar 2, 2022
2954c37
change api TSSslTicketKeyUpdate to return TSReturnCode (#8700)
duke8253 Mar 3, 2022
e91317c
libswoc - Update to 1.3.7 (#8709)
SolidWallOfCode Mar 4, 2022
08d3506
Move hwloc-based functions into it's own header/compilation unit (#8711)
randall Mar 6, 2022
af0b0b4
update FREELIST macros for AArch64 (#8688)
wangrong1069 Mar 6, 2022
8cd31d1
Remove unused functions/definitions from ink_defs (#8714)
randall Mar 7, 2022
bff238d
Fixes build when hwloc is not installed (#8715)
randall Mar 7, 2022
40c3d57
Fixed memory leaks with CryptoContext (#8719)
bryancall Mar 11, 2022
92df44f
Change DNS retries to be a static (requires restart) config value (#8…
bryancall Mar 15, 2022
415d7c2
Check bounds before accessing Vol::evacuate array (#8716)
cmcfarlen Mar 15, 2022
80ead42
Adds user-agent to OCSP requests (#8722)
randall Mar 16, 2022
07837b9
libswoc: Make libswoc implementation overridable, header export optio…
SolidWallOfCode Mar 17, 2022
9bed7f2
Address issues with python 3.10 (#8729)
dragon512 Mar 17, 2022
97ee33c
Require use of 'override' keyword when valid. (#8737)
Mar 18, 2022
739f0fa
ts_lua: change type in stats struct from 'int' to 'TSMgmtInt' to avoi…
traeak Mar 18, 2022
62db340
Update THREAD_FREE macro to only evaluate the _t parameter once. (#8725)
cmcfarlen Mar 21, 2022
099ca4c
Support transforming range requests when origin returns full resource…
cmcfarlen Mar 21, 2022
ddd7ef8
Enable all iocore/cache tests (#8718)
cmcfarlen Mar 21, 2022
1845b7e
Remove null check before ats_free calls (#8744)
randall Mar 21, 2022
6e12143
money_trace: allow custom header, change span-id gen, opt to create i…
traeak Mar 21, 2022
51a1d4f
Fixes Issue #7824 - The strategies.yaml parser can incorrectly interp…
jrushford Mar 21, 2022
6807019
add log format for whether origin TLS connection resumed an existing…
duke8253 Mar 21, 2022
fe71b43
Move Sterror class from TsSharedMutex.h to its own include file. (#8710)
Mar 21, 2022
38bf663
Use Sphinx 4.x (#8750)
bneradt Mar 22, 2022
a0bb0fa
docs: add some obvious units to some http2 overridables (#8752)
randall Mar 22, 2022
45b48e2
Revert "Use Sphinx 4.x (#8750)" (#8754)
bneradt Mar 23, 2022
b8b8154
Update to proxy-verifier-v2.3.1 (#8753)
bneradt Mar 23, 2022
4dbf914
Use Sphinx 4.x (second attempt) (#8757)
bneradt Mar 25, 2022
3c1006e
[ink_base64] Fix buffer size computation (#8736)
moonchen Mar 28, 2022
57b10e2
Fixing the httpbin AuTests by pinning Werkzeug (#8765)
bneradt Mar 29, 2022
6cf54b6
Fix error handling in SSL cert/key load failures (#8763)
moonchen Mar 29, 2022
f30f442
Avoid allocation when matching hosts for vol lookup (#8762)
cmcfarlen Mar 29, 2022
d9eeca3
Pin Jinja2 for doc builds (#8773)
bneradt Mar 29, 2022
4fa1c0c
Revert "Use Sphinx 4.x (second attempt) (#8757)" (#8771)
bneradt Mar 30, 2022
b6f83f1
Lua plugin memory leak on remap configuration reloads (#8764)
pbchou Mar 30, 2022
39c3de5
Add metrics for loop detection. (#8772)
cmcfarlen Mar 31, 2022
038df40
check return values of openssl api calls (#8758)
duke8253 Apr 1, 2022
dd3f1c3
STEK share plugin using Raft (#8751)
duke8253 Apr 4, 2022
99545bf
Adding prefetch feature to slice plugin (#8723)
serrislew Apr 5, 2022
fac9ad1
Adds an IP reputation system to the SNI rate limiter (#8459)
zwoop Apr 5, 2022
1d850c1
Reuse TSMutex for ts_lua_http_intercept_handler (#8687)
oknet Apr 6, 2022
e760794
Propagate proxy.config.net.sock_option_flag_in to newly accepted conn…
randall Apr 8, 2022
209400d
Merge latest master into hostdb-restructure
Apr 11, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .asf.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ github:
strict: false
contexts:
- AuTest
- CentOS
- Rocky
- Clang-Analyzer
- Clang-Format
- Debian
Expand Down
2 changes: 1 addition & 1 deletion build/hiredis.m4
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ AC_ARG_WITH(hiredis, [AS_HELP_STRING([--with-hiredis=DIR],[use a specific hiredi

case "$hiredis_base_dir" in
*":"*)
hidredis_include="`echo $hiredis_base_dir |sed -e 's/:.*$//'`"
hiredis_include="`echo $hiredis_base_dir |sed -e 's/:.*$//'`"
hiredis_ldflags="`echo $hiredis_base_dir |sed -e 's/^.*://'`"
AC_MSG_CHECKING(for hiredis includes in $hiredis_include libs in $hiredis_ldflags )
;;
Expand Down
97 changes: 97 additions & 0 deletions build/libswoc.m4
Original file line number Diff line number Diff line change
@@ -0,0 +1,97 @@
dnl -------------------------------------------------------- -*- autoconf -*-
dnl Licensed to the Apache Software Foundation (ASF) under one or more
dnl contributor license agreements. See the NOTICE file distributed with
dnl this work for additional information regarding copyright ownership.
dnl The ASF licenses this file to You under the Apache License, Version 2.0
dnl (the "License"); you may not use this file except in compliance with
dnl the License. You may obtain a copy of the License at
dnl
dnl http://www.apache.org/licenses/LICENSE-2.0
dnl
dnl Unless required by applicable law or agreed to in writing, software
dnl distributed under the License is distributed on an "AS IS" BASIS,
dnl WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
dnl See the License for the specific language governing permissions and
dnl limitations under the License.

dnl
dnl libswoc.m4: Trafficserver's libswoc autoconf macros
dnl

dnl
dnl TS_CHECK_LIBSWOC: look for libswoc libraries and headers
dnl
AC_DEFUN([TS_CHECK_LIBSWOC], [
has_libswoc=no
AC_ARG_WITH(libswoc, [AS_HELP_STRING([--with-libswoc=DIR],[use a specific libswoc library])],
[
if test "x$withval" != "xyes" && test "x$withval" != "x"; then
libswoc_base_dir="$withval"
if test "$withval" != "no"; then
has_libswoc=yes
case "$withval" in
*":"*)
swoc_include="`echo $withval |sed -e 's/:.*$//'`"
swoc_ldflags="`echo $withval |sed -e 's/^.*://'`"
AC_MSG_CHECKING(checking for libswoc includes in $swoc_include libs in $swoc_ldflags )
;;
*)
swoc_include="$withval/include"
swoc_ldflags="$withval/lib"
libswoc_base_dir="$withval"
AC_MSG_CHECKING(libswoc includes in $withval libs in $swoc_ldflags)
;;
esac
fi
fi

if test -d $swoc_include && test -d $swoc_ldflags && test -f $swoc_include/libswoc/yaml.h; then
AC_MSG_RESULT([ok])
else
AC_MSG_RESULT([not found])
fi

if test "$has_libswoc" != "no"; then
saved_ldflags=$LDFLAGS
saved_cppflags=$CPPFLAGS

SWOC_LIBS=-lswoc
if test "$libswoc_base_dir" != "/usr"; then
SWOC_INCLUDES=-I${swoc_include}
SWOC_LDFLAGS=-L${swoc_ldflags}

TS_ADDTO_RPATH(${swoc_ldflags})
fi

if test "$swoc_include" != "0"; then
SWOC_INCLUDES=-I${swoc_include}
else
has_libswoc=no
CPPFLAGS=$saved_cppflags
LDFLAGS=$saved_ldflags
fi
fi
],
[
has_libswoc=no
SWOC_INCLUDES=-I\${abs_top_srcdir}/lib/swoc/include
SWOC_LIBS=-lswoc
SWOC_LDFLAGS=-L\${abs_top_builddir}/lib/swoc
])

AC_SUBST([SWOC_INCLUDES])
AC_SUBST([SWOC_LIBS])
AC_SUBST([SWOC_LDFLAGS])

])

dnl TS_CHECK_SWOC: check if we want to export libswoc headers from trafficserver. default: not exported
AC_DEFUN([TS_CHECK_SWOC_HEADERS_EXPORT], [
AC_MSG_CHECKING([whether to export libswoc headers])
AC_ARG_ENABLE([swoc-headers],
[AS_HELP_STRING([--enable-swoc-headers],[Export libswoc headers])],
[],
[enable_swoc_headers=no]
)
AC_MSG_RESULT([$enable_swoc_headers])
])
85 changes: 85 additions & 0 deletions build/nuraft.m4
Original file line number Diff line number Diff line change
@@ -0,0 +1,85 @@
dnl -------------------------------------------------------- -*- autoconf -*-
dnl Licensed to the Apache Software Foundation (ASF) under one or more
dnl contributor license agreements. See the NOTICE file distributed with
dnl this work for additional information regarding copyright ownership.
dnl The ASF licenses this file to You under the Apache License, Version 2.0
dnl (the "License"); you may not use this file except in compliance with
dnl the License. You may obtain a copy of the License at
dnl
dnl http://www.apache.org/licenses/LICENSE-2.0
dnl
dnl Unless required by applicable law or agreed to in writing, software
dnl distributed under the License is distributed on an "AS IS" BASIS,
dnl WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
dnl See the License for the specific language governing permissions and
dnl limitations under the License.

dnl
dnl nuraft.m4: Trafficserver's nuraft autoconf macros
dnl

dnl
dnl TS_CHECK_NURAFT: look for nuraft libraries and headers
dnl

AC_DEFUN([TS_CHECK_NURAFT], [
has_nuraft=no
AC_ARG_WITH(nuraft, [AC_HELP_STRING([--with-nuraft=DIR], [use a specific nuraft library])],
[
if test "x$withval" != "xyes" && test "x$withval" != "x"; then
nuraft_base_dir="$withval"
if test "$withval" != "no"; then
has_nuraft=yes
case "$withval" in
*":"*)
nuraft_include="`echo $withval | sed -e 's/:.*$//'`"
nuraft_ldflags="`echo $withval | sed -e 's/^.*://'`"
AC_MSG_CHECKING(for nuraft includes in $nuraft_include libs in $nuraft_ldflags)
;;
*)
nuraft_include="$withval/include"
nuraft_ldflags="$withval/lib"
nuraft_base_dir="$withval"
AC_MSG_CHECKING(for nuraft includes in $nuraft_include libs in $nuraft_ldflags)
;;
esac
fi
fi

if test -d $nuraft_include && test -d $nuraft_ldflags && test -f $nuraft_include/libnuraft/nuraft.hxx; then
AC_MSG_RESULT([ok])
else
AC_MSG_RESULT([not found])
fi

if test "$has_nuraft" != "no"; then
saved_ldflags=$LDFLAGS
saved_cppflags=$CPPFLAGS

NURAFT_LIBS=-lnuraft
if test "$nuraft_base_dir" != "/usr"; then
NURAFT_INCLUDES=-I${nuraft_include}
NURAFT_LDFLAGS=-L${nuraft_ldflags}

TS_ADDTO(CPPFLAGS, [${NURAFT_INCLUDES}])
TS_ADDTO(LDFLAGS, [${NURAFT_LDFLAGS}])
TS_ADDTO_RPATH(${nuraft_ldflags})
fi

if test "$nuraft_include" != "0"; then
NURAFT_INCLUDES=-I${nuraft_include}
else
has_nuraft=no
CPPFLAGS=$saved_cppflags
LDFLAGS=$saved_ldflags
fi
fi
],
[
has_nuraft=no
])

AC_SUBST([NURAFT_INCLUDES])
AC_SUBST([NURAFT_LIBS])
AC_SUBST([NURAFT_LDFLAGS])
])
1 change: 1 addition & 0 deletions configs/body_factory/default/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ dist_bodyfactory_DATA = \
connect\#dns_failed \
connect\#failed_connect \
connect\#hangup \
connect\#all_dead \
default \
interception\#no_host \
README \
Expand Down
17 changes: 17 additions & 0 deletions configs/body_factory/default/connect#all_dead
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
<HTML>
<HEAD>
<TITLE>No Valid Host</TITLE>
</HEAD>

<BODY BGCOLOR="white" FGCOLOR="black">
<H1>No Valid Host</H1>
<HR>

<FONT FACE="Helvetica,Arial"><B>
Description: Unable to find a valid target host.

The server was found but all of the addresses are marked dead and so there is
no valid target address to which to connect. Please try again after a few minutes.
</B></FONT>
<HR>
</BODY>
37 changes: 30 additions & 7 deletions configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -175,6 +175,13 @@ AC_ARG_ENABLE([all-asserts],
)
AC_MSG_RESULT([$enable_all_asserts])

AC_MSG_CHECKING([whether to enable event tracker])
AC_ARG_ENABLE([event-tracker],
[AS_HELP_STRING([--enable-event-tracker],[turn on event tracker])],
[],
[enable_event_tracker=no]
)
AC_MSG_RESULT([$enable_event_tracker])

# Enable code coverage instrumentation only if requested by the user.
AC_MSG_CHECKING([whether to code coverage])
Expand Down Expand Up @@ -856,7 +863,7 @@ case $host_os_def in
common_opt="-pipe -Wall -Wextra -Wno-ignored-qualifiers -Wno-unused-parameter -Wno-format-truncation -Wno-cast-function-type -Wno-stringop-overflow"
debug_opt="-ggdb3 $common_opt"
release_opt="-g $common_opt $optimizing_flags -feliminate-unused-debug-symbols -fno-strict-aliasing"
cxx_opt="-Wno-invalid-offsetof -Wno-noexcept-type"
cxx_opt="-Wno-invalid-offsetof -Wno-noexcept-type -Wsuggest-override"
# Special options for flex generated .c files
flex_cflags="-Wno-unused-parameter"
])
Expand Down Expand Up @@ -897,7 +904,7 @@ case $host_os_def in
common_opt="-pipe -Wall -Wextra -Wno-ignored-qualifiers -Wno-unused-parameter"
debug_opt="-ggdb3 $common_opt"
release_opt="-g $common_opt $optimizing_flags -feliminate-unused-debug-symbols -fno-strict-aliasing"
cxx_opt="-Wno-invalid-offsetof"
cxx_opt="-Wno-invalid-offsetof -Wsuggest-override"
])

AS_IF([test -d /usr/local/lib], [
Expand Down Expand Up @@ -975,10 +982,15 @@ fi
if test "x${enable_mime_sanity_check}" = "xyes"; then
TS_ADDTO(AM_CPPFLAGS, [-DENABLE_MIME_SANITY_CHECK])
fi

if test "x${enable_all_asserts}" = "xyes"; then
TS_ADDTO(AM_CPPFLAGS, [-DENABLE_ALL_ASSERTS])
fi

if test "x${enable_event_tracker}" = "xyes"; then
TS_ADDTO(AM_CPPFLAGS, [-DENABLE_EVENT_TRACKER])
fi

# Flags for ASAN
if test "x${enable_asan}" = "xyes"; then
if test "x${enable_tsan}" = "xyes" -o "x${enable_tsan}" = "xstatic"; then
Expand Down Expand Up @@ -1446,14 +1458,23 @@ AM_CONDITIONAL([BUILD_YAML_CPP], [test x"$has_yaml_cpp" = x"no"])
TS_CHECK_YAML_HEADERS_EXPORT
AM_CONDITIONAL([EXPORT_YAML_HEADERS], [test x"$enable_yaml_headers" = x"yes"])

TS_CHECK_LIBSWOC
AM_CONDITIONAL([BUILD_SWOC], [test x"$has_libswoc" = x"no"])

TS_CHECK_SWOC_HEADERS_EXPORT
AM_CONDITIONAL([EXPORT_SWOC_HEADER], [test x"$enable_swoc_headers" = x"yes"])

# Check for optional boringocsp library
TS_CHECK_BORINGOCSP

# Check for optional hiredis library
TS_CHECK_HIREDIS

AM_CONDITIONAL([BUILD_SSL_SESSION_REUSE_PLUGIN], [test ! -z "${LIB_HIREDIS}" -a "x${has_hiredis}" = "x1" ])

# Check for optional nuraft library
TS_CHECK_NURAFT
AM_CONDITIONAL([BUILD_STEK_SHARE_PLUGIN], [test x"$has_nuraft" = x"yes"])

# Check for backtrace() support
has_backtrace=0
AC_CHECK_HEADERS([execinfo.h], [has_backtrace=1],[])
Expand Down Expand Up @@ -2312,13 +2333,15 @@ AC_MSG_NOTICE([Build option summary:
CXXFLAGS: $CXXFLAGS
CPPFLAGS: $CPPFLAGS
LDFLAGS: $LDFLAGS
AM@&t@_CFLAGS: $AM_CFLAGS
AM@&t@_CXXFLAGS: $AM_CXXFLAGS
AM@&t@_CPPFLAGS: $AM_CPPFLAGS
AM@&t@_LDFLAGS: $AM_LDFLAGS
AM@&t@_CFLAGS: $AM_CFLAGS
AM@&t@_CXXFLAGS: $AM_CXXFLAGS
AM@&t@_CPPFLAGS: $AM_CPPFLAGS
AM@&t@_LDFLAGS: $AM_LDFLAGS
TS_INCLUDES: $TS_INCLUDES
OPENSSL_LDFLAGS: $OPENSSL_LDFLAGS
OPENSSL_INCLUDES: $OPENSSL_INCLUDES
YAMLCPP_LDFLAGS: $YAMLCPP_LDFLAGS
YAMLCPP_INCLUDES: $YAMLCPP_INCLUDES
NURAFT_LDFLAGS: $NURAFT_LDFLAGS
NURAFT_INCLUDES: $NURAFT_INCLUDES
])
10 changes: 6 additions & 4 deletions doc/Pipfile
Original file line number Diff line number Diff line change
Expand Up @@ -23,15 +23,17 @@ verify_ssl = true

[packages]

# The latest 4.x sphinx release, currently 4.0.2, fails `make html`. For
# details, see: https://github.com/apache/trafficserver/issues/7938
#
# The 3.x releases build fine, however. So we currently pin to that.
# The latest 4.x sphinx release has issues with style rendering. The 3.x
# releases build and render fine, however. So we currently pin to that.
#
# Once that issue, either with sphinx or our docs, is resolved, then we should
# unpin sphinx by setting the following to "*".
sphinx = "==3.*"

# Sphinx 3.x builds break with the latest jinja2. This jinja2 pin can be
# removed when we move to Sphinx 4.x.
jinja2 = "<3.1"

sphinx-rtd-theme = "*"
sphinxcontrib-plantuml = "*"
# i18n
Expand Down
7 changes: 4 additions & 3 deletions doc/admin-guide/files/parent.config.en.rst
Original file line number Diff line number Diff line change
Expand Up @@ -222,6 +222,7 @@ The following list shows the possible actions and their allowed values.
parent is marked down and a new parent is selected to retry the request. The number of
retries is controlled by ``max_unavailable_server_retries`` which is set to 1 by default.
- ``both`` - This enables both ``simple_retry`` and ``unavailable_server_retry`` as described above.
- If not set, by default all response codes will be considered a success, and parents will not be retried based on any HTTP response code.

.. Note::

Expand Down Expand Up @@ -270,7 +271,7 @@ The following list shows the possible actions and their allowed values.
- ``strict`` - Traffic Server machines serve requests strictly in
turn. For example: machine ``proxy1`` serves the first request,
``proxy2`` serves the second request, and so on.
- ``false`` - Round robin selection does not occur.
- ``false`` - The default. Round robin selection does not occur.
- ``consistent_hash`` - consistent hash of the url so that one parent
is chosen for a given url. If a parent is down, the traffic that
would go to the down parent is rehashed amongst the remaining parents.
Expand All @@ -290,7 +291,7 @@ The following list shows the possible actions and their allowed values.
``go_direct``
One of the following values:

- ``true`` - requests bypass parent hierarchies and go directly to
- ``true`` - The default. Requests bypass parent hierarchies and go directly to
the origin server.

- ``false`` - requests do not bypass parent hierarchies.
Expand All @@ -300,7 +301,7 @@ The following list shows the possible actions and their allowed values.
``qstring``
One of the following values:

- ``consider`` - Use the query string when finding a parent.
- ``consider`` - The default. Use the query string when finding a parent.

- ``ignore`` - Do not consider the query string when finding a parent. This
is especially useful when using the ``consistent_hash`` selection strategy,
Expand Down
Loading