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

src: split out per-binding state from Environment #32538

Closed
wants to merge 15 commits into from

Commits on Apr 2, 2020

  1. src: make creating per-binding data structures easier

    Enable the state associated with the individual bindings, e.g. fs or
    http2, to be moved out of the Environment class, in order for these
    to be more modular and for Environment to be come less of a collection
    of random data fields.
    
    Do this by using a BaseObject as the data for callbacks, which can hold
    the per-binding state. By default, no per-binding state is available,
    although that can be configured when setting up the binding.
    addaleax committed Apr 2, 2020
    Configuration menu
    Copy the full SHA
    4fba668 View commit details
    Browse the repository at this point in the history
  2. src: move HTTP/2 state out of Environment

    Moves state that is specific to HTTP/2 into the HTTP/2 implementation
    as a cleanup.
    addaleax committed Apr 2, 2020
    Configuration menu
    Copy the full SHA
    824f84e View commit details
    Browse the repository at this point in the history
  3. src: move v8 stats buffers out of Environment

    Moves state that is specific to the `v8` binding into the
    `v8` binding implementation as a cleanup.
    addaleax committed Apr 2, 2020
    Configuration menu
    Copy the full SHA
    9f0f5f9 View commit details
    Browse the repository at this point in the history
  4. src: move http parser state out of Environment

    Moves state that is specific to HTTP/1 into the HTTP/1 implementation
    as a cleanup.
    addaleax committed Apr 2, 2020
    Configuration menu
    Copy the full SHA
    6da22d8 View commit details
    Browse the repository at this point in the history
  5. src: move fs state out of Environment

    Moves state that is specific to the `fs` binding into the
    `fs` binding implementation as a cleanup.
    addaleax committed Apr 2, 2020
    Configuration menu
    Copy the full SHA
    ad65335 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    610dfe5 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    9222827 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    a68f057 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    d9e7d38 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    5a2317d View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    38e471c View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    0273dbf View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    72d24ee View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    54324b6 View commit details
    Browse the repository at this point in the history
  15. Configuration menu
    Copy the full SHA
    330e24b View commit details
    Browse the repository at this point in the history