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

dynbuf: introduce internal generic dynamic buffer functions #5300

Closed
wants to merge 2 commits into from

Commits on Apr 28, 2020

  1. dynbuf: introduce internal generic dynamic buffer functions

    A common set of functions instead of many separate implementations for
    creating buffers that can grow when appending data to them. Existing
    functionality has been ported over.
    
    In my early basic testing, the total number of allocations seem at
    roughly the same amount as before, possibly a few less.
    
    See docs/DYNBUF.md for a description of the API.
    bagder committed Apr 28, 2020
    Copy the full SHA
    e39a65c View commit details
    Browse the repository at this point in the history
  2. http_proxy: ported to use dynbuf instead of a static size buffer

    Removes a 16K static buffer from the easy handle. Simplifies the code.
    bagder committed Apr 28, 2020
    Copy the full SHA
    63a264c View commit details
    Browse the repository at this point in the history