Skip to content

Sync HTTP/2 branch with master#2423

Merged
marty1885 merged 91 commits intohttp2-betafrom
http2-beta-update
Dec 20, 2025
Merged

Sync HTTP/2 branch with master#2423
marty1885 merged 91 commits intohttp2-betafrom
http2-beta-update

Conversation

@marty1885
Copy link
Copy Markdown
Member

No description provided.

an-tao and others added 30 commits June 19, 2024 14:13
A few minor typos.
When compiling statically, cmake pulls shared libraries as dependencies
for drogon e.g. libpq.so instead of libpq.a. This causes linkage errors
when compiling the whole program.

The flag USE_STATIC_LIBS_ONLY should set the CMAKE_FIND_LIBRARY_SUFFIXES
to the appropriate suffix on different platforms, thus find_* commands
find the right library.
Signed-off-by: yuanlu <2573580691@qq.com>
Using coroutines directly by the user e.g. declaring a function with
drogon::Task<> return type, will have it's continuation set to nullptr.

Returning nullptr causes a segfault and it must be checked before
returning e.g. the snippet form https://en.cppreference.com/w/cpp/coroutine/noop_coroutine

```cpp
struct final_awaiter
{
    std::coroutine_handle<>
        await_suspend(std::coroutine_handle<promise_type> h) noexcept
    {
        // final_awaiter::await_suspend is called when the execution of the
        // current coroutine (referred to by 'h') is about to finish.
        // If the current coroutine was resumed by another coroutine via
        // co_await get_task(), a handle to that coroutine has been stored
        // as h.promise().previous. In that case, return the handle to resume
        // the previous coroutine.
        // Otherwise, return noop_coroutine(), whose resumption does nothing.

        if (auto previous = h.promise().previous; previous)
            return previous;
        else
            return std::noop_coroutine();
    }
};
```

This commit default initializes the continuation handle to no op coroutine and
avoids the check.

Signed-off-by: Omar Mohamed <mohamed.omar67492@gmail.com>
an-tao and others added 28 commits May 13, 2025 11:15
…#2336)

* chore(workflow): upgrade Windows image to 2022

* chore(test): re-enable tests on Windows
… chars on model generation template (#2379)

Co-authored-by: discollizard <discollizard@github.com>
Signed-off-by: Dario Binacchi <dario.binacchi@amarulasolutions.com>
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 3 to 4.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](github/codeql-action@v3...v4)

---
updated-dependencies:
- dependency-name: github/codeql-action
  dependency-version: '4'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Add error logging for file operations in CacheFile.
@marty1885 marty1885 merged commit 93d0f7d into http2-beta Dec 20, 2025
31 checks passed
@marty1885 marty1885 deleted the http2-beta-update branch December 21, 2025 06:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.