Skip to main content
Santanu Karar
Known Participant
December 18, 2013
Question

HTTPService.requestTimeout seems still kicking in 2013, with AIR SDK 3.1-3.8!

  • December 18, 2013
  • 1 reply
  • 704 views

Why a years long issue which always used to be so much of pain that Adobe can not rectify!

Environment:

Flex AIR SDK 3.1 - 3.8 (through which I've tested)

Flex SDK 4.6

Take a simple HTTPService class with a requestTimeout which is more than 3 minutes, and it turns to #2032: Stream Error!

Even URLRequestDefaults.idleTimeout = 300000; is buggy if you use it like this (this never make the 'iHaveSpecialTimeout' timeout properly):

if ( iHaveSpecialTimeout )

{

     URLRequestDefaults.idleTimeout = 300000;

     httpService.requestTimeout = 300;

}

else

{

     // taking as default for my application

     URLRequestDefaults.idleTimeout = 120000;

     httpService.requestTimeout = 120;

}

What is problem with you Adobe!

This topic has been closed for replies.

1 reply

chris.campbell
Legend
December 18, 2013

Is there a bug number associated with this that I can check on?

Santanu Karar
Known Participant
December 19, 2013

Hei Chris,

I do not understood what you meant by bug number, I didn't lodged any bug report to bugbase yet, though. But you should be aware that there were plenty of kind of cases which came in light during past couple of years - even you can see it yourself https://www.google.co.in/search?q=flex+air+httpservice+timeout&ie=utf-8&oe=utf-8&rls=org.mozilla:en-US:official&client=firefox-a&gws_rd=cr&ei=SG6yUpizNIeJrQeYm4DYBw#q=air+httpservice+timeout&rls=org.mozilla:en-US:official.

The fact is this problem is persistent still in the latest SDKs, which is kind of sad.