[DAEMON-273] appcd-plugin: Tunnel messages missing dispatcher context props
| GitHub Issue | n/a |
|---|---|
| Type | Improvement |
| Priority | High |
| Status | Resolved |
| Resolution | Fixed |
| Resolution Date | 2019-04-03T15:24:53.000+0000 |
| Affected Version/s | Appc Daemon 2.2.0 |
| Fix Version/s | Appc Daemon 2.3.0 |
| Components | appcd-plugin |
| Labels | n/a |
| Reporter | Chris Barber |
| Assignee | Chris Barber |
| Created | 2019-04-02T07:00:04.000+0000 |
| Updated | 2019-04-03T15:24:53.000+0000 |
Description
Plugins run in a child process and communicate with a parent process using an IPC-based tunnel. However the tunnel does not translate over the
headers and source from a DispatcherContext instance.
Instead of passing the DispatcherContext's request property, the tunnel needs to step up one level and pass the headers, path, request (formerly "data"), and source.
https://github.com/appcelerator/appc-daemon/pull/366