jujiale commented on issue #7631:
URL: https://github.com/apache/apisix/issues/7631#issuecomment-1210280004
@kingluo
what I find strange is that the request header if has
"Connection:keep-alive" or not. it make effect of the test result. such as set
**idle_timeout=0**,
1.my etcd config:
`
{
"id": "420379229796959160",
"create_time": 1660095146,
"update_time": 1660116335,
"uri": "/get",
"name": "httpbin_test",
"methods": ["GET", "POST", "PUT", "DELETE", "PATCH", "HEAD",
"OPTIONS", "CONNECT", "TRACE"],
"upstream": {
"nodes": {
"54.144.64.232:80": 1
},
"timeout": {
"connect": 6,
"send": 6,
"read": 6
},
"type": "chash",
"hash_on": "vars",
"key": "remote_addr",
"scheme": "http",
"pass_host": "pass",
"keepalive_pool": {
"idle_timeout": 0,
"requests": 1000,
"size": 1
}
},
"status": 1
}
`
2.I use postman to send request to my apisix server in order to control the
request header conveniently.
3.the request header if not has "Connection:keep-alive" the result like
below:

4.if request header has "Connection:keep-alive" the result like below:

--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]