diff options
author | Eric Wong <normalperson@yhbt.net> | 2009-07-05 15:46:52 -0700 |
---|---|---|
committer | Eric Wong <normalperson@yhbt.net> | 2009-07-15 01:17:39 -0700 |
commit | a0f2c4514e969d0a127227201cbdb8e57f71df63 (patch) | |
tree | b88fef09c90f2df707c703dddecad27ab46aed77 /lib/unicorn | |
parent | d3dd9cd839b85d92e2080ba10ed38c58d96a6e9d (diff) | |
download | unicorn-a0f2c4514e969d0a127227201cbdb8e57f71df63.tar.gz |
Rename unicorn/http11 => unicorn_http
We couldn't do proper namespacing for the C module so there was a potential conflict with Init_http11() in Mongrel. This was needed because Mongrel's HTTP parser could be used in some applications and we may be unfortunate enough need to support them.
Diffstat (limited to 'lib/unicorn')
-rw-r--r-- | lib/unicorn/chunked_reader.rb | 2 | ||||
-rw-r--r-- | lib/unicorn/http_request.rb | 2 | ||||
-rw-r--r-- | lib/unicorn/trailer_parser.rb | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/lib/unicorn/chunked_reader.rb b/lib/unicorn/chunked_reader.rb index 606e4a6..539b350 100644 --- a/lib/unicorn/chunked_reader.rb +++ b/lib/unicorn/chunked_reader.rb @@ -2,7 +2,7 @@ # You can redistribute it and/or modify it under the same terms as Ruby. require 'unicorn' -require 'unicorn/http11' +require 'unicorn_http' module Unicorn class ChunkedReader diff --git a/lib/unicorn/http_request.rb b/lib/unicorn/http_request.rb index b8df403..f4cc77c 100644 --- a/lib/unicorn/http_request.rb +++ b/lib/unicorn/http_request.rb @@ -1,7 +1,7 @@ require 'stringio' # compiled extension -require 'unicorn/http11' +require 'unicorn_http' module Unicorn class HttpRequest diff --git a/lib/unicorn/trailer_parser.rb b/lib/unicorn/trailer_parser.rb index 9431331..22f2e1d 100644 --- a/lib/unicorn/trailer_parser.rb +++ b/lib/unicorn/trailer_parser.rb @@ -1,7 +1,7 @@ # Copyright (c) 2009 Eric Wong # You can redistribute it and/or modify it under the same terms as Ruby. require 'unicorn' -require 'unicorn/http11' +require 'unicorn_http' # Eventually I should integrate this into HttpParser... module Unicorn |