Problem uploading files with rails
----------------------------------
Key: JRUBY-2082
URL: http://jira.codehaus.org/browse/JRUBY-2082
Project: JRuby
Issue Type: Bug
Components: Core Classes/Modules
Reporter: Charles Oliver Nutter
This is probably an issue with the new IO code. I can reproduce it with a
specific app and a specific file upload, while other files work ok.
{noformat}
Completed in 0.12000 (8 reqs/sec) | Rendering: 0.08900 (74%) | DB: 0.00100 (0%)
| 200 OK [http://localhost/contents/new]
Wed Feb 06 14:30:05 -0600 2008: Error reading HTTP body: #<RuntimeError: Socket
read returned insufficient data: 3439>
/Users/headius/NetBeansProjects/jruby/lib/ruby/gems/1.8/gems/mongrel-1.1.3-java/lib/mongrel/http_request.rb:107:in
`read_socket'
/Users/headius/NetBeansProjects/jruby/lib/ruby/gems/1.8/gems/mongrel-1.1.3-java/lib/mongrel/http_request.rb:86:in
`read_body'
/Users/headius/NetBeansProjects/jruby/lib/ruby/gems/1.8/gems/mongrel-1.1.3-java/lib/mongrel/http_request.rb:55:in
`initialize'
/Users/headius/NetBeansProjects/jruby/lib/ruby/gems/1.8/gems/mongrel-1.1.3-java/lib/mongrel.rb:149:in
`new'
/Users/headius/NetBeansProjects/jruby/lib/ruby/gems/1.8/gems/mongrel-1.1.3-java/lib/mongrel.rb:149:in
`process_client'
/Users/headius/NetBeansProjects/jruby/lib/ruby/gems/1.8/gems/mongrel-1.1.3-java/lib/mongrel.rb:148:in
`run'
/Users/headius/NetBeansProjects/jruby/lib/ruby/gems/1.8/gems/mongrel-1.1.3-java/lib/mongrel.rb:285:in
`initialize'
{noformat}
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email