GarageGames/Torque3D — pull request #463 by skaughtx0r (2013-08-11 02:02:38+00:00)
Title: Fix bug in HTTPObject

HTTPObject's processLine function's signature did not match the virtual processLine function on TCPObject. This caused undesired results.

Instead of HTTPObject::onLine containing just the response data, it also included the full HTTP header. I assume this was not the intended functionality because HTTPObject's processLine was never getting called and fixing it gave me the output that I expected from an HTTP helper class.

There is also an issue where the data returned from the server requires a new line appended to the end, but that problem is happening in TCPObject.

Another issue is that HTTPObject seems to leave the socket connection open after receiving the response from the server. I had to add special code to my php file to force the connection closed.