From: Chananya Freiman Date: 2010-12-08T05:48:44+09:00 Subject: Re: HTTP POST request --> Ruby server After more debugging it looks like Ruby gets stuck when it tries to add the very last character, AFTER the POST data (why is there a character there anyway?) to a string. So, in this example the whole packet is 559 characters long. This code prints it just fine: (1..560).each { |a| print peer.readchar } Yet this one gets stuck (inside the loop, it doesn't even get to the print): str = "" (1..560).each { |a| str += peer.readchar } print str Can't figure why :o -- Posted via http://www.ruby-forum.com/.