This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!--- Fixes POPCFC (http://popcfc.riaforge.org/) socket.cfc read() timing out when connecting over SSL. | |
Source: http://stackoverflow.com/questions/29778233/not-getting-a-response-when-communicating-with-google-using-java-sslsocket ---> | |
<cfloop condition="not locInput.ready()"> | |
<cfset sleep(1)> <!--- take a breather ---> | |
<cfif timeout LT getTickCount()> | |
<!--- if we're here we haven't had a response from the server ---> | |
<cfthrow message="Connection Timed out." detail="The connection did not receive a response within the timeout period."> | |
</cfif> |