https://github.com/gui/ts-3959
Scripts to demonstrate https://issues.apache.org/jira/browse/TS-3959
https://github.com/gui/ts-3959
Last synced: 9 months ago
JSON representation
Scripts to demonstrate https://issues.apache.org/jira/browse/TS-3959
- Host: GitHub
- URL: https://github.com/gui/ts-3959
- Owner: GUI
- Created: 2016-05-31T02:14:32.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2016-10-16T13:48:50.000Z (about 9 years ago)
- Last Synced: 2025-02-12T23:44:24.539Z (11 months ago)
- Language: Ruby
- Size: 1.95 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# TS-3959
Scripts to demonstrate [TS-3959](https://issues.apache.org/jira/browse/TS-3959).
1. Install [`trafficserver/remap.config`](trafficserver/remap.config) into your TrafficServer installation.
2. Start TrafficServer on port 8080 (the default).
3. Run nginx in the foreground (on port 8070):
```sh
$ nginx -p $PWD/nginx/ -c conf/nginx.conf
```
4. In a new terminal window, run the test script:
```sh
$ ruby test.rb
```
In TrafficServer 6+ (including master as of [0c5f3d7](https://github.com/apache/trafficserver/commit/0c5f3d7b1df42736936956b5396b58c04c861378)), after around 1 minute of running, you'll likely see a couple errors in the output like this (`.`s are printed for each successful request):
```
2016-05-31T02:12:54+00:00 Reloading nginx (25530)
.........................................................................
................................................................................
................................................................................
..................................................
ERROR: 502
Server Connection Closed
Server Connection Closed
Description: The server requested closed the connection before
the transaction was completed.
```