Skip to content
This repository was archived by the owner on Apr 5, 2026. It is now read-only.

mtproxy_secret_connections is wrong for non-direct mode #72

Description

@morpheus017

Hello there!

mtproxy_secret_connections metric quickly goes negative.

looks like D->extra_int2 is set after notification_event_insert_tcp_conn_ready, so mtproto_ext_rpc_ready always receives sid = 0

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions