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

Webtransport #183

Merged
merged 101 commits into from
Jun 13, 2023
Merged

Webtransport #183

merged 101 commits into from
Jun 13, 2023

Commits on Mar 29, 2023

  1. add cert generator

    darioalessandro committed Mar 29, 2023
    Configuration menu
    Copy the full SHA
    84701a7 View commit details
    Browse the repository at this point in the history
  2. save

    darioalessandro committed Mar 29, 2023
    Configuration menu
    Copy the full SHA
    dcc248d View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    21f564d View commit details
    Browse the repository at this point in the history

Commits on Mar 30, 2023

  1. revert dup setting

    darioalessandro committed Mar 30, 2023
    Configuration menu
    Copy the full SHA
    22aaaa8 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    6ebd3e1 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    203d59d View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    54e8946 View commit details
    Browse the repository at this point in the history
  5. chore: update .gitignore

    ten3roberts committed Mar 30, 2023
    Configuration menu
    Copy the full SHA
    e730761 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    a1c35fd View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    d4812c3 View commit details
    Browse the repository at this point in the history
  8. fix: cert paths

    ten3roberts committed Mar 30, 2023
    Configuration menu
    Copy the full SHA
    943d334 View commit details
    Browse the repository at this point in the history

Commits on Mar 31, 2023

  1. Configuration menu
    Copy the full SHA
    47c3120 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    f3f2a80 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    38ad758 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    52eb68d View commit details
    Browse the repository at this point in the history

Commits on Apr 1, 2023

  1. Configuration menu
    Copy the full SHA
    7992a2b View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    6337f25 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    c482960 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    d48a11a View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    d0bb808 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    3accb2d View commit details
    Browse the repository at this point in the history

Commits on Apr 2, 2023

  1. add datagrams to h3 connection, also, never drop the stream used to a…

    …ccept the connect request, instead hold on to it
    darioalessandro committed Apr 2, 2023
    Configuration menu
    Copy the full SHA
    f89acdd View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    7d3f1a2 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    495e1cd View commit details
    Browse the repository at this point in the history

Commits on Apr 3, 2023

  1. Configuration menu
    Copy the full SHA
    3ae8832 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    57dcb92 View commit details
    Browse the repository at this point in the history
  3. feat: datagram api

    ten3roberts committed Apr 3, 2023
    Configuration menu
    Copy the full SHA
    8a6dd1d View commit details
    Browse the repository at this point in the history

Commits on Apr 4, 2023

  1. Configuration menu
    Copy the full SHA
    add97ff View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    6d503d6 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    9c69ca1 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    254a013 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    7628e3e View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    ff4d51a View commit details
    Browse the repository at this point in the history

Commits on Apr 5, 2023

  1. Configuration menu
    Copy the full SHA
    a009765 View commit details
    Browse the repository at this point in the history
  2. chore: save session_id

    ten3roberts committed Apr 5, 2023
    Configuration menu
    Copy the full SHA
    126fa50 View commit details
    Browse the repository at this point in the history

Commits on Apr 6, 2023

  1. Configuration menu
    Copy the full SHA
    5091639 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    0fde7d4 View commit details
    Browse the repository at this point in the history

Commits on Apr 11, 2023

  1. Configuration menu
    Copy the full SHA
    cc7dea2 View commit details
    Browse the repository at this point in the history

