Skip to content

Commit

Permalink
[webrick][DOC] Describe the stance of WEBrick about its security and …
Browse files Browse the repository at this point in the history
…utilization (#3457)

WEBrick is not recommended for the production use.  We need to explicitly
describe this fact in the document to avoid troubles due to misunderstanding.
  • Loading branch information
mrkn committed Aug 26, 2020
1 parent a84a2e8 commit 72cb9bc
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions lib/webrick.rb
Expand Up @@ -15,6 +15,11 @@
# WEBrick also includes tools for daemonizing a process and starting a process
# at a higher privilege level and dropping permissions.
#
# == Security
#
# *Warning:* WEBrick is not recommended for production. It only implements
# basic security checks.
#
# == Starting an HTTP server
#
# To create a new WEBrick::HTTPServer that will listen to connections on port
Expand Down Expand Up @@ -139,9 +144,9 @@
# servers. See WEBrick::HTTPAuth, WEBrick::HTTPAuth::BasicAuth and
# WEBrick::HTTPAuth::DigestAuth.
#
# == WEBrick as a Production Web Server
# == WEBrick as a daemonized Web Server
#
# WEBrick can be run as a production server for small loads.
# WEBrick can be run as a daemonized server for small loads.
#
# === Daemonizing
#
Expand Down

0 comments on commit 72cb9bc

Please sign in to comment.