Search Unity

WWW timeout on Mac

Discussion in 'macOS' started by adroitandy, Dec 22, 2016.

  1. adroitandy

    adroitandy

    Joined:
    Nov 4, 2013
    Posts:
    30
    Hi,

    we are currently facing an issue on Macs where the application is stuck for a long time trying to connect to a particular Url.
    I wanted to know if WWW uses its own tcp implementation for Http or uses the NSUrlConnection class internally. I ask this cause I think the default timeout for WWW on standalone builds is 10 seconds. But for NSUrlConeection its 60 seconds.

    Just wanted to get you opinion on this and would it be recommended to have my own timeout logic written to dispose the WWW connection.

    Thanks
     
  2. oriolmanya

    oriolmanya

    Joined:
    Jul 4, 2012
    Posts:
    50