Skip to content

Latest commit

 

History

History
25 lines (16 loc) · 441 Bytes

README.md

File metadata and controls

25 lines (16 loc) · 441 Bytes

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

  1. Create an file to upload:
$ dd if=/dev/zero of=src/main/resources/file.txt count=65536 bs=1024
  1. Run toxiproxy:
$ docker run --rm --net=host shopify/toxiproxy
  1. Run the upload server:
$ docker run --rm -p8080:80 srgl/http-echo