about summary refs log tree commit homepage
path: root/ext/unicorn_http/global_variables.h
diff options
context:
space:
mode:
authorEric Wong <normalperson@yhbt.net>2009-08-17 00:07:42 -0700
committerEric Wong <normalperson@yhbt.net>2009-08-17 00:13:54 -0700
commit4e81d6f2e2a6a6b3de15bbd0e08992dd4630fa4b (patch)
tree9423943d84445e9383d74b105488571337731cd0 /ext/unicorn_http/global_variables.h
parent12d9161f33e98331552a8a767c4fc11ab741cc5a (diff)
downloadunicorn-4e81d6f2e2a6a6b3de15bbd0e08992dd4630fa4b.tar.gz
* Documented Unicorn::HttpParser API methods

* Keep GPL2 (COPYING) as-is without RDoc formatting.

* The auto-generated index.html is stupid, replace it with
  README which looks saner.
Diffstat (limited to 'ext/unicorn_http/global_variables.h')
-rw-r--r--ext/unicorn_http/global_variables.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/ext/unicorn_http/global_variables.h b/ext/unicorn_http/global_variables.h
index b8b6221..14aa77a 100644
--- a/ext/unicorn_http/global_variables.h
+++ b/ext/unicorn_http/global_variables.h
@@ -61,8 +61,6 @@ DEF_MAX_LENGTH(HEADER, (1024 * (80 + 32)));
 
 void init_globals(void)
 {
-  mUnicorn = rb_define_module("Unicorn");
-
   DEF_GLOBAL(rack_url_scheme, "rack.url_scheme");
   DEF_GLOBAL(request_method, "REQUEST_METHOD");
   DEF_GLOBAL(request_uri, "REQUEST_URI");
@@ -82,10 +80,6 @@ void init_globals(void)
   DEF_GLOBAL(http_11, "HTTP/1.1");
   DEF_GLOBAL(GET, "GET");
   DEF_GLOBAL(HEAD, "HEAD");
-
-  eHttpParserError =
-         rb_define_class_under(mUnicorn, "HttpParserError", rb_eIOError);
-  cHttpParser = rb_define_class_under(mUnicorn, "HttpParser", rb_cObject);
 }
 
 #undef DEF_GLOBAL