Titanium JIRA Archive
Appcelerator Daemon (DAEMON)

[DAEMON-224] Subscriptions not terminated if connection is reset

GitHub Issuen/a
TypeBug
PriorityCritical
StatusResolved
ResolutionFixed
Resolution Date2018-01-23T17:26:48.000+0000
Affected Version/sn/a
Fix Version/sAppc Daemon 1.1.0
Componentsappcd-core, appcd-http
Labelsn/a
ReporterChris Barber
AssigneeChris Barber
Created2018-01-23T17:24:47.000+0000
Updated2018-01-23T17:26:48.000+0000

Description

If a client goes away, the WebSocketServer can emit an error ECONNRESET instead of emitting an "end" event. We need to add better logging and also listen for errors so that we can end the internal subscription stream.

Comments

  1. Chris Barber 2018-01-23

    https://github.com/appcelerator/appc-daemon/pull/268

JSON Source