jcoglan/faye — Issue #100: Subscribe is sent before connect
Author: josephg
Created: 2011-10-08 13:54:28+00:00
State: open

I'm printing out the messages received in an incoming message extension on the server:

```
{ channel: '/meta/handshake',
version: '1.0',
supportedConnectionTypes: [ 'long-polling' ],
id: '1' }
{ channel: '/meta/subscribe',
clientId: '0cuw5yh0g3humt15g29yw1n0hn6x',
subscription: '/x',
id: '2' }
{ channel: '/meta/connect',
clientId: '0cuw5yh0g3humt15g29yw1n0hn6x',
connectionType: 'in-process',
id: '3' }
```

From the spec:

> A client MAY send other messages in the same HTTP request with a connection message. A server MUST handle any other message sent in the same request as a connect message after the handling of the connect message is complete.

... I *think* this is a bug.