Open krizhanovsky opened 1 week ago
From the tcpdump log between the upstream and Tempesta FW:
GET /blog/building-your-own-wordpress-staging-with-tempesta-fw/ HTTP/1.1
host: tempesta-tech.com
user-agent: curl/7.81.0
x-forwarded-for: 192.168.100.1
accept: */*
cache-control: max-age=2
x-forwarded-proto: https
via: 1.1 tempesta_fw (Tempesta FW 0.8.0)
HTTP/1.1 200 OK
Date: Sun, 16 Jun 2024 17:25:41 GMT
Server: Apache/2.4.52 (Ubuntu)
X-Pingback: https://tempesta-tech.com/xmlrpc.php
Link: <https://tempesta-tech.com/wp-json/>; rel="https://api.w.org/"
Link: <https://tempesta-tech.com/wp-json/wp/v2/posts/3658>; rel="alternate"; type="application/json"
Link: <https://tempesta-tech.com/?p=3658>; rel=shortlink
Vary: Accept-Encoding
Transfer-Encoding: chunked
Content-Type: text/html; charset=UTF-8
26896
<!DOCTYPE html><html ....
Run the current master as of 27bab668a528dc0075a99d174f3b370c58ce9aed in a VM with config
Run our website LXC staging container on the host system as an upstream. Send requests (maybe many times) like
Observe the access log in the VM serial console output:
Obviously Tempesta sends not 0 bytes.
Testing
Please update our tests to make sure that Tempesta reports the right number of sent bytes for the access log