1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* lib/webrick/server.rb (WEBrick::GenericServer#start): should

restore @token if accept failure. suggested by Dominique Brezinski.
  [ruby-core:04518]

* sample/webrick/httpsd.rb: fix typo in comment. suggested by
  Kazuhiko Shiozaki.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8107 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
gotoyuzo 2005-03-07 12:35:41 +00:00
parent 24cb3707eb
commit df2e47fe44
2 changed files with 11 additions and 2 deletions

View file

@ -11,8 +11,8 @@ httpd = WEBrick::HTTPServer.new(
:SSLEnable => true,
# Specify key pair and server certificate.
# :SSLPrivateKey => OpenSSL::PKey::RSA.new("server.key"),
# :SSLCertificate => OpenSSL::X509::Certificate.new("server.crt"),
# :SSLPrivateKey => OpenSSL::PKey::RSA.new(File.read("server.key")),
# :SSLCertificate => OpenSSL::X509::Certificate.new(File.read("server.crt")),
# specify the following SSL options if you want to use auto
# generated self-signed certificate.