Skip to content

chingor13/http-write-timeout

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Java HTTP Write Timeout Test

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published