GitHub user ogoodman opened a pull request:
https://github.com/apache/trafficserver/pull/624
C++ API WebSocket example
There are two commits. The first one adds an API function to determine
whether a transaction is a websocket request and adds code to the
InterceptPlugin to make it behave appropriately. The second one provides a
working demo of a websocket handler.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/ogoodman/trafficserver oag-websocket
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/trafficserver/pull/624.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 #624
----
commit 129ad07ad9df67b187467e4004beec70dfc29c54
Author: Oliver Goodman <[email protected]>
Date: 2016-05-10T05:52:20Z
Adds an API call to identify WebSocket requests.
commit 7a45cce74a689ce9cea949f576a4a94ef2b0c34a
Author: Oliver Goodman <[email protected]>
Date: 2016-05-10T05:55:21Z
Adds a C++ API WebSocket example.
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---