Ticket #152 (closed defect: worksforme)

Opened 6 months ago

Last modified 6 months ago

[PATCH] Revision 240 Breaks FCGI

Reported by: archengule Owned by: somebody
Priority: critical Milestone:
Component: camping.rb Version:
Keywords: Cc:

Description

{240} was committed in an effort to fix #147. This just broke FCGI. In the 'to_s' method, 'v' is undefined, where it wasn't in earlier revisions. I fixed this by replacing the {240} 'to_s' with whateley's suggestion:

(headers.map{|k,v|[*v].map{|x|[k,v]*": "}}*Z+Z).gsub(Z*2,Z)+Z

which also seems to fix #147

Attachments

fcgi_to_s.patch (1.5 kB) - added by archengule 6 months ago.
patch to change 'to_s' so it works w/ fcgi

Change History

Changed 6 months ago by archengule

patch to change 'to_s' so it works w/ fcgi

Changed 6 months ago by archengule

  • summary changed from Revision 240 Breaks FCGI to [PATCH] Revision 240 Breaks FCGI

Changed 6 months ago by archengule

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

Ah, thanks! [242] works wonderfully.

Note: See TracTickets for help on using tickets.