Skip to content

Commit

Permalink
Remove the HTTPkit adapter
Browse files Browse the repository at this point in the history
The HTTPkit project seems not to be maintained:

- the git repository has been removed from GitHub
- there has been no release since 2014
  • Loading branch information
orien committed Jan 13, 2023
1 parent e66a9b4 commit 2b02726
Show file tree
Hide file tree
Showing 7 changed files with 4 additions and 103 deletions.
5 changes: 0 additions & 5 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,6 @@ group :test do
gem "websocket_parser", "~>1.0"
end

group :webservers do
gem 'http', '~> 0.6.0'
gem 'httpkit', :platform => [:mri, :rbx]
end

group :guard do
gem 'guard-rspec', '~> 4.7'
case RbConfig::CONFIG['host_os']
Expand Down
3 changes: 1 addition & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,7 @@ are up to you.
requests, and response codes for you.
* Provides a base resource with points of extension to let you
describe what is relevant about your particular resource.
* Supports WEBrick, Reel, HTTPkit, and a Rack shim. Other host
servers are being investigated.
* Supports WEBrick and a Rack shim. Other host servers are being investigated.
* Streaming/chunked response bodies are permitted as Enumerables,
Procs, or Fibers!
* Unlike the Erlang original, it does real Language negotiation.
Expand Down
12 changes: 2 additions & 10 deletions documentation/adapters.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
### Adapters

Webmachine includes adapters for [WEBrick][webrick], and
[HTTPkit][httpkit]. Additionally, the [Rack][rack] adapter lets it
Webmachine includes an adapter for [WEBrick][webrick].
Additionally, the [Rack][rack] adapter lets it
run on any webserver that provides a Rack interface. It also lets it run on
[Shotgun][shotgun] ([example][shotgun_example]).

Expand All @@ -24,15 +24,7 @@ For an example of using Webmachine with Rack middleware, see the [Pact Broker][m

See the [Rack Adapter API docs][rack-adapter-api-docs] for more information.

#### A Note about MRI 1.9

The [HTTPkit][httpkit]
adapter might crash with a `SystemStackError` on MRI 1.9 due to its
limited fiber stack size. If your application is affected by this, the
only known solution is to switch to JRuby, Rubinius or MRI 2.0.

[webrick]: http://rubydoc.info/stdlib/webrick
[httpkit]: https://github.com/lgierth/httpkit
[rack]: https://github.com/rack/rack
[shotgun]: https://github.com/rtomayko/shotgun
[shotgun_example]: https://gist.github.com/4389220
Expand Down
1 change: 0 additions & 1 deletion lib/webmachine/adapters.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,5 @@ module Webmachine
# Contains classes and modules that connect Webmachine to Ruby
# application servers.
module Adapters
autoload :HTTPkit, 'webmachine/adapters/httpkit'
end
end
74 changes: 0 additions & 74 deletions lib/webmachine/adapters/httpkit.rb

This file was deleted.

2 changes: 1 addition & 1 deletion spec/spec_helper.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
require "bundler/setup"
Bundler.require :default, :test, :webservers
Bundler.require :default, :test
require 'logger'

class NullLogger < Logger
Expand Down
10 changes: 0 additions & 10 deletions spec/webmachine/adapters/httpkit_spec.rb

This file was deleted.

0 comments on commit 2b02726

Please sign in to comment.