Giter Site home page Giter Site logo

Comments (8)

seanmonstar avatar seanmonstar commented on May 8, 2024

It sounds bad to for our connection to grow inconsistent HPACK state. However, is the proper fix important enough for 0.1, or could we give ourselves time and simply return a connection error for now?

from h2.

carllerche avatar carllerche commented on May 8, 2024

It isn't an API breaking change, so technically it isn't a 0.1 hard requirement.

That said, I would be surprised if the real fix is much harder than a temporary fix.

from h2.

carllerche avatar carllerche commented on May 8, 2024

I believe that the solution is to add a new Ignore variant to this. Read the continuation frame & discard it.

And a test of course.

from h2.

carllerche avatar carllerche commented on May 8, 2024

Digging through, this is a bit more involved, but still not terribly hard. I'll try working on it.

from h2.

carllerche avatar carllerche commented on May 8, 2024

Looking at this, I discovered another potential issue #191.

from h2.

carllerche avatar carllerche commented on May 8, 2024

Also, the analysis of the fix is incorrect.

from h2.

carllerche avatar carllerche commented on May 8, 2024

I'm removing this from the 0.1 milestone. As @seanmonstar pointed out, this is not critical.

from h2.

nox avatar nox commented on May 8, 2024

I believe that the solution is to add a new Ignore variant to this. Read the continuation frame & discard it.

Link with a hash so it doesn't get outdated:

#[derive(Debug)]
enum Continuable {
Headers(frame::Headers),
PushPromise(frame::PushPromise),
}

from h2.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.