Skip to content
This repository has been archived by the owner on Sep 4, 2021. It is now read-only.

all: Fix attach HTTP upgrade protocol #800

Merged
merged 1 commit into from
Jan 24, 2015
Merged

Conversation

titanous
Copy link
Contributor

The previous implementation was not compliant with the HTTP spec, and broke when the router was refactored. The new protocol dance looks like:

POST /attach
Connection: upgrade
Upgrade: flynn-attach/0

...

101 Switching Protocols
Connection: upgrade
Upgrade: flynn-attach/0

<attach frames>

The previous implementation was not compliant with the HTTP spec,
and broke when the router was refactored. The new protocol dance
looks like:

    POST /attach
    Connection: upgrade
    Upgrade: flynn-attach/0

    ...

    101 Switching Protocols
    Connection: upgrade
    Upgrade: flynn-attach/0

    <attach frames>

Signed-off-by: Jonathan Rudenberg <jonathan@titanous.com>
@lmars
Copy link
Contributor

lmars commented Jan 24, 2015

LGTM

titanous added a commit that referenced this pull request Jan 24, 2015
all: Fix attach HTTP upgrade protocol
@titanous titanous merged commit d2ffcb0 into master Jan 24, 2015
@titanous titanous deleted the fix-attach-upgrade branch January 24, 2015 21:47
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants