[jira] [Commented] (DISPATCH-103) Websocket Listeners

2017-01-06 Thread ASF subversion and git services (JIRA)

[ 
https://issues.apache.org/jira/browse/DISPATCH-103?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15804919#comment-15804919
 ] 

ASF subversion and git services commented on DISPATCH-103:
--

Commit 8013c316fbfe36d64413c4965fce5d6b9bd2ab8c in qpid-dispatch's branch 
refs/heads/master from [~aconway]
[ https://git-wip-us.apache.org/repos/asf?p=qpid-dispatch.git;h=8013c31 ]

DISPATCH-103: Fix cmake/FindLibWebSockets

The rules about capitalization of the FOO_FOUND variable change between cmake 
2.6 and 3.0.
Switch to all-caps-everywhere: this is not the modern cmake recommendation but 
it is
the only thing that works in 2.6.


> Websocket Listeners
> ---
>
> Key: DISPATCH-103
> URL: https://issues.apache.org/jira/browse/DISPATCH-103
> Project: Qpid Dispatch
>  Issue Type: New Feature
>  Components: Container
>Reporter: Ted Ross
>Assignee: Alan Conway
>
> Add an option in configured listeners to use websockets encapsulation.  This 
> will allow AMQP clients inside web browsers to directly connect to the 
> message bus.



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

-
To unsubscribe, e-mail: dev-unsubscr...@qpid.apache.org
For additional commands, e-mail: dev-h...@qpid.apache.org



[jira] [Commented] (DISPATCH-103) Websocket Listeners

2016-12-20 Thread ASF subversion and git services (JIRA)

[ 
https://issues.apache.org/jira/browse/DISPATCH-103?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15764891#comment-15764891
 ] 

ASF subversion and git services commented on DISPATCH-103:
--

Commit fcdaf22a826de23f73cb991291c46e2cb8ca1886 in qpid-dispatch's branch 
refs/heads/master from [~tr...@redhat.com]
[ https://git-wip-us.apache.org/repos/asf?p=qpid-dispatch.git;h=fcdaf22 ]

DISPATCH-103 - fixed the http-none stub to properly build when websockets is 
not built.


> Websocket Listeners
> ---
>
> Key: DISPATCH-103
> URL: https://issues.apache.org/jira/browse/DISPATCH-103
> Project: Qpid Dispatch
>  Issue Type: New Feature
>  Components: Container
>Reporter: Ted Ross
>Assignee: Alan Conway
>
> Add an option in configured listeners to use websockets encapsulation.  This 
> will allow AMQP clients inside web browsers to directly connect to the 
> message bus.



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

-
To unsubscribe, e-mail: dev-unsubscr...@qpid.apache.org
For additional commands, e-mail: dev-h...@qpid.apache.org



[jira] [Commented] (DISPATCH-103) Websocket Listeners

2016-12-20 Thread ASF subversion and git services (JIRA)

[ 
https://issues.apache.org/jira/browse/DISPATCH-103?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15764687#comment-15764687
 ] 

ASF subversion and git services commented on DISPATCH-103:
--

Commit 6ecbdba9c09a48960eb98fa95afca92b50eb2cb1 in qpid-dispatch's branch 
refs/heads/master from [~aconway]
[ https://git-wip-us.apache.org/repos/asf?p=qpid-dispatch.git;h=6ecbdba ]

DISPATCH-103: Browser-friendly SSL test certificate authority

Updated certificates test/ssl_certs to be more inter-operable with browswers:
tested chrome, firefox. Authority cert uses RSA encryption and sets extension
flags to identify itself as a root CA. Needed to test SSL for HTTP listeners.


> Websocket Listeners
> ---
>
> Key: DISPATCH-103
> URL: https://issues.apache.org/jira/browse/DISPATCH-103
> Project: Qpid Dispatch
>  Issue Type: New Feature
>  Components: Container
>Reporter: Ted Ross
>Assignee: Alan Conway
>
> Add an option in configured listeners to use websockets encapsulation.  This 
> will allow AMQP clients inside web browsers to directly connect to the 
> message bus.



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

-
To unsubscribe, e-mail: dev-unsubscr...@qpid.apache.org
For additional commands, e-mail: dev-h...@qpid.apache.org



[jira] [Commented] (DISPATCH-103) Websocket Listeners

2016-12-20 Thread ASF subversion and git services (JIRA)

[ 
https://issues.apache.org/jira/browse/DISPATCH-103?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15764689#comment-15764689
 ] 

ASF subversion and git services commented on DISPATCH-103:
--

Commit 9442bb0b231d008d604db565254d8d6014070516 in qpid-dispatch's branch 
refs/heads/master from [~aconway]
[ https://git-wip-us.apache.org/repos/asf?p=qpid-dispatch.git;h=9442bb0 ]

DISPATCH-103: SSL support for HTTP/WebSocket listeners

Re-worked HTTP implementation: stability, performance and maintainability 
improvements.
- Use single lws_context per dispatch router.
- Use separate lws_vhost per dispatch listener for independent SSL 
configuration.
- Include libwebsocket messages in dispatch logs (module HTTP)
- Move HTTP code out of driver and into server (not POSIX-specific)
- Fix some memory and connection close bugs

Apply dispatch SSL listener configuration to libwebsocket vhosts.
Tests to verify HTTP access working correctly.

The console does not yet work over HTTPs, there are some console issues to fix
for that to work.


> Websocket Listeners
> ---
>
> Key: DISPATCH-103
> URL: https://issues.apache.org/jira/browse/DISPATCH-103
> Project: Qpid Dispatch
>  Issue Type: New Feature
>  Components: Container
>Reporter: Ted Ross
>Assignee: Alan Conway
>
> Add an option in configured listeners to use websockets encapsulation.  This 
> will allow AMQP clients inside web browsers to directly connect to the 
> message bus.



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

-
To unsubscribe, e-mail: dev-unsubscr...@qpid.apache.org
For additional commands, e-mail: dev-h...@qpid.apache.org



Re: [jira] [Commented] (DISPATCH-103) Websocket Listeners

2016-12-07 Thread Ted Ross
I have reverted this commit.  It caused the build to fail if websockets 
was disabled and caused the tests to fail if it was enabled.


-Ted

On 12/07/2016 06:19 PM, ASF subversion and git services (JIRA) wrote:


[ 
https://issues.apache.org/jira/browse/DISPATCH-103?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15730260#comment-15730260
 ]

ASF subversion and git services commented on DISPATCH-103:
--

Commit cc4c82502025de74e8e703fb614d2195babf8a47 in qpid-dispatch's branch 
refs/heads/master from [~aconway]
[ https://git-wip-us.apache.org/repos/asf?p=qpid-dispatch.git;h=cc4c825 ]

DISPATCH-103: Refactor to use LWS context per listener.

Preparing for SSL support, use a context per listener so each can have separate
SSL configuration.



Websocket Listeners
---

Key: DISPATCH-103
URL: https://issues.apache.org/jira/browse/DISPATCH-103
Project: Qpid Dispatch
 Issue Type: New Feature
 Components: Container
   Reporter: Ted Ross
   Assignee: Alan Conway

Add an option in configured listeners to use websockets encapsulation.  This 
will allow AMQP clients inside web browsers to directly connect to the message 
bus.




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

-
To unsubscribe, e-mail: dev-unsubscr...@qpid.apache.org
For additional commands, e-mail: dev-h...@qpid.apache.org



-
To unsubscribe, e-mail: dev-unsubscr...@qpid.apache.org
For additional commands, e-mail: dev-h...@qpid.apache.org



[jira] [Commented] (DISPATCH-103) Websocket Listeners

2016-12-07 Thread ASF subversion and git services (JIRA)

[ 
https://issues.apache.org/jira/browse/DISPATCH-103?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15730699#comment-15730699
 ] 

ASF subversion and git services commented on DISPATCH-103:
--

Commit b794973ebcf145a9a8a1f314ed66c019d19e98f4 in qpid-dispatch's branch 
refs/heads/master from [~tr...@redhat.com]
[ https://git-wip-us.apache.org/repos/asf?p=qpid-dispatch.git;h=b794973 ]

Revert "DISPATCH-103: Refactor to use LWS context per listener."

This reverts commit cc4c82502025de74e8e703fb614d2195babf8a47.


> Websocket Listeners
> ---
>
> Key: DISPATCH-103
> URL: https://issues.apache.org/jira/browse/DISPATCH-103
> Project: Qpid Dispatch
>  Issue Type: New Feature
>  Components: Container
>Reporter: Ted Ross
>Assignee: Alan Conway
>
> Add an option in configured listeners to use websockets encapsulation.  This 
> will allow AMQP clients inside web browsers to directly connect to the 
> message bus.



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

-
To unsubscribe, e-mail: dev-unsubscr...@qpid.apache.org
For additional commands, e-mail: dev-h...@qpid.apache.org



[jira] [Commented] (DISPATCH-103) Websocket Listeners

2016-12-07 Thread ASF subversion and git services (JIRA)

[ 
https://issues.apache.org/jira/browse/DISPATCH-103?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15730260#comment-15730260
 ] 

ASF subversion and git services commented on DISPATCH-103:
--

Commit cc4c82502025de74e8e703fb614d2195babf8a47 in qpid-dispatch's branch 
refs/heads/master from [~aconway]
[ https://git-wip-us.apache.org/repos/asf?p=qpid-dispatch.git;h=cc4c825 ]

DISPATCH-103: Refactor to use LWS context per listener.

Preparing for SSL support, use a context per listener so each can have separate
SSL configuration.


> Websocket Listeners
> ---
>
> Key: DISPATCH-103
> URL: https://issues.apache.org/jira/browse/DISPATCH-103
> Project: Qpid Dispatch
>  Issue Type: New Feature
>  Components: Container
>Reporter: Ted Ross
>Assignee: Alan Conway
>
> Add an option in configured listeners to use websockets encapsulation.  This 
> will allow AMQP clients inside web browsers to directly connect to the 
> message bus.



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

-
To unsubscribe, e-mail: dev-unsubscr...@qpid.apache.org
For additional commands, e-mail: dev-h...@qpid.apache.org



[jira] [Commented] (DISPATCH-103) Websocket Listeners

2016-12-07 Thread ASF subversion and git services (JIRA)

[ 
https://issues.apache.org/jira/browse/DISPATCH-103?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15729584#comment-15729584
 ] 

ASF subversion and git services commented on DISPATCH-103:
--

Commit fbe70e2c239beb1afe543b440b0bc24d56efb19d in qpid-dispatch's branch 
refs/heads/master from [~tr...@redhat.com]
[ https://git-wip-us.apache.org/repos/asf?p=qpid-dispatch.git;h=fbe70e2 ]

DISPATCH-103 - Added libwebsockets include path to the set of includes.


> Websocket Listeners
> ---
>
> Key: DISPATCH-103
> URL: https://issues.apache.org/jira/browse/DISPATCH-103
> Project: Qpid Dispatch
>  Issue Type: New Feature
>  Components: Container
>Reporter: Ted Ross
>Assignee: Alan Conway
>
> Add an option in configured listeners to use websockets encapsulation.  This 
> will allow AMQP clients inside web browsers to directly connect to the 
> message bus.



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

-
To unsubscribe, e-mail: dev-unsubscr...@qpid.apache.org
For additional commands, e-mail: dev-h...@qpid.apache.org



[jira] [Commented] (DISPATCH-103) Websocket Listeners

2016-12-07 Thread ASF subversion and git services (JIRA)

[ 
https://issues.apache.org/jira/browse/DISPATCH-103?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15729309#comment-15729309
 ] 

ASF subversion and git services commented on DISPATCH-103:
--

Commit 4fb102058f0695e357859f281ac9723b519ad1c3 in qpid-dispatch's branch 
refs/heads/master from [~aconway]
[ https://git-wip-us.apache.org/repos/asf?p=qpid-dispatch.git;h=4fb1020 ]

DISPATCH-103: Router serves standalone console files, stability fixes.

The router now serves the standalone console files so you can connect a browser
direct to a HTTP-enabled router port to use the console.

- requires libwebsockets 2.1 - packaged on fedora 25, build from source
  elsewhere.
- router must be installed `make install` to find the console files.

Fixed some stability and performance issues, currently appears to be stable and
reasonably fast.


> Websocket Listeners
> ---
>
> Key: DISPATCH-103
> URL: https://issues.apache.org/jira/browse/DISPATCH-103
> Project: Qpid Dispatch
>  Issue Type: New Feature
>  Components: Container
>Reporter: Ted Ross
>Assignee: Alan Conway
>
> Add an option in configured listeners to use websockets encapsulation.  This 
> will allow AMQP clients inside web browsers to directly connect to the 
> message bus.



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

-
To unsubscribe, e-mail: dev-unsubscr...@qpid.apache.org
For additional commands, e-mail: dev-h...@qpid.apache.org



[jira] [Commented] (DISPATCH-103) Websocket Listeners

2016-12-02 Thread ASF subversion and git services (JIRA)

[ 
https://issues.apache.org/jira/browse/DISPATCH-103?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15715280#comment-15715280
 ] 

ASF subversion and git services commented on DISPATCH-103:
--

Commit b4886c4d705241789ce412dc3390b5a892db082e in qpid-dispatch's branch 
refs/heads/master from [~aconway]
[ https://git-wip-us.apache.org/repos/asf?p=qpid-dispatch.git;h=b4886c4 ]

DISPATCH-103: Fix compile errors in WebSocket Listeners

Original code used some C11 features, failed to compile on some C99 compilers.


> Websocket Listeners
> ---
>
> Key: DISPATCH-103
> URL: https://issues.apache.org/jira/browse/DISPATCH-103
> Project: Qpid Dispatch
>  Issue Type: New Feature
>  Components: Container
>Reporter: Ted Ross
>Assignee: Alan Conway
>
> Add an option in configured listeners to use websockets encapsulation.  This 
> will allow AMQP clients inside web browsers to directly connect to the 
> message bus.



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

-
To unsubscribe, e-mail: dev-unsubscr...@qpid.apache.org
For additional commands, e-mail: dev-h...@qpid.apache.org



[jira] [Commented] (DISPATCH-103) Websocket Listeners

2016-12-01 Thread ASF subversion and git services (JIRA)

[ 
https://issues.apache.org/jira/browse/DISPATCH-103?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15712807#comment-15712807
 ] 

ASF subversion and git services commented on DISPATCH-103:
--

Commit 69f52f2836fd0324a4f49585d32e38dab72f9afc in qpid-dispatch's branch 
refs/heads/master from [~aconway]
[ https://git-wip-us.apache.org/repos/asf?p=qpid-dispatch.git;h=69f52f2 ]

DISPATCH-103: Fix Websocket Listeners

Fix shutdown problems, websocket liseteners are now functioning properly.


> Websocket Listeners
> ---
>
> Key: DISPATCH-103
> URL: https://issues.apache.org/jira/browse/DISPATCH-103
> Project: Qpid Dispatch
>  Issue Type: New Feature
>  Components: Container
>Reporter: Ted Ross
>Assignee: Alan Conway
>
> Add an option in configured listeners to use websockets encapsulation.  This 
> will allow AMQP clients inside web browsers to directly connect to the 
> message bus.



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

-
To unsubscribe, e-mail: dev-unsubscr...@qpid.apache.org
For additional commands, e-mail: dev-h...@qpid.apache.org



[jira] [Commented] (DISPATCH-103) Websocket Listeners

2016-11-30 Thread ASF subversion and git services (JIRA)

[ 
https://issues.apache.org/jira/browse/DISPATCH-103?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15710151#comment-15710151
 ] 

ASF subversion and git services commented on DISPATCH-103:
--

Commit a1a1268ffbd18eb5c4605fe5e503d70efa7be689 in qpid-dispatch's branch 
refs/heads/master from [~aconway]
[ https://git-wip-us.apache.org/repos/asf?p=qpid-dispatch.git;h=a1a1268 ]

DISPATCH-103: WebSocket Listeners - first draft.

WebSocket support for dispatch router.
Requires libwebsockets (packaged on fedora, dnf install libwebsockets-delve)

Create a listener with configuration http=true, point a web console at that 
port to test.

Known issues:
- Occasional problems (segfault, unexpected poll events) when a console 
disconnects/reconnects.

Limitations to be addressed:
- No SSL support for HTTP ports
- Does not serve the console files via the port, need to set up a separate web 
server.
- No protocol detection - only HTTP allowed on listeners with http=true


> Websocket Listeners
> ---
>
> Key: DISPATCH-103
> URL: https://issues.apache.org/jira/browse/DISPATCH-103
> Project: Qpid Dispatch
>  Issue Type: New Feature
>  Components: Container
>Reporter: Ted Ross
>Assignee: Alan Conway
>
> Add an option in configured listeners to use websockets encapsulation.  This 
> will allow AMQP clients inside web browsers to directly connect to the 
> message bus.



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

-
To unsubscribe, e-mail: dev-unsubscr...@qpid.apache.org
For additional commands, e-mail: dev-h...@qpid.apache.org



[jira] [Commented] (DISPATCH-103) Websocket Listeners

2016-11-22 Thread Alan Conway (JIRA)

[ 
https://issues.apache.org/jira/browse/DISPATCH-103?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15687999#comment-15687999
 ] 

Alan Conway commented on DISPATCH-103:
--

New plan, in progress: implement websockets directly in qpid dispatch using the 
libwebsockets.org library. This doesn't exactly match our long term plan for 
proton IO but it does solve the dispatch problem immediately. When we get to 
DISPATCH-390 (replace dispatch driver with proton-C proactor) we will refactor 
the websocket support so it can be used by other proton applications.

> Websocket Listeners
> ---
>
> Key: DISPATCH-103
> URL: https://issues.apache.org/jira/browse/DISPATCH-103
> Project: Qpid Dispatch
>  Issue Type: New Feature
>  Components: Container
>Reporter: Ted Ross
>Assignee: Alan Conway
>Priority: Minor
>
> Add an option in configured listeners to use websockets encapsulation.  This 
> will allow AMQP clients inside web browsers to directly connect to the 
> message bus.



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

-
To unsubscribe, e-mail: dev-unsubscr...@qpid.apache.org
For additional commands, e-mail: dev-h...@qpid.apache.org



[jira] [Commented] (DISPATCH-103) Websocket Listeners

2015-02-11 Thread Alan Conway (JIRA)

[ 
https://issues.apache.org/jira/browse/DISPATCH-103?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14316646#comment-14316646
 ] 

Alan Conway commented on DISPATCH-103:
--

Plan is to implement websocket server in proton and use that from dispatch. 
Waiting for some refactoring of proton transport layer.

> Websocket Listeners
> ---
>
> Key: DISPATCH-103
> URL: https://issues.apache.org/jira/browse/DISPATCH-103
> Project: Qpid Dispatch
>  Issue Type: New Feature
>  Components: Container
>Reporter: Ted Ross
>Assignee: Alan Conway
> Fix For: 0.5
>
>
> Add an option in configured listeners to use websockets encapsulation.  This 
> will allow AMQP clients inside web browsers to directly connect to the 
> message bus.



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

-
To unsubscribe, e-mail: dev-unsubscr...@qpid.apache.org
For additional commands, e-mail: dev-h...@qpid.apache.org



[jira] [Commented] (DISPATCH-103) Websocket Listeners

2015-02-06 Thread Alan Conway (JIRA)

[ 
https://issues.apache.org/jira/browse/DISPATCH-103?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14309218#comment-14309218
 ] 

Alan Conway commented on DISPATCH-103:
--

Good discussion on list, lots of important info for implementation:

http://qpid.2158936.n2.nabble.com/Proton-c-Websocket-Listeners-thread-from-off-list-discussion-td7619704.html
http://qpid.2158936.n2.nabble.com/Re-Fwd-jira-Commented-DISPATCH-103-Websocket-Listeners-td7619712.html

> Websocket Listeners
> ---
>
> Key: DISPATCH-103
> URL: https://issues.apache.org/jira/browse/DISPATCH-103
> Project: Qpid Dispatch
>  Issue Type: New Feature
>  Components: Container
>Reporter: Ted Ross
>Assignee: Alan Conway
> Fix For: 0.5
>
>
> Add an option in configured listeners to use websockets encapsulation.  This 
> will allow AMQP clients inside web browsers to directly connect to the 
> message bus.



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

-
To unsubscribe, e-mail: dev-unsubscr...@qpid.apache.org
For additional commands, e-mail: dev-h...@qpid.apache.org



[jira] [Commented] (DISPATCH-103) Websocket Listeners

2015-02-06 Thread Alan Conway (JIRA)

[ 
https://issues.apache.org/jira/browse/DISPATCH-103?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14309161#comment-14309161
 ] 

Alan Conway commented on DISPATCH-103:
--

This sounds about right, I haven't found any decent libraries either. I have 
talked to Andrew and he is doing some re-factoring in this area which should 
make things easier (esp. around the authentication part) so I'll wait for him 
to finish before I get into it.

> Websocket Listeners
> ---
>
> Key: DISPATCH-103
> URL: https://issues.apache.org/jira/browse/DISPATCH-103
> Project: Qpid Dispatch
>  Issue Type: New Feature
>  Components: Container
>Reporter: Ted Ross
>Assignee: Alan Conway
> Fix For: 0.5
>
>
> Add an option in configured listeners to use websockets encapsulation.  This 
> will allow AMQP clients inside web browsers to directly connect to the 
> message bus.



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

-
To unsubscribe, e-mail: dev-unsubscr...@qpid.apache.org
For additional commands, e-mail: dev-h...@qpid.apache.org



[jira] [Commented] (DISPATCH-103) Websocket Listeners

2015-02-04 Thread Rafael H. Schloming (JIRA)

[ 
https://issues.apache.org/jira/browse/DISPATCH-103?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14305864#comment-14305864
 ] 

Rafael H. Schloming commented on DISPATCH-103:
--

I would look at proton-c/src/framing/* and proton-c/src/transport/*. You are in 
for a treat as this is one of the older and cruftier parts of the codebase. I 
believe Andrew is working in this area on SASL support and probably doing other 
cleanups as well. You may want to talk to him as he did the autodetect stuff 
and had some thoughts about how to splice in web sockets.

I actually think the bulk of the work here is probably the web sockets 
implementation itself. I looked a month or two ago and I couldn't find much in 
the way of good options for existing implementations. What is available in C 
seems to be either incomplete/abandoned or just a straight proxy implementation 
without actually exposing any sort of library. I looked briefly at implementing 
the web sockets stuff from scratc (the framing is pretty straightforward) but 
there's actually more complications than you might think in the 
handshake/negotiation stuff. (Apparently there are a lot of different versions 
of web sockets.)

If you find/write something that has a decent protocol-engine style interface, 
e.g. something simple that you lets you read/write websocket messages into/out 
of the "top half" and then lets you read/write bytes from the "bottom half", I 
can probably help you integrate it into the transport quite easily.

> Websocket Listeners
> ---
>
> Key: DISPATCH-103
> URL: https://issues.apache.org/jira/browse/DISPATCH-103
> Project: Qpid Dispatch
>  Issue Type: New Feature
>  Components: Container
>Reporter: Ted Ross
>Assignee: Alan Conway
> Fix For: 0.5
>
>
> Add an option in configured listeners to use websockets encapsulation.  This 
> will allow AMQP clients inside web browsers to directly connect to the 
> message bus.



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

-
To unsubscribe, e-mail: dev-unsubscr...@qpid.apache.org
For additional commands, e-mail: dev-h...@qpid.apache.org



[jira] [Commented] (DISPATCH-103) Websocket Listeners

2015-02-04 Thread Alan Conway (JIRA)

[ 
https://issues.apache.org/jira/browse/DISPATCH-103?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14305162#comment-14305162
 ] 

Alan Conway commented on DISPATCH-103:
--


That is a most excellent point. I'm not familiar with the transport
layer of proton yet, can you point me to any useful docs or give a quick
overview of which files I should start looking at and where this would
fit in? (Also not familiar with websockets yet so this should be fun ;)

Cheers,
Alan.



> Websocket Listeners
> ---
>
> Key: DISPATCH-103
> URL: https://issues.apache.org/jira/browse/DISPATCH-103
> Project: Qpid Dispatch
>  Issue Type: New Feature
>  Components: Container
>Reporter: Ted Ross
>Assignee: Alan Conway
> Fix For: 0.5
>
>
> Add an option in configured listeners to use websockets encapsulation.  This 
> will allow AMQP clients inside web browsers to directly connect to the 
> message bus.



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

-
To unsubscribe, e-mail: dev-unsubscr...@qpid.apache.org
For additional commands, e-mail: dev-h...@qpid.apache.org



[jira] [Commented] (DISPATCH-103) Websocket Listeners

2015-02-03 Thread Rafael H. Schloming (JIRA)

[ 
https://issues.apache.org/jira/browse/DISPATCH-103?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14304740#comment-14304740
 ] 

Rafael H. Schloming commented on DISPATCH-103:
--

This would be much nicer to provide as an option on the proton transport 
itself. If you do it for dispatch only, then it is much less useful, basically 
only javascript clients talking to dispatch can take advantage of this. If it 
were provided in proton, then any proton clients could use it, and any servers 
based on proton could support it automatically.

> Websocket Listeners
> ---
>
> Key: DISPATCH-103
> URL: https://issues.apache.org/jira/browse/DISPATCH-103
> Project: Qpid Dispatch
>  Issue Type: New Feature
>  Components: Container
>Reporter: Ted Ross
>Assignee: Alan Conway
> Fix For: 0.5
>
>
> Add an option in configured listeners to use websockets encapsulation.  This 
> will allow AMQP clients inside web browsers to directly connect to the 
> message bus.



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

-
To unsubscribe, e-mail: dev-unsubscr...@qpid.apache.org
For additional commands, e-mail: dev-h...@qpid.apache.org



[jira] [Commented] (DISPATCH-103) Websocket Listeners

2015-02-03 Thread Alan Conway (JIRA)

[ 
https://issues.apache.org/jira/browse/DISPATCH-103?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14304580#comment-14304580
 ] 

Alan Conway commented on DISPATCH-103:
--

This commit should say DISPATCH-102

> Websocket Listeners
> ---
>
> Key: DISPATCH-103
> URL: https://issues.apache.org/jira/browse/DISPATCH-103
> Project: Qpid Dispatch
>  Issue Type: New Feature
>  Components: Container
>Reporter: Ted Ross
>Assignee: Alan Conway
> Fix For: 0.5
>
>
> Add an option in configured listeners to use websockets encapsulation.  This 
> will allow AMQP clients inside web browsers to directly connect to the 
> message bus.



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

-
To unsubscribe, e-mail: dev-unsubscr...@qpid.apache.org
For additional commands, e-mail: dev-h...@qpid.apache.org



[jira] [Commented] (DISPATCH-103) Websocket Listeners

2015-02-03 Thread Alan Conway (JIRA)

[ 
https://issues.apache.org/jira/browse/DISPATCH-103?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14304573#comment-14304573
 ] 

Alan Conway commented on DISPATCH-103:
--

This commit should say DISPATCH-102

> Websocket Listeners
> ---
>
> Key: DISPATCH-103
> URL: https://issues.apache.org/jira/browse/DISPATCH-103
> Project: Qpid Dispatch
>  Issue Type: New Feature
>  Components: Container
>Reporter: Ted Ross
>Assignee: Alan Conway
> Fix For: 0.5
>
>
> Add an option in configured listeners to use websockets encapsulation.  This 
> will allow AMQP clients inside web browsers to directly connect to the 
> message bus.



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

-
To unsubscribe, e-mail: dev-unsubscr...@qpid.apache.org
For additional commands, e-mail: dev-h...@qpid.apache.org



[jira] [Commented] (DISPATCH-103) Websocket Listeners

2015-02-03 Thread Alan Conway (JIRA)

[ 
https://issues.apache.org/jira/browse/DISPATCH-103?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14304574#comment-14304574
 ] 

Alan Conway commented on DISPATCH-103:
--

This commit should say DISPATCH-102

> Websocket Listeners
> ---
>
> Key: DISPATCH-103
> URL: https://issues.apache.org/jira/browse/DISPATCH-103
> Project: Qpid Dispatch
>  Issue Type: New Feature
>  Components: Container
>Reporter: Ted Ross
>Assignee: Alan Conway
> Fix For: 0.5
>
>
> Add an option in configured listeners to use websockets encapsulation.  This 
> will allow AMQP clients inside web browsers to directly connect to the 
> message bus.



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

-
To unsubscribe, e-mail: dev-unsubscr...@qpid.apache.org
For additional commands, e-mail: dev-h...@qpid.apache.org



[jira] [Commented] (DISPATCH-103) Websocket Listeners

2015-02-03 Thread ASF subversion and git services (JIRA)

[ 
https://issues.apache.org/jira/browse/DISPATCH-103?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14304571#comment-14304571
 ] 

ASF subversion and git services commented on DISPATCH-103:
--

Commit 1656982 from [~aconway] in branch 'dispatch/trunk'
[ https://svn.apache.org/r1656982 ]

DISPATCH-103: Add operation definitions to management schema.

- Operations in schema and schema doc
- Change type names in schema to  lower case, consistent with AMQP spec.
- Refactor schema documentation generation code for better re-use, remove dead 
code..
- Improvements to docstrings
- Added get-json-schema to qdmanage.
- Extend qdmanage to handle non-standard ops.

> Websocket Listeners
> ---
>
> Key: DISPATCH-103
> URL: https://issues.apache.org/jira/browse/DISPATCH-103
> Project: Qpid Dispatch
>  Issue Type: New Feature
>  Components: Container
>Reporter: Ted Ross
>Assignee: Alan Conway
> Fix For: 0.5
>
>
> Add an option in configured listeners to use websockets encapsulation.  This 
> will allow AMQP clients inside web browsers to directly connect to the 
> message bus.



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

-
To unsubscribe, e-mail: dev-unsubscr...@qpid.apache.org
For additional commands, e-mail: dev-h...@qpid.apache.org



[jira] [Commented] (DISPATCH-103) Websocket Listeners

2015-02-02 Thread Alan Conway (JIRA)

[ 
https://issues.apache.org/jira/browse/DISPATCH-103?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14301408#comment-14301408
 ] 

Alan Conway commented on DISPATCH-103:
--

This commit should say DISPATCH-102

> Websocket Listeners
> ---
>
> Key: DISPATCH-103
> URL: https://issues.apache.org/jira/browse/DISPATCH-103
> Project: Qpid Dispatch
>  Issue Type: New Feature
>  Components: Container
>Reporter: Ted Ross
>Assignee: Alan Conway
> Fix For: 0.5
>
>
> Add an option in configured listeners to use websockets encapsulation.  This 
> will allow AMQP clients inside web browsers to directly connect to the 
> message bus.



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

-
To unsubscribe, e-mail: dev-unsubscr...@qpid.apache.org
For additional commands, e-mail: dev-h...@qpid.apache.org



[jira] [Commented] (DISPATCH-103) Websocket Listeners

2015-01-28 Thread ASF subversion and git services (JIRA)

[ 
https://issues.apache.org/jira/browse/DISPATCH-103?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14295437#comment-14295437
 ] 

ASF subversion and git services commented on DISPATCH-103:
--

Commit 1655398 from [~aconway] in branch 'dispatch/trunk'
[ https://svn.apache.org/r1655398 ]

DISPATCH-103: Add management entity providng get-schema operations.

- Add org.amqp.management to qdrouter schema.
- Add org.apache.qpid.dispatch extending org.amq.management with get-schema 
operations
- Make org.amqp.management a regulary entity class, move standard mgmt ops 
Agent to ManagementEntity.
- Add tests for get-schema operations.

> Websocket Listeners
> ---
>
> Key: DISPATCH-103
> URL: https://issues.apache.org/jira/browse/DISPATCH-103
> Project: Qpid Dispatch
>  Issue Type: New Feature
>  Components: Container
>Reporter: Ted Ross
> Fix For: 0.5
>
>
> Add an option in configured listeners to use websockets encapsulation.  This 
> will allow AMQP clients inside web browsers to directly connect to the 
> message bus.



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

-
To unsubscribe, e-mail: dev-unsubscr...@qpid.apache.org
For additional commands, e-mail: dev-h...@qpid.apache.org