Ticket #114 (closed defect: fixed)

Opened 21 months ago

Last modified 18 months ago

typo in webrick.rb causing error serving static files

Reported by: pyrat Owned by: why
Priority: major Milestone:
Component: camping/webrick.rb Version:
Keywords: Cc:

Description

There is a typo in webrick.rb : line 59

The var should be called resp

[2006-12-22 16:43:26] ERROR NameError?: undefined local variable or method `res' for #<WEBrick::CampingHandler:0xb7db5d48>

/usr/lib/ruby/gems/1.8/gems/camping-1.5/lib/camping/webrick.rb:59:in `service' /usr/lib/ruby/1.8/webrick/httpserver.rb:104:in `service' /usr/lib/ruby/1.8/webrick/httpserver.rb:65:in `run' /usr/lib/ruby/1.8/webrick/server.rb:173:in `start_thread' /usr/lib/ruby/1.8/webrick/server.rb:162:in `start_thread' /usr/lib/ruby/1.8/webrick/server.rb:95:in `start' /usr/lib/ruby/1.8/webrick/server.rb:92:in `start' /usr/lib/ruby/1.8/webrick/server.rb:23:in `start' /usr/lib/ruby/1.8/webrick/server.rb:82:in `start' /usr/lib/ruby/gems/1.8/gems/camping-1.5/bin/camping:244 /usr/bin/camping:18

Change History

Changed 18 months ago by zachdennis

*bump*. Please fix this, it is such an easy change and such an annoying bug.

Changed 18 months ago by zachdennis

  • status changed from new to closed
  • resolution set to fixed

Actually, this has been fixed in trunk in Change [173] . It just needs to be released.

Note: See TracTickets for help on using tickets.