Thin 2.0.1 hangs on file uploads w/ Rails 2.3 LTS + Ruby 3.3.8
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 🙏
Thanks for your bug report. It sounds like it could be a bug with Thin.