[ 
https://issues.apache.org/jira/browse/TS-4699?focusedWorklogId=26081&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-26081
 ]

ASF GitHub Bot logged work on TS-4699:
--------------------------------------

                Author: ASF GitHub Bot
            Created on: 29/Jul/16 01:55
            Start Date: 29/Jul/16 01:55
    Worklog Time Spent: 10m 
      Work Description: Github user jpeach commented on a diff in the pull 
request:

    https://github.com/apache/trafficserver/pull/824#discussion_r72732562
  
    --- Diff: lib/atscppapi/examples/experimental/websocket/WebSocket.cc ---
    @@ -0,0 +1,132 @@
    +#include "WebSocket.hh"
    +
    +#include <atscppapi/Logger.h>
    +#include <iostream>
    +#include "ts/ink_base64.h"
    +#include "openssl/evp.h"
    +#include <netinet/in.h>
    +#include <arpa/inet.h>
    +
    +// DISCLAIMER: this is intended for demonstration purposes only and
    +// does not pretend to implement a complete (or useful) server.
    +
    +using namespace atscppapi;
    +
    +void
    +TSPluginInit(int argc, const char *argv[])
    +{
    +  RegisterGlobalPlugin("WebSocket", "Apache", "[email protected]");
    --- End diff --
    
    Make this consistent with other C++ API example plugins.


Issue Time Tracking
-------------------

    Worklog Id:     (was: 26081)
    Time Spent: 20m  (was: 10m)

> Add an example websocket termination plugin using the C++ API
> -------------------------------------------------------------
>
>                 Key: TS-4699
>                 URL: https://issues.apache.org/jira/browse/TS-4699
>             Project: Traffic Server
>          Issue Type: Improvement
>          Components: CPP API
>            Reporter: Oliver Goodman
>            Assignee: Brian Geffon
>             Fix For: 7.0.0
>
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> It may be of interest to users to have an experimental example plugin showing 
> how to terminate incoming websocket connections. A minimal example could 
> implement the protocol and use it to set up a simple websocket echo server.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to