rack-devel archive mirror (unofficial) https://groups.google.com/group/rack-devel
 help / color / mirror / Atom feed
From: gpg <giorgenes@gmail.com>
To: Rack Development <rack-devel@googlegroups.com>
Subject: can't use POST with 1.0.1 + fastcgi
Date: Fri, 5 Mar 2010 12:47:25 -0800 (PST)	[thread overview]
Message-ID: <554c106c-bfa2-40d9-b826-13374f76688a@15g2000yqi.googlegroups.com> (raw)

Hello,

Sorry to bother you guys, I've been looking for this problem on the
web but can't figure out what it is.

I'm trying to use ruby 1.9.1 + rack 1.0.1 + fastcgi + lighttpd.
Everything works fine EXCEPT posts:

/!\ FAILSAFE /!\  2010-03-05 17:27:03 -0300
  Status: 500 Internal Server Error
  closed stream
    /var/lib/gems/1.9.1/gems/rack-1.0.1/lib/rack/rewindable_input.rb:
86:in `make_rewindable'
    /var/lib/gems/1.9.1/gems/rack-1.0.1/lib/rack/rewindable_input.rb:
26:in `read'
    /var/lib/gems/1.9.1/gems/rack-1.0.1/lib/rack/request.rb:134:in
`POST'
    /var/lib/gems/1.9.1/gems/rack-1.0.1/lib/rack/methodoverride.rb:
15:in `call'
    /var/lib/gems/1.9.1/gems/actionpack-2.3.4/lib/action_controller/
params_parser.rb:15:in `call'
    /var/lib/gems/1.9.1/gems/actionpack-2.3.4/lib/action_controller/
session/cookie_store.rb:93:in `call'
    /var/lib/gems/1.9.1/gems/actionpack-2.3.4/lib/action_controller/
failsafe.rb:26:in `call'
    /var/lib/gems/1.9.1/gems/actionpack-2.3.4/lib/action_controller/
dispatcher.rb:106:in `call'
    /var/lib/gems/1.9.1/gems/rack-1.0.1/lib/rack/content_length.rb:
13:in `call'
    /var/lib/gems/1.9.1/gems/rack-1.0.1/lib/rack/handler/fastcgi.rb:
58:in `serve'
    /var/lib/gems/1.9.1/gems/rails-2.3.4/lib/fcgi_handler.rb:103:in
`block in process_request'
    /var/lib/gems/1.9.1/gems/rails-2.3.4/lib/fcgi_handler.rb:153:in
`with_signal_handler'
    /var/lib/gems/1.9.1/gems/rails-2.3.4/lib/fcgi_handler.rb:101:in
`process_request'
    /var/lib/gems/1.9.1/gems/rails-2.3.4/lib/fcgi_handler.rb:78:in
`block (2 levels) in process_each_request'
    /var/lib/gems/1.9.1/gems/rails-2.3.4/lib/fcgi_handler.rb:77:in
`each'
    /var/lib/gems/1.9.1/gems/rails-2.3.4/lib/fcgi_handler.rb:77:in
`block in process_each_request'
    /var/lib/gems/1.9.1/gems/rails-2.3.4/lib/fcgi_handler.rb:76:in
`catch'
    /var/lib/gems/1.9.1/gems/rails-2.3.4/lib/fcgi_handler.rb:76:in
`process_each_request'
    /var/lib/gems/1.9.1/gems/rails-2.3.4/lib/fcgi_handler.rb:51:in
`process!'
    /var/lib/gems/1.9.1/gems/rails-2.3.4/lib/fcgi_handler.rb:23:in
`process!'

I've tried the patches in this link with no success:
http://www.litespeedtech.com/support/forum/showthread.php?t=3453

Could someone point me a solution?

Thanks in advance.

             reply	other threads:[~2010-03-05 20:48 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-03-05 20:47 gpg [this message]
2010-03-06 10:26 ` can't use POST with 1.0.1 + fastcgi Hongli Lai
2010-07-06 16:57   ` Giorgenes Gelatti
2010-07-06 20:32     ` James Tucker
2010-07-06 20:35       ` Giorgenes Gelatti
2010-07-06 20:48         ` James Tucker
2010-07-06 21:04           ` Giorgenes Gelatti

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-list from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://groups.google.com/group/rack-devel

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=554c106c-bfa2-40d9-b826-13374f76688a@15g2000yqi.googlegroups.com \
    --to=rack-devel@googlegroups.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).