Java HTTP Write Timeout Test
This repo demonstrates how to make an HTTP upload request hang indefinitely even with read and connect timeouts configured.
Setup
- Create an file to upload:
$ dd if=/dev/zero of=src/main/resources/file.txt count=65536 bs=1024
- Run toxiproxy:
$ docker run --rm--net=host shopify/toxiproxy
- Run the upload server:
$ docker run --rm -p8080:80 srgl/http-echo