Skip to content

gorsuch/thin-timeout-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This is a simple example demonstrating when Thin seems to be defaulting to 30 seconds and when it does not.

See the 30s timeout in action

Launch the app indirectly:

bundle exec ruby web.rb

In a separate shell, run:

curl http://localhost:4567

You should see:

curl: (52) Empty reply from server

Workaround:

Launch thin directly:

bundle exec rackup -I .

In a separate shell, run:

curl http://localhost:9292

You should see:

made it

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages