)]}'
{"id":"openvpn~2350","triplet_id":"openvpn~master~Ic667de6f830fa86e2842f1da2820e1250b9d6054","project":"openvpn","branch":"master","full_branch":"refs/heads/master","attention_set":{"1000072":{"account":{"_account_id":1000072,"name":"Farshid Rezaiyan","display_name":"farshixpg","email":"farshidrezaiyan@gmail.com","username":"farshidpg","status":"Developer"},"last_update":"2026-11-26 10:13:33.000000000","reason":"\u003cGERRIT_ACCOUNT_1000041\u003e replied on the change","reason_account":{"_account_id":1000041,"name":"Ralf Lici","display_name":"Ralf Lici","email":"ralf@mandelbit.com","username":"ralf_lici"}},"1000003":{"account":{"_account_id":1000003,"name":"Arne Schwabe","display_name":"Arne Schwabe","email":"arne-openvpn@rfc2549.org","username":"plaisthos"},"last_update":"2026-11-26 09:59:18.000000000","reason":"Reviewer was added"}},"removed_from_attention_set":{"1000041":{"account":{"_account_id":1000041,"name":"Ralf Lici","display_name":"Ralf Lici","email":"ralf@mandelbit.com","username":"ralf_lici"},"last_update":"2026-11-26 10:13:33.000000000","reason":"\u003cGERRIT_ACCOUNT_1000041\u003e replied on the change","reason_account":{"_account_id":1000041,"name":"Ralf Lici","display_name":"Ralf Lici","email":"ralf@mandelbit.com","username":"ralf_lici"}}},"hashtags":[],"change_id":"Ic667de6f830fa86e2842f1da2820e1250b9d6054","subject":"multi: call client-disconnect handlers when late client setup fails","status":"NEW","created":"2026-11-26 09:59:17.000000000","updated":"2026-11-26 10:13:33.000000000","submit_type":"CHERRY_PICK","total_comment_count":0,"unresolved_comment_count":0,"has_review_started":true,"meta_rev_id":"d31e08bdb460b2af12b8d3cfdad45b4d8d4f463e","_number":2350,"virtual_id_number":2350,"owner":{"_account_id":1000072,"name":"Farshid Rezaiyan","display_name":"farshixpg","email":"farshidrezaiyan@gmail.com","username":"farshidpg","status":"Developer"},"actions":{},"labels":{"Code-Review":{"approved":{"_account_id":1000041,"name":"Ralf Lici","display_name":"Ralf Lici","email":"ralf@mandelbit.com","username":"ralf_lici"},"all":[{"value":2,"date":"2026-11-26 10:13:33.000000000","permitted_voting_range":{"min":-2,"max":2},"_account_id":1000041,"name":"Ralf Lici","display_name":"Ralf Lici","email":"ralf@mandelbit.com","username":"ralf_lici"},{"value":0,"permitted_voting_range":{"min":-2,"max":2},"_account_id":1000003,"name":"Arne Schwabe","display_name":"Arne Schwabe","email":"arne-openvpn@rfc2549.org","username":"plaisthos"}],"values":{"-2":"This shall not be submitted","-1":"I would prefer this is not submitted as is"," 0":"No score","+1":"Looks good to me, but someone else must approve","+2":"Looks good to me, approved"},"default_value":0},"Build-Request":{"all":[{"value":0,"permitted_voting_range":{"min":0,"max":1},"_account_id":1000041,"name":"Ralf Lici","display_name":"Ralf Lici","email":"ralf@mandelbit.com","username":"ralf_lici"},{"value":0,"permitted_voting_range":{"min":0,"max":1},"_account_id":1000003,"name":"Arne Schwabe","display_name":"Arne Schwabe","email":"arne-openvpn@rfc2549.org","username":"plaisthos"}],"values":{" 0":"No score","+1":"Please trigger a build"},"description":"Ask buildbot to do a full build on this change version","default_value":0,"optional":true}},"removable_reviewers":[],"reviewers":{"REVIEWER":[{"_account_id":1000003,"name":"Arne Schwabe","display_name":"Arne Schwabe","email":"arne-openvpn@rfc2549.org","username":"plaisthos"},{"_account_id":1000041,"name":"Ralf Lici","display_name":"Ralf Lici","email":"ralf@mandelbit.com","username":"ralf_lici"}],"CC":[{"_account_id":1000026,"name":"openvpn-devel","email":"openvpn-devel@lists.sourceforge.net","username":"openvpn-devel"}]},"pending_reviewers":{},"reviewer_updates":[{"updated":"2026-11-26 09:59:18.000000000","updated_by":{"_account_id":1000072,"name":"Farshid Rezaiyan","display_name":"farshixpg","email":"farshidrezaiyan@gmail.com","username":"farshidpg","status":"Developer"},"real_updated_by":{"_account_id":1000072,"name":"Farshid Rezaiyan","display_name":"farshixpg","email":"farshidrezaiyan@gmail.com","username":"farshidpg","status":"Developer"},"reviewer":{"_account_id":1000026,"name":"openvpn-devel","email":"openvpn-devel@lists.sourceforge.net","username":"openvpn-devel"},"state":"CC"},{"updated":"2026-11-26 09:59:18.000000000","updated_by":{"_account_id":1000072,"name":"Farshid Rezaiyan","display_name":"farshixpg","email":"farshidrezaiyan@gmail.com","username":"farshidpg","status":"Developer"},"real_updated_by":{"_account_id":1000072,"name":"Farshid Rezaiyan","display_name":"farshixpg","email":"farshidrezaiyan@gmail.com","username":"farshidpg","status":"Developer"},"reviewer":{"_account_id":1000003,"name":"Arne Schwabe","display_name":"Arne Schwabe","email":"arne-openvpn@rfc2549.org","username":"plaisthos"},"state":"REVIEWER"},{"updated":"2026-11-26 09:59:42.000000000","updated_by":{"_account_id":1000072,"name":"Farshid Rezaiyan","display_name":"farshixpg","email":"farshidrezaiyan@gmail.com","username":"farshidpg","status":"Developer"},"real_updated_by":{"_account_id":1000072,"name":"Farshid Rezaiyan","display_name":"farshixpg","email":"farshidrezaiyan@gmail.com","username":"farshidpg","status":"Developer"},"reviewer":{"_account_id":1000041,"name":"Ralf Lici","display_name":"Ralf Lici","email":"ralf@mandelbit.com","username":"ralf_lici"},"state":"REVIEWER"}],"messages":[{"id":"90730d403d54665e838dee0c71843aa82c98ba98","tag":"autogenerated:gerrit:newPatchSet","author":{"_account_id":1000072,"name":"Farshid Rezaiyan","display_name":"farshixpg","email":"farshidrezaiyan@gmail.com","username":"farshidpg","status":"Developer"},"date":"2026-11-26 09:59:17.000000000","message":"Uploaded patch set 1.","accounts_in_message":[],"_revision_number":1},{"id":"d31e08bdb460b2af12b8d3cfdad45b4d8d4f463e","author":{"_account_id":1000041,"name":"Ralf Lici","display_name":"Ralf Lici","email":"ralf@mandelbit.com","username":"ralf_lici"},"date":"2026-11-26 10:13:33.000000000","message":"Patch Set 1: Code-Review+2","accounts_in_message":[],"_revision_number":1}],"current_revision_number":1,"current_revision":"94c2e2c986d1ebe723b000e433f97fa6c6fbc696","revisions":{"94c2e2c986d1ebe723b000e433f97fa6c6fbc696":{"kind":"REWORK","_number":1,"created":"2026-11-26 09:59:17.000000000","uploader":{"_account_id":1000072,"name":"Farshid Rezaiyan","display_name":"farshixpg","email":"farshidrezaiyan@gmail.com","username":"farshidpg","status":"Developer"},"ref":"refs/changes/50/2350/1","fetch":{"anonymous http":{"url":"https://gerrit.openvpn.net/openvpn","ref":"refs/changes/50/2350/1","commands":{"Branch":"git fetch https://gerrit.openvpn.net/openvpn refs/changes/50/2350/1 \u0026\u0026 git checkout -b change-2350 FETCH_HEAD","Checkout":"git fetch https://gerrit.openvpn.net/openvpn refs/changes/50/2350/1 \u0026\u0026 git checkout FETCH_HEAD","Cherry Pick":"git fetch https://gerrit.openvpn.net/openvpn refs/changes/50/2350/1 \u0026\u0026 git cherry-pick FETCH_HEAD","Format Patch":"git fetch https://gerrit.openvpn.net/openvpn refs/changes/50/2350/1 \u0026\u0026 git format-patch -1 --stdout FETCH_HEAD","Pull":"git pull https://gerrit.openvpn.net/openvpn refs/changes/50/2350/1","Reset To":"git fetch https://gerrit.openvpn.net/openvpn refs/changes/50/2350/1 \u0026\u0026 git reset --hard FETCH_HEAD"}}},"commit":{"parents":[{"commit":"cd485998d2357c8ce48f7a2302f82176f336510e","subject":"comp: drop compression on send leftovers"}],"author":{"name":"Farshid Rezaiyan","email":"farshidrezaiyan@gmail.com","date":"2026-11-25 20:26:59.000000000","tz":210},"committer":{"name":"Farshid Rezaiyan","email":"farshidrezaiyan@gmail.com","date":"2026-11-26 09:55:51.000000000","tz":210},"subject":"multi: call client-disconnect handlers when late client setup fails","message":"multi: call client-disconnect handlers when late client setup fails\n\nmulti_client_connect_late_setup() is only reached after all\nclient-connect handlers (scripts and plugins) have succeeded. It sets\nthe state to CAS_CONNECT_DONE and then downgrades it to CAS_FAILED if\nsetting the protocol options, adding the DCO peer or generating the\ndata channel keys fails.\n\nmulti_close_instance() only calls the client-disconnect handlers for\ninstances in state CAS_CONNECT_DONE, so for such a client the\nclient-connect handlers have run but client-disconnect never does.\nAnything that pairs the two calls gets out of sync. For example, a\nRADIUS accounting plugin that sends Accounting-Start on connect and\nAccounting-Stop on disconnect keeps the session open forever.\n\nThis is easy to hit with DCO on Linux and TCP: if the client closes\nthe TCP connection while a client-connect handler is running, the\nkernel refuses to attach the socket (\"provided TCP socket is not in\nESTABLISHED state\") and dco_multi_add_new_peer() fails.\n\nRemember in the new did_client_connect flag that a client-connect\nplugin or script was called with success. This is the case if one is\ndefined, because multi_client_connect_late_setup() is only reached\nwhen all client-connect handlers have succeeded.\nmulti_close_instance() then also calls the disconnect handlers for an\ninstance in CAS_FAILED that has this flag set. So they run on instance\nshutdown and exactly once, as for any other client, and only after a\nsuccessful client-connect.\n\nGitHub: closes OpenVPN/openvpn#1155\nChange-Id: Ic667de6f830fa86e2842f1da2820e1250b9d6054\nSigned-off-by: Farshid Rezaiyan \u003cfarshidrezaiyan@gmail.com\u003e\n"},"branch":"refs/heads/master"}},"requirements":[{"status":"NOT_READY","fallback_text":"All required checks must pass","type":"checks_pass"}],"submit_records":[{"rule_name":"gerrit~DefaultSubmitRule","status":"OK","labels":[{"label":"Code-Review","status":"OK","applied_by":{"_account_id":1000041,"name":"Ralf Lici","display_name":"Ralf Lici","email":"ralf@mandelbit.com","username":"ralf_lici"}},{"label":"Build-Request","status":"MAY"}]},{"rule_name":"checks~ChecksSubmitRule","status":"NOT_READY","requirements":[{"status":"NOT_READY","fallback_text":"All required checks must pass","type":"checks_pass"}]}]}
