Closed wch closed 5 years ago
@wch Did you want this in the upcoming release of httpuv? Or the next one?
I was hoping to get it in this release. Actually, it might make sense to add in some code that finds an available port, as described in rstudio/shiny#2562.
Closes #194, closes #233. The
quiet
option suppresses messages that are normally printed to console (and can't be intercepted withcapture.output
).Update: This PR now adds a new function,
randomPort
.Testing notes. The code below should have the behavior as described.