Skip to content

Backport #103284 to 26.1: Cap pre-auth Hello packet strings to 64 KB and limit handshake time - #103359

Merged
CheSema merged 2 commits into
26.1from
backport/26.1/103284
Apr 27, 2026
Merged

CheSema merged 2 commits into
26.1from
backport/26.1/103284

Conversation

@robot-ch-test-poll

@robot-ch-test-poll robot-ch-test-poll commented Apr 22, 2026 •

Copy link
Copy Markdown
Contributor

Original pull-request #103284
Cherry-pick pull-request #103358

This pull-request is a last step of an automated backporting.
Treat it as a standard pull-request: look at the checks and resolve conflicts.
Merge it only if you intend to backport changes to the target branch, otherwise just close it.

The PR source

The PR is created in the CI job

Version info

  • Merged into: 26.1.12.20

@robot-ch-test-poll robot-ch-test-poll added pr-backport Changes, backported to release branch. Do not use manually - automated use only! pr-bugfix Pull request with bugfix, not backported by default labels Apr 22, 2026
@clickhouse-gh

clickhouse-gh Bot commented Apr 22, 2026 •

Copy link
Copy Markdown
Contributor

Workflow [BackportPR], commit [218bf1d]

Summary: ❌

job_name test_name status info comment
Stateless tests (amd_asan, distributed plan, parallel, 2/2) failure
04103_user_network_bandwidth_throttler FAIL cidb
Integration tests (amd_tsan, 2/6) failure
test_ttl_replicated/test.py::test_ttl_compatibility[node_left1-node_right1-1] FAIL cidb

The cherry-pick of #103284 dropped the `DECLARE(UInt64,
handshake_timeout_milliseconds, ...)` line from
`src/Core/ServerSettings.cpp` while keeping the matching `extern` in
`src/Server/TCPHandler.cpp`. As a result, all `Build` jobs on this
backport fail with:

    ld.lld-21: error: undefined symbol: DB::ServerSetting::handshake_timeout_milliseconds
    >>> referenced by TCPHandler.cpp:360 (TCPHandler.cpp.o)

Re-add the missing declaration. On `master` and on the `26.4` branch
the same line is already present (it landed earlier via the sync
PR #103269), so this commit only changes the older release branches
where the cherry-pick lost it.
@CheSema
CheSema merged commit 5540992 into 26.1 Apr 27, 2026
31 of 36 checks passed
@CheSema
CheSema deleted the backport/26.1/103284 branch April 27, 2026 07:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

pr-backport Changes, backported to release branch. Do not use manually - automated use only! pr-bugfix Pull request with bugfix, not backported by default

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants