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

[udp] make response message cache configurable #590

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Commits on Nov 5, 2024

  1. [udp] make response message cache configurable

    Modifies UDP conn implementation to allow for a custom response message
    cache to be provided. This change is implemented in such a way that API
    compatibility with previous v3 releases is preserved. Users may now
    provide an option to supply their own cache implementation. Structured
    messages, rather than their serialized representation, are now passed to
    the cache implementation to allow for caching decisions to be made in
    the cache implementation. For example, it may be desirable to skip
    caching blockwise message responses if the entire underlying data being
    transferred is also cached. The cache implementation is responsible for
    cloning messages or otherwise ensuring that it is not storing data that
    may subsequently be modified.
    
    Signed-off-by: Daniel Mangum <[email protected]>
    hasheddan committed Nov 5, 2024
    Configuration menu
    Copy the full SHA
    b80b7a8 View commit details
    Browse the repository at this point in the history