Releases: yihui/servr
Releases · yihui/servr
servr 0.22
- When the global option
options(servr.test.0.0.0.0 = TRUE)
,random_port()
tests the availability of a port at the host address0.0.0.0
when the requested host address is127.0.0.1
.
servr 0.21
servr 0.20
server_config()
will add a leading/
tobaseurl
if it has not already been included.
servr 0.19
server_config()
also returns thedaemon
value in the list.
servr 0.18
-
Fixed the malformed Accept-Ranges header (thanks, @JasonPunyon, #47).
-
servr::random_port()
looks for an available port quietly viahttpuv::startServer(quiet = TRUE)
. This requires httpuv >= v1.5.2.
servr 0.17
- Added an argument
open
toservr::browse_last()
so users can decide whether to reopen the lastly browsed page.
servr 0.16
- Refinements to HTTP range request responses. Open-ended range requests (including "Range: bytes=0-") should now be correctly handled (thanks, @raymondben, #41).
servr 0.15
BUG FIXES
- When the environment variable
R_SERVR_PORT
is set,server_config()
may issue a superfluous warning "createTcpServer: address already in use" due to an unnecessary call torandom_port()
(thanks, @itcarroll, #39).
servr 0.14
NEW FEATURES
- The argument
host
inserver_config()
can be configured through the global optionservr.host
now, e.g.,options(servr.host = '0.0.0.0')
. This was inspired by https://yihui.name/en/2018/09/localhost-0-0-0-0/#comment-4480809238.
servr 0.13
NEW FEATURES
-
Added a
verbose
argument toserver_config()
. -
The
interval
argument ofserver_config()
can be set via the global optionservr.interval
now. For example,options(servr.interval = 0.5)
.
MAJOR CHANGES
- Server functions such as
httd()
now return the config object created byserver_config()
instead of the server handle returned byhttpuv::startServer()
. The config object contains various information about the server and methods to start/stop the server.