Permalink
Browse files

Use #no_environment_strings in example for better performance

  • Loading branch information...
1 parent 1d896fd commit 2ee1d41f9aa30b65354e82fa80fbae3fd1b8222a @tmm1 tmm1 committed Aug 1, 2009
Showing with 5 additions and 1 deletion.
  1. +5 −1 README
View
@@ -17,8 +17,12 @@
class MyHttpServer < EM::Connection
include EM::HttpServer
- def process_http_request
+ def post_init
+ super
+ no_environment_strings
+ end
+ def process_http_request
# the http request details are available via the following instance variables:
# @http_protocol
# @http_request_method

0 comments on commit 2ee1d41

Please sign in to comment.