0 Replies Latest reply on Aug 20, 2010 6:26 AM by Dmitry Svetlakov

    How works URLRequestDefaults.idleTimeout

    Dmitry Svetlakov Level 1

      Hi!

       

      From documentation

      The idle timeout is the amount of time (in milliseconds) that the client waits for a response from the server, after the connection is established, before abandoning the request.

       

      This defines the default idle timeout used by the URLRequest or HTMLLoader object. Setting the idleTimeoutproperty in a URLRequest object or an HTMLLoader object overrides this default setting.

       

      When this property is set to 0 (the default), the runtime uses the default idle timeout value defined by the operating system. The default idle timeout value varies between operating systems (such as Mac OS, Linux, or Windows) and between operating system versions.

       

      How correctly it works?

      1. AIR waits idleTimeout milliseconds for first bytes server response and reset timeout?

      Or

      2. AIR waits idleTimeout milliseconds for whole bytes server response?