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

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

                Author: ASF GitHub Bot
            Created on: 26/Sep/16 15:55
            Start Date: 26/Sep/16 15:55
    Worklog Time Spent: 10m 
      Work Description: Github user jpeach commented on the issue:

    https://github.com/apache/trafficserver/pull/824
  
    FreeBSD build:
    ```
    ../../../../lib/atscppapi/examples/websocket/WSBuffer.cc:40:9: error: 
'be64toh' macro redefined [-Werror]
    #define be64toh(x) betoh64(x)
            ^
    /usr/include/sys/endian.h:77:9: note: previous definition is here
    #define be64toh(x)      bswap64((x))
            ^
    ../../../../lib/atscppapi/examples/websocket/WSBuffer.cc:110:15: error: use 
of undeclared identifier 'betoh64'
        msg_len = be64toh(*(uint64_t *)(ws_buf_.data() + 2));
                  ^
    ../../../../lib/atscppapi/examples/websocket/WSBuffer.cc:40:20: note: 
expanded from macro 'be64toh'
    #define be64toh(x) betoh64(x)
                       ^
    2 errors generated.
    ```


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

    Worklog Id:     (was: 29741)
    Time Spent: 2h 20m  (was: 2h 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.1.0
>
>          Time Spent: 2h 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