Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-3607] Handle I/O errors correctly in sockets

GitHub Issuen/a
TypeBug
PriorityMedium
StatusClosed
ResolutionFixed
Resolution Date2011-05-11T17:58:15.000+0000
Affected Version/sRelease 1.7.0
Fix Version/sRelease 1.7.0, Sprint 2011-16
ComponentsiOS
Labelssockets
ReporterStephen Tramer
AssigneeStephen Tramer
Created2011-04-18T10:15:28.000+0000
Updated2011-05-11T17:58:15.000+0000

Description

Currently iOS sockets do not distinguish between socket errors and I/O errors. These are important since socket errors fire the 'error' callback, and I/O errors trigger callbacks for asynch operations. Both are expected the close the socket.

Comments

  1. Stephen Tramer 2011-04-22

    Fixed by 8a92721.
  2. Natalie Huynh 2011-05-11

    Tested with 1.7.0.879871b...(05/10/11 19:34) on iPod 3rd Gen (4.0.1) and Sim (4.1)

JSON Source