HttpConnection.as - comented code problem

Submit all your BlueBox related questions or report a bug here!

Moderators: Lapo, Bax

User avatar
3eka
Posts: 9
Joined: 09 Jun 2008, 12:50
Contact:

HttpConnection.as - comented code problem

Postby 3eka » 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.
User avatar
3eka
Posts: 9
Joined: 09 Jun 2008, 12:50
Contact:

Postby 3eka » 09 Jun 2008, 13:06

Almost forgot: i'm using AS 2.0 API
User avatar
3eka
Posts: 9
Joined: 09 Jun 2008, 12:50
Contact:

Postby 3eka » 10 Jun 2008, 22:35

Excuse me, but does somebody answer question here? Is there any support? :?
patso
Posts: 380
Joined: 13 Nov 2006, 13:44
Location: Sofia, Bulgaria

Postby patso » 11 Jun 2008, 07:25

Here is the code from the API for AS 2 for sfs pro 1.6

Code: Select all

else
{
   // If not already connected -> BlueBox connection failure.
   if (!classRef.connected)
      classRef.handleIOError("I/O error: null response from server")
}


Maybe you're using older version of the API.
User avatar
3eka
Posts: 9
Joined: 09 Jun 2008, 12:50
Contact:

Postby 3eka » 11 Jun 2008, 09:44

Thanx. This problem was really fixed in 1.6.1 and i'm still using 1.6.0.

http://www.smartfoxserver.com/products/ ... 1_6_2.html

Upgrading...

Return to “BlueBox”

Who is online

Users browsing this forum: No registered users and 13 guests