Lazarus

Programming => Operating Systems => macOS / Mac OS X => Topic started by: JazzMan on September 06, 2010, 03:50:20 pm

Title: Indy http component doesn't work on OS X?
Post by: JazzMan on September 06, 2010, 03:50:20 pm
Hi,

I made a small program to test the tIDhttp component on both Windows and OS X. I send a simple text request using the POST command to get a text response from the server.
It works perfectly well on Windows, but it locks up on OS X.

Anyone having experience with Indy http on OS X?

The error happens in TIdCustomHTTP.ReadResult where it calls IOHandler.ReadStream with unknown response contentlength. I have placed a breakpoint at the first line of ReadStream, but it never enters this function. Any suggestions?

Best regards,
Hans Jakobsen
Title: Re: Indy http component doesn't work on OS X?
Post by: skalogryz on September 10, 2010, 03:18:10 pm
Any suggestions?

either lnet (http://wiki.freepascal.org/lNet), or synapse (http://www.ararat.cz/synapse/doku.php/start) (trunk versions)

I'm not aware of Indy developers trying to maintain the component for MacOSX.

thanks,
dmitry
Title: Re: Indy http component doesn't work on OS X?
Post by: JazzMan on September 10, 2010, 04:24:46 pm
Yes, I gave up on Indy. Too many problems. Today I tried Synapse and within 10 minutes I was up running on both Windows and Mac. It simply works :-)

Best regards,
Hans
TinyPortal © 2005-2018