Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support upgrades via I/O operations #159

Open
wants to merge 8 commits into
base: master
Choose a base branch
from
Open

Support upgrades via I/O operations #159

wants to merge 8 commits into from

Commits on Apr 27, 2020

  1. upgrade: support upgrades via an I/O operation

    Add `Reqd.respond_with_upgrade`, which will create response with a with
    status code 101, and the provided headers. On the next write operation,
    this response, along with the inspiring request will be provided to the
    runtime. It is up to the runtime to serialize the resposne and send it
    on the wire before handing off the socket to an upgrade handler.
    seliopou committed Apr 27, 2020
    Configuration menu
    Copy the full SHA
    1094448 View commit details
    Browse the repository at this point in the history
  2. upgrade: fix tests

    seliopou committed Apr 27, 2020
    Configuration menu
    Copy the full SHA
    07429e0 View commit details
    Browse the repository at this point in the history
  3. upgrade: add a test

    seliopou committed Apr 27, 2020
    Configuration menu
    Copy the full SHA
    1dccf46 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    11a3960 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    553adab View commit details
    Browse the repository at this point in the history
  6. upgrade: fix examples

    seliopou committed Apr 27, 2020
    Configuration menu
    Copy the full SHA
    65b5a20 View commit details
    Browse the repository at this point in the history
  7. upgrade: fix lwt runtime

    The future returned by the ugprade handler will dicatate when the fd
    will be closed.
    seliopou committed Apr 27, 2020
    Configuration menu
    Copy the full SHA
    2c86e47 View commit details
    Browse the repository at this point in the history
  8. upgrade: fix async runtime

    The deferred returned by the ugprade handler will dicatate when the fd
    will be closed.
    seliopou committed Apr 27, 2020
    Configuration menu
    Copy the full SHA
    a365c6d View commit details
    Browse the repository at this point in the history