HttpConnection.as - comented code problem
Posted: 09 Jun 2008, 12:57
Hello!
I'm using SFS with BlueBox. When server can not be reached, SF Client tries to connect via BlueBox and, of course, connection fails (no connection available) flash client does not fire onConnection event.
I looked through the code of HttpConnection.as and noticed commented code at line 146 in method handleResponse of class HttpConnection:
/*
else
{
// fire error
classRef.handleIOError("I/O error: null response from server")
}
*/
When i discommented this line of code everything works fine.
Why did you comment this code? Is there any reason or just a bug?
Thanx for the answer.
I'm using SFS with BlueBox. When server can not be reached, SF Client tries to connect via BlueBox and, of course, connection fails (no connection available) flash client does not fire onConnection event.
I looked through the code of HttpConnection.as and noticed commented code at line 146 in method handleResponse of class HttpConnection:
/*
else
{
// fire error
classRef.handleIOError("I/O error: null response from server")
}
*/
When i discommented this line of code everything works fine.
Why did you comment this code? Is there any reason or just a bug?
Thanx for the answer.