Commits on Apr 12, 2023

  1. feat: make SendStream allow writing arbitrary data like io::Write

    This changes the `quic::SendStream` trait to closer mimic the
    `AsyncWrite` trait, but using a `impl Buf` rather than `&[u8]` which
    removes the need to allocate and copy the byte slice to store it if
    needed.
    
    [s2n-quic::SendStream](https://github.com/aws/s2n-quic/blob/bf20c6dd148153802929a2514b444dcf5dd37fd1/quic/s2n-quic-h3/src/s2n_quic.rs#L364) uses this to enqueue the bytes for sending, which would require allocating if `&[u8]` was used.
    
    Issue hyperium#78 discusses this API change which would remove the need for intermediate buffering.
    
    See: hyperium#78 (comment)
    ten3roberts committed Apr 12, 2023
    Configuration menu
    Copy the full SHA
    7f2bc2d View commit details
    Browse the repository at this point in the history
  2. fix: remove generic for SendStream

    This makes the SendStream significantly more flexible as it is no longer
    constrained to sending only a single type of bytes.
    
    Both `quinn` and `s2n` implemented SendStream for *any* type which
    implemented `Buf`, rather than a specific type. See: https://github.com/aws/s2n-quic/blob/bf20c6dd148153802929a2514b444dcf5dd37fd1/quic/s2n-quic-h3/src/s2n_quic.rs#L358
    
    Use of SendStream<B> was mixed throughout the code and supplying a type
    for `B` was always necessary even at times where sending was not
    necessary, which lead to the use of `PhantomData`, such as the
    `RecvStream` impl for FrameStream. Often a `()` was used to indicate
    this.
    
    This leaked all the way up to the user facing api, where the user has to
    decide upfront what type of buffer they will use for sending the request,
    most often `Bytes` (see examples). This is unnecessary and needlessly
    restrictive, and that `B` is in most cases a `PhantomData` where it is
    used.
    
    The new system moves the specific buffer to a generic to the send
    function.
    ten3roberts committed Apr 12, 2023
    Configuration menu
    Copy the full SHA
    16eead4 View commit details
    Browse the repository at this point in the history

Commits on Apr 13, 2023

  1. remove print statements from poll accept request and add keep alive i…

    …nterval to quinn config so that webtransport connection does not close
    darioalessandro committed Apr 13, 2023
    Configuration menu
    Copy the full SHA
    e07286c View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    5f0f3da View commit details
    Browse the repository at this point in the history
  3. feat: make Connection agnostic to underlying send buffer implementation

    This also removes the "phantom" generic on many types which is often
    `Bytes` for an internal buffer type on the send streams
    ten3roberts committed Apr 13, 2023
    Configuration menu
    Copy the full SHA
    92ca2a7 View commit details
    Browse the repository at this point in the history
  4. feat: generalize peeked reading of streams

    Introduced `BufRecvStream` which holds onto the already read data.
    
    This prevents data loss when streams are transitioned from one type to
    another, such as when reading the type and then constructing a decoded.
    This was previously done manually through
    `AcceptedRecvStream::into_stream` => `FrameStream::with_buf`, but was
    error prone as the buffer could easily be forgotten when deconstructing
    the frame stream later.
    ten3roberts committed Apr 13, 2023
    Configuration menu
    Copy the full SHA
    0c42603 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    51d66c3 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    9af9ad5 View commit details
    Browse the repository at this point in the history

Commits on Apr 14, 2023

  1. fix: (some) msrv

    ten3roberts committed Apr 14, 2023
    Configuration menu
    Copy the full SHA
    687e3eb View commit details
    Browse the repository at this point in the history
  2. fix: doc tests

    ten3roberts committed Apr 14, 2023
    Configuration menu
    Copy the full SHA
    869add4 View commit details
    Browse the repository at this point in the history
  3. wip: open bi

    ten3roberts committed Apr 14, 2023
    Configuration menu
    Copy the full SHA
    669bee6 View commit details
    Browse the repository at this point in the history

Commits on Apr 18, 2023

  1. Configuration menu
    Copy the full SHA
    0e178e2 View commit details
    Browse the repository at this point in the history

Commits on Apr 19, 2023

  1. got system to echo datagrams and bidi_streams, we can receive uni_str…

    …eams but I sending server side uni_streams does not work
    darioalessandro committed Apr 19, 2023
    Configuration menu
    Copy the full SHA
    d8053b4 View commit details
    Browse the repository at this point in the history
  2. add missing import

    darioalessandro committed Apr 19, 2023
    Configuration menu
    Copy the full SHA
    1d8339d View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    4441c68 View commit details
    Browse the repository at this point in the history
  4. almost?

    darioalessandro committed Apr 19, 2023
    Configuration menu
    Copy the full SHA
    fa150c8 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    d5ef8d8 View commit details
    Browse the repository at this point in the history
  6. chore: cleanup logs

    ten3roberts committed Apr 19, 2023
    Configuration menu
    Copy the full SHA
    8597893 View commit details
    Browse the repository at this point in the history

Commits on Apr 20, 2023

  1. Configuration menu
    Copy the full SHA
    cde007d View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    6c138d6 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    644f991 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    9ec8012 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    0d49d38 View commit details
    Browse the repository at this point in the history

Commits on Apr 21, 2023

  1. Revert "wip: new server and session api"

    This reverts commit 0d49d38.
    darioalessandro committed Apr 21, 2023
    Configuration menu
    Copy the full SHA
    6a355a9 View commit details
    Browse the repository at this point in the history
  2. Revert "wip: multi session support"

    This reverts commit 9ec8012.
    darioalessandro committed Apr 21, 2023
    Configuration menu
    Copy the full SHA
    08e39eb View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    374a137 View commit details
    Browse the repository at this point in the history
  4. add allow_access_to_core feature so that h3 users need to go out of t…

    …heir way to access mods that used to be private like connection, streams, etc
    darioalessandro committed Apr 21, 2023
    Configuration menu
    Copy the full SHA
    e385d6d View commit details
    Browse the repository at this point in the history

Commits on Apr 24, 2023

  1. Configuration menu
    Copy the full SHA
    0540c1d View commit details
    Browse the repository at this point in the history

Commits on Apr 25, 2023

  1. chore: use pin-project

    ten3roberts committed Apr 25, 2023
    Configuration menu
    Copy the full SHA
    0c3a07c View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    32b1560 View commit details
    Browse the repository at this point in the history
  3. chore: fix warnings

    ten3roberts committed Apr 25, 2023
    Configuration menu
    Copy the full SHA
    7b6a260 View commit details
    Browse the repository at this point in the history
  4. chore: cleanup

    ten3roberts committed Apr 25, 2023
    Configuration menu
    Copy the full SHA
    57576b9 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    cf2044b View commit details
    Browse the repository at this point in the history

Commits on Apr 26, 2023

  1. Configuration menu
    Copy the full SHA
    64c1da7 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    f4e83fb View commit details
    Browse the repository at this point in the history
  3. remove DUMMY setting

    darioalessandro committed Apr 26, 2023
    Configuration menu
    Copy the full SHA
    7141521 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    bf13d83 View commit details
    Browse the repository at this point in the history

Commits on May 3, 2023

  1. fix: typo

    ten3roberts committed May 3, 2023
    Configuration menu
    Copy the full SHA
    24e6e00 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    63388af View commit details
    Browse the repository at this point in the history

Commits on May 4, 2023

  1. Configuration menu
    Copy the full SHA
    9ff3c2e View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    14fba6b View commit details
    Browse the repository at this point in the history

Commits on May 11, 2023

  1. fix: import

    ten3roberts committed May 11, 2023
    Configuration menu
    Copy the full SHA
    3708407 View commit details
    Browse the repository at this point in the history
  2. feat: ext module

    ten3roberts committed May 11, 2023
    Configuration menu
    Copy the full SHA
    757dedc View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    fa7785c View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    74935b5 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    3dd7732 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    d781040 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    0bc780f View commit details
    Browse the repository at this point in the history

Commits on May 16, 2023

  1. Configuration menu
    Copy the full SHA
    3cb7955 View commit details
    Browse the repository at this point in the history
  2. chore: rename conn

    ten3roberts committed May 16, 2023
    Configuration menu
    Copy the full SHA
    4e44e04 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    fc67a31 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    cf8fd16 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    185e55d View commit details
    Browse the repository at this point in the history
  6. fix: unnused import

    ten3roberts committed May 16, 2023
    Configuration menu
    Copy the full SHA
    6c8de63 View commit details
    Browse the repository at this point in the history

Commits on May 17, 2023

  1. fix: shutdown todo

    ten3roberts committed May 17, 2023
    Configuration menu
    Copy the full SHA
    6449f79 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    2b536b7 View commit details
    Browse the repository at this point in the history

Commits on May 25, 2023

  1. Configuration menu
    Copy the full SHA
    64fe30d View commit details
    Browse the repository at this point in the history

Commits on May 29, 2023

  1. Configuration menu
    Copy the full SHA
    48d5f1f View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    483eac9 View commit details
    Browse the repository at this point in the history
  3. fix: doctests

    ten3roberts committed May 29, 2023
    Configuration menu
    Copy the full SHA
    d68f1c0 View commit details
    Browse the repository at this point in the history

Commits on Jun 1, 2023

  1. Configuration menu
    Copy the full SHA
    db5c723 View commit details
    Browse the repository at this point in the history

Commits on Jun 13, 2023

  1. Configuration menu
    Copy the full SHA
    a45bfd4 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    fa956e0 View commit details
    Browse the repository at this point in the history