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

Resync with upstream 1.7.0-pre #214

Merged
merged 26 commits into from
Dec 28, 2023
Merged

Resync with upstream 1.7.0-pre #214

merged 26 commits into from
Dec 28, 2023

Commits on Dec 28, 2023

  1. Configuration menu
    Copy the full SHA
    c6ff1d1 View commit details
    Browse the repository at this point in the history
  2. fix: use ifdef for NNG_ENABLE_STATS

    In some places, we use ifdef, and others if.
    
    This normalizes for always using ifdef, so we can compile when
    this macro is not defined.
    casaroli authored and JaylinYu committed Dec 28, 2023
    Configuration menu
    Copy the full SHA
    e475225 View commit details
    Browse the repository at this point in the history
  3. fix: use ifdef for NNG_TEST_LIB

    In some places, we use ifdef, and others if.
    
    This normalizes for always using ifdef, so we can compile when
    this macro is not defined.
    casaroli authored and JaylinYu committed Dec 28, 2023
    Configuration menu
    Copy the full SHA
    924e1cf View commit details
    Browse the repository at this point in the history
  4. fix: use ifdef for NNG_HAVE_BACKTRACE

    In some places, we use ifdef, and others if.
    
    This normalizes for always using ifdef, so we can compile when
    this macro is not defined.
    casaroli authored and JaylinYu committed Dec 28, 2023
    Configuration menu
    Copy the full SHA
    f399c26 View commit details
    Browse the repository at this point in the history
  5. Bump golang.org/x/net from 0.15.0 to 0.17.0 in /etc/pubrefman

    Bumps [golang.org/x/net](https://github.com/golang/net) from 0.15.0 to 0.17.0.
    - [Commits](golang/net@v0.15.0...v0.17.0)
    
    ---
    updated-dependencies:
    - dependency-name: golang.org/x/net
      dependency-type: indirect
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    dependabot[bot] authored and JaylinYu committed Dec 28, 2023
    Configuration menu
    Copy the full SHA
    611c502 View commit details
    Browse the repository at this point in the history
  6. fixes #1523 rare SEGV in sub nni_list_remove

    Credit goes to Wu Xuan (@willwu1217) for diagnosing and proposing
    a fix as part of #1695.  This approach takes a revised approach
    to avoid adding extra memory, and it also is slightly faster as we
    do not need to update both pointers in the linked list, by reusing
    the reap node.
    
    As part of this a new internal API, nni_aio_completions, is introduced.
    In all likelihood we will be able to use this to solve some similar
    crashes in other areas of the code.
    gdamore authored and JaylinYu committed Dec 28, 2023
    Configuration menu
    Copy the full SHA
    78a059a View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    ea657bc View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    56669ff View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    6266cd1 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    9393adc View commit details
    Browse the repository at this point in the history
  11. minor tweaks to REAMDE

    gdamore authored and JaylinYu committed Dec 28, 2023
    Configuration menu
    Copy the full SHA
    c48583b View commit details
    Browse the repository at this point in the history
  12. docs: add a reference to nng_device

    gdamore authored and JaylinYu committed Dec 28, 2023
    Configuration menu
    Copy the full SHA
    324e15c View commit details
    Browse the repository at this point in the history
  13. fixes #1665 docs: document restriction for pipe notify callbacks

    One must not attempt to use any functions that access the socket
    directly from pipe notification callbacks.
    gdamore authored and JaylinYu committed Dec 28, 2023
    Configuration menu
    Copy the full SHA
    5cd3d2a View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    1f5fda2 View commit details
    Browse the repository at this point in the history
  15. Bump version to 1.6.0

    gdamore authored and JaylinYu committed Dec 28, 2023
    Configuration menu
    Copy the full SHA
    0bd076c View commit details
    Browse the repository at this point in the history
  16. Configuration menu
    Copy the full SHA
    9445731 View commit details
    Browse the repository at this point in the history
  17. fix copyright from last commit

    gdamore authored and JaylinYu committed Dec 28, 2023
    Configuration menu
    Copy the full SHA
    e781e98 View commit details
    Browse the repository at this point in the history
  18. fixes #1673 High CPU usage with TLS

    The aio for connections was meant to have an infinite sleep (no
    timeout), but was getting an initial value of zero, so we were spinning
    on accept.
    gdamore authored and JaylinYu committed Dec 28, 2023
    Configuration menu
    Copy the full SHA
    e3d8cba View commit details
    Browse the repository at this point in the history
  19. fixes #1663 Request/Reply Protocol Throughput and Scalability

    This eliminates the req protocols use of nni_timer (and setting
    a single timer node per request.  This was problematic because it
    devolves into O(n^2) as we wind up inserting timer nodes and having
    to scan the list for the timer node.
    
    The solution is to use a single scan - stop worrying about insertion,
    but instead use a coarse granularity timer (defaults to 1 second)
    for retries.  Then do the O(n) scan just once per interval.
    
    A new option, NNG_OPT_REQ_RESENDTICK, can be used to change the tick
    interval for cases (like unit tests) where more fine grained timing
    is required.
    gdamore authored and JaylinYu committed Dec 28, 2023
    Configuration menu
    Copy the full SHA
    13ebc75 View commit details
    Browse the repository at this point in the history
  20. minor comment fixes for survey_test

    gdamore authored and JaylinYu committed Dec 28, 2023
    Configuration menu
    Copy the full SHA
    9c1f4cc View commit details
    Browse the repository at this point in the history
  21. Configuration menu
    Copy the full SHA
    a806d82 View commit details
    Browse the repository at this point in the history
  22. fixes #1729 remove nni_timer

    gdamore authored and JaylinYu committed Dec 28, 2023
    Configuration menu
    Copy the full SHA
    3681978 View commit details
    Browse the repository at this point in the history
  23. Bump version to 1.7.0pre

    (This should avoid folks thinking master represents 1.6.0.)
    The next release needs to bump the minor because of the new
    option NNG_OPT_REQ_RESENDTICK.
    gdamore authored and JaylinYu committed Dec 28, 2023
    Configuration menu
    Copy the full SHA
    8dbe7b9 View commit details
    Browse the repository at this point in the history
  24. fixes #1735 websocket should send, and wait for, WS_CLOSE frames on s…

    …hutdown
    
    fixes #1733 deadlock in websocket listener close
    gdamore authored and JaylinYu committed Dec 28, 2023
    Configuration menu
    Copy the full SHA
    4f4e553 View commit details
    Browse the repository at this point in the history
  25. fixes #1734 websocket dialer hang on shutdown

    It's not absolutely clear that this fixes all of the possible
    cases, but we're hopeful that this does -- and in any event the
    bug does not seem to reproduce easily anymore.
    gdamore authored and JaylinYu committed Dec 28, 2023
    Configuration menu
    Copy the full SHA
    f97580e View commit details
    Browse the repository at this point in the history
  26. Bump golang.org/x/crypto from 0.14.0 to 0.17.0 in /etc/pubrefman

    Bumps [golang.org/x/crypto](https://github.com/golang/crypto) from 0.14.0 to 0.17.0.
    - [Commits](golang/crypto@v0.14.0...v0.17.0)
    
    ---
    updated-dependencies:
    - dependency-name: golang.org/x/crypto
      dependency-type: indirect
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    dependabot[bot] authored and JaylinYu committed Dec 28, 2023
    Configuration menu
    Copy the full SHA
    12a4803 View commit details
    Browse the repository at this point in the history