Hi,
1.7.6 gives me errors (in log) with redirect rules. Example config that
produces 503 errors in logs and curl -v complains:
< HTTP/1.1 301 Moved Permanently
< Content-length: 0
< Location: https://127.0.0.1:8080/
<
* Excess found in a non pipelined read: excess = 212 url = /
* (zero-length body)
* Connection #0 to host 127.0.0.1 left intact
Example config:
frontend test
bind ipv4@127.0.0.1:8080
redirect scheme https code 301 if { dst_port 8080 }
# this also gives 503
#http-request redirect scheme https code 301 if { dst_port 8080 }
default_backend test_be2
backend test_be2
server wp1 ip.add.re.ss:80 id 1
(I have quite a few redirect rules in prod. config and all seem to
produce 503 in logs).
git bisect gives this commit as "bad":
commit 73d071ecc84e0f26ebe1b9576fffc1ed0357ef32
BUG/MINOR: http: Fix conditions to clean up a txn and to handle the next req
If I revert this commit then the example config gives 301 in log and
curl doesn't complain about read.
-Jarno
--
Jarno Huuskonen
1.7.6 gives me errors (in log) with redirect rules. Example config that
produces 503 errors in logs and curl -v complains:
< HTTP/1.1 301 Moved Permanently
< Content-length: 0
< Location: https://127.0.0.1:8080/
<
* Excess found in a non pipelined read: excess = 212 url = /
* (zero-length body)
* Connection #0 to host 127.0.0.1 left intact
Example config:
frontend test
bind ipv4@127.0.0.1:8080
redirect scheme https code 301 if { dst_port 8080 }
# this also gives 503
#http-request redirect scheme https code 301 if { dst_port 8080 }
default_backend test_be2
backend test_be2
server wp1 ip.add.re.ss:80 id 1
(I have quite a few redirect rules in prod. config and all seem to
produce 503 in logs).
git bisect gives this commit as "bad":
commit 73d071ecc84e0f26ebe1b9576fffc1ed0357ef32
BUG/MINOR: http: Fix conditions to clean up a txn and to handle the next req
If I revert this commit then the example config gives 301 in log and
curl doesn't complain about read.
-Jarno
--
Jarno Huuskonen