Skip to content

DoctrinAB/keep-alive-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

keep-alive-cli

A cli for testing http keep-alive connections during graceful exits. The client makes two requests to the passed url. The first request attempts to establish a keep-alive connection. You're supposed to kill the server manually between requests.

usage

$ node index.js <url> [delay method]

flags

  • url - The url to call. Required
  • delay - The time between requests. Optional. Defaults to 10s
  • method - The request method. Optional. Defaults to GET

env_vars

  • HEADERS=1 to dump all request and response headers

todos

  • parse cli args
  • dump connection header
  • opt to dump all headers

license

MIT

About

a cli for testing http keep-alive connections

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published