From a0f2c4514e969d0a127227201cbdb8e57f71df63 Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Sun, 5 Jul 2009 15:46:52 -0700 Subject: 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. --- lib/unicorn/chunked_reader.rb | 2 +- lib/unicorn/http_request.rb | 2 +- lib/unicorn/trailer_parser.rb | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'lib') 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 -- cgit v1.2.3-24-ge0c7