GitHub user nacx opened a pull request:
https://github.com/apache/incubator-guacamole-client/pull/211
GUACAMOLE-437: Fix extraHeaders scope and StaticHTTPTunnel
After the changes in
https://github.com/apache/incubator-guacamole-client/pull/210, the
`extraHeaders` variable was not visible to the tunnel object in the scope of
the add headers function.
This PR fixes that by letting the function receive the headers to add as a
parameter (which also makes more sense), and fixes the `StaticHTTPTunnel` that
was using the same add headers approach without having it defined.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/nacx/incubator-guacamole-client headers
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/incubator-guacamole-client/pull/211.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #211
----
commit 31b6898a24d8cc5905199ca206f7af79a7473c69
Author: Ignasi Barrera <[email protected]>
Date: 2017-11-20T11:25:06Z
GUACAMOLE-437: Fix extraHeaders scope and StaticHTTPTunnel
----
---