Skip to content

Commit

Permalink
[Doc] Describe the stance of WEBrick about its security and utilization
Browse files Browse the repository at this point in the history
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 0f0c9f1 commit d91c985
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions lib/webrick.rb
Original file line number Diff line number Diff line change
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 d91c985

Please sign in to comment.