summaryrefslogtreecommitdiffstats
path: root/library/http
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2020-09-14 08:52:27 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2020-09-14 08:52:27 (GMT)
commit5bef31d2da2eb4ed8f3261ef8276cb2a3b6f3a1e (patch)
treebe42043b3edc311624d584d27f738404852c1219 /library/http
parente89503a925f86a4914df078203ed227305110bbd (diff)
downloadtcl-5bef31d2da2eb4ed8f3261ef8276cb2a3b6f3a1e.zip
tcl-5bef31d2da2eb4ed8f3261ef8276cb2a3b6f3a1e.tar.gz
tcl-5bef31d2da2eb4ed8f3261ef8276cb2a3b6f3a1e.tar.bz2
Prevent the usage of the term safe/unsafe child. Suggested by Keith Nash. Thanks!
Diffstat (limited to 'library/http')
-rw-r--r--library/http/http.tcl2
1 files changed, 1 insertions, 1 deletions
diff --git a/library/http/http.tcl b/library/http/http.tcl
index 4117f44..21d6671 100644
--- a/library/http/http.tcl
+++ b/library/http/http.tcl
@@ -2791,7 +2791,7 @@ proc http::Event {sock token} {
# scan any list for "close".
if {$tmpHeader in {close keep-alive}} {
# The common cases, continue.
- } elseif {[string first , $tmpHeader] == -1} {
+ } elseif {[string first , $tmpHeader] < 0} {
# Not a comma-separated list, not "close",
# therefore "keep-alive".
set tmpHeader keep-alive