Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: nginx/unit
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: master
Choose a base ref
...
head repository: nginx/unit
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 1.32
Choose a head ref
Checking mergeability… Don’t worry, you can still create the pull request.
  • 7 commits
  • 22 files changed
  • 3 contributors

Commits on Mar 15, 2024

  1. Version bump

    andrey-zelenkov committed Mar 15, 2024
    Configuration menu
    Copy the full SHA
    97ff099 View commit details
    Browse the repository at this point in the history
  2. Var: Fix cacheable issue for njs variable access

    The variables accessed with JS template literal should not be cacheable.
    Since it is parsed by njs engine, Unit can't create indexes on these
    variables for caching purpose. For example:
    
       {
           "format": "`{bodyLength:\"${vars.body_bytes_sent}\",status:\"${vars.status}\"}\n`"
       }
    
    The variables like the above are not cacheable.
    
    Closes: #1169
    hongzhidao authored and andrey-zelenkov committed Mar 15, 2024
    Configuration menu
    Copy the full SHA
    6359c74 View commit details
    Browse the repository at this point in the history
  3. Tests: NJS cacheable variables with access log

    Reproduces issue #1169.
    andrey-zelenkov committed Mar 15, 2024
    Configuration menu
    Copy the full SHA
    d7ff6bb View commit details
    Browse the repository at this point in the history
  4. Wasm-wc: Fix application restarts

    Liam reported a problem when trying to restart wasm-wasi-component based
    applications using the /control/applications/APPLICATION_NAME/restart
    endpoint.
    
    The application would become unresponsive.
    
    What was happening was the old application process(es) weren't
    exit(3)ing and so while we were starting new application processes, the
    old ones were still hanging around in a non-functioning state.
    
    When we are terminating an application it must call exit(3).
    
    So that's what we do. We use the return value of nxt_unit_run() as the
    exit status.
    
    Due to exit(3)ing we also need to now explicitly handle the return on
    error case.
    
    Reported-by: Liam Crilly <[email protected]>
    Fixes: 20ada4b ("Wasm-wc: Core of initial Wasm component model language module support")
    Closes: #1179
    Tested-by: Liam Crilly <[email protected]>
    Tested-by: Danielle De Leo <[email protected]>
    Co-developed-by: Dan Callahan <[email protected]>
    Signed-off-by: Dan Callahan <[email protected]>
    Signed-off-by: Andrew Clayton <[email protected]>
    ac000 authored and andrey-zelenkov committed Mar 15, 2024
    Configuration menu
    Copy the full SHA
    777b7c8 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    8ca4962 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    3f228d6 View commit details
    Browse the repository at this point in the history

Commits on Mar 21, 2024

  1. Configuration menu
    Copy the full SHA
    48d7917 View commit details
    Browse the repository at this point in the history
Loading