thin icon indicating copy to clipboard operation
thin copied to clipboard

Thin 2.0.1 hangs on file uploads w/ Rails 2.3 LTS + Ruby 3.3.8

Open djrobby opened this issue 5 months ago • 1 comments

Hi folks - please don't roast me 😅

Yes, I'm still running a legacy app on Rails 2.3 LTS (makandra fork) - it's been rock solid for 15 years on Ruby 1.9.3 and Thin 1.8.2. Recently upgraded to Ruby 3.3.8 and Thin 2.0.1 to support bump from MySQL 5.7 to 8.

But now, Thin (2.0.1 and 1.8.2) hangs indefinitely when uploading files over ~150KB. Small uploads work fine. No errors raised, just full socket silence. Seems like the request body never completes or gets parsed.

Same exact app and upload logic worked flawlessly on Ruby 1.9.3 and Thin 1.8.2.

Any idea what's going on under the hood or if there's a way to patch/workaround this?

Thanks in advance 🙏

djrobby avatar Jun 30 '25 19:06 djrobby

Thanks for your bug report. It sounds like it could be a bug with Thin.

ioquatix avatar Jun 30 '25 23:06 ioquatix