)]}'
{"id":"openvpn~2064","triplet_id":"openvpn~master~Iad51b2f31e4215c58e160cc6239836015ea4d3cf","project":"openvpn","branch":"master","full_branch":"refs/heads/master","attention_set":{},"removed_from_attention_set":{"1000053":{"account":{"_account_id":1000053,"name":"Răzvan Cojocaru","display_name":"Razvan Cojocaru","email":"razvanc@mailbox.org","username":"razvanc"},"last_update":"2026-10-28 18:42:57.000000000","reason":"removed on reply"},"1000003":{"account":{"_account_id":1000003,"name":"Arne Schwabe","display_name":"Arne Schwabe","email":"arne-openvpn@rfc2549.org","username":"plaisthos"},"last_update":"2026-10-31 18:21:41.000000000","reason":"Change was submitted"}},"hashtags":[],"change_id":"Iad51b2f31e4215c58e160cc6239836015ea4d3cf","subject":"Track number of assigned peer ids and use it for max-clients check","status":"MERGED","created":"2026-10-28 16:12:11.000000000","updated":"2026-10-31 18:21:41.000000000","submitted":"2026-10-31 18:21:41.000000000","submitter":{"_account_id":1000002,"name":"Gert Doering","display_name":"Gert Doering","email":"gert@greenie.muc.de","username":"cron2"},"total_comment_count":4,"unresolved_comment_count":0,"has_review_started":true,"submission_id":"2064","meta_rev_id":"84ab4563ba43f77e5b0b2f9dd040a2aab743843f","_number":2064,"virtual_id_number":2064,"owner":{"_account_id":1000003,"name":"Arne Schwabe","display_name":"Arne Schwabe","email":"arne-openvpn@rfc2549.org","username":"plaisthos"},"actions":{},"labels":{"Code-Review":{"all":[{"value":0,"_account_id":1000053,"name":"Răzvan Cojocaru","display_name":"Razvan Cojocaru","email":"razvanc@mailbox.org","username":"razvanc"},{"value":0,"_account_id":1000002,"name":"Gert Doering","display_name":"Gert Doering","email":"gert@greenie.muc.de","username":"cron2"}],"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"},"description":"","default_value":0}},"removable_reviewers":[],"reviewers":{"REVIEWER":[{"_account_id":1000053,"name":"Răzvan Cojocaru","display_name":"Razvan Cojocaru","email":"razvanc@mailbox.org","username":"razvanc"}],"CC":[{"_account_id":1000026,"name":"openvpn-devel","email":"openvpn-devel@lists.sourceforge.net","username":"openvpn-devel"}]},"pending_reviewers":{},"reviewer_updates":[{"updated":"2026-10-28 16:12:12.000000000","updated_by":{"_account_id":1000003,"name":"Arne Schwabe","display_name":"Arne Schwabe","email":"arne-openvpn@rfc2549.org","username":"plaisthos"},"real_updated_by":{"_account_id":1000003,"name":"Arne Schwabe","display_name":"Arne Schwabe","email":"arne-openvpn@rfc2549.org","username":"plaisthos"},"reviewer":{"_account_id":1000026,"name":"openvpn-devel","email":"openvpn-devel@lists.sourceforge.net","username":"openvpn-devel"},"state":"CC"},{"updated":"2026-10-28 16:18:19.000000000","updated_by":{"_account_id":1000053,"name":"Răzvan Cojocaru","display_name":"Razvan Cojocaru","email":"razvanc@mailbox.org","username":"razvanc"},"real_updated_by":{"_account_id":1000053,"name":"Răzvan Cojocaru","display_name":"Razvan Cojocaru","email":"razvanc@mailbox.org","username":"razvanc"},"reviewer":{"_account_id":1000053,"name":"Răzvan Cojocaru","display_name":"Razvan Cojocaru","email":"razvanc@mailbox.org","username":"razvanc"},"state":"REVIEWER"}],"messages":[{"id":"b2bc40847d6e0de6cf7a68eec86902bdcc5a5016","tag":"autogenerated:gerrit:newPatchSet","author":{"_account_id":1000003,"name":"Arne Schwabe","display_name":"Arne Schwabe","email":"arne-openvpn@rfc2549.org","username":"plaisthos"},"date":"2026-10-28 16:12:11.000000000","message":"Uploaded patch set 1.","accounts_in_message":[],"_revision_number":1},{"id":"e8575bef2e6dd89bf96b0db421e9682e83c7304a","author":{"_account_id":1000053,"name":"Răzvan Cojocaru","display_name":"Razvan Cojocaru","email":"razvanc@mailbox.org","username":"razvanc"},"date":"2026-10-28 16:18:19.000000000","message":"Patch Set 1: Code-Review+2\n\n(2 comments)","accounts_in_message":[],"_revision_number":1},{"id":"0ff81c43346ed25bfb4fee1a3027e4c8734e9abd","author":{"_account_id":1000003,"name":"Arne Schwabe","display_name":"Arne Schwabe","email":"arne-openvpn@rfc2549.org","username":"plaisthos"},"date":"2026-10-28 18:29:55.000000000","message":"Patch Set 1:\n\n(2 comments)","accounts_in_message":[],"_revision_number":1},{"id":"80c65695bdca89add59cf0de4c950fd436e500b6","tag":"autogenerated:gerrit:newPatchSet","author":{"_account_id":1000003,"name":"Arne Schwabe","display_name":"Arne Schwabe","email":"arne-openvpn@rfc2549.org","username":"plaisthos"},"date":"2026-10-28 18:30:15.000000000","message":"Uploaded patch set 2: Commit message was updated.\n\nOutdated Votes:\n* Code-Review+2 (copy condition: \"changekind:NO_CHANGE OR changekind:TRIVIAL_REBASE OR is:MIN\")\n","accounts_in_message":[],"_revision_number":2},{"id":"c8d5f244674c34ff12613f576a085acb182c1093","author":{"_account_id":1000053,"name":"Răzvan Cojocaru","display_name":"Razvan Cojocaru","email":"razvanc@mailbox.org","username":"razvanc"},"date":"2026-10-28 18:42:57.000000000","message":"Patch Set 2: Code-Review+2","accounts_in_message":[],"_revision_number":2},{"id":"84ab4563ba43f77e5b0b2f9dd040a2aab743843f","tag":"autogenerated:gerrit:merged","author":{"_account_id":1000002,"name":"Gert Doering","display_name":"Gert Doering","email":"gert@greenie.muc.de","username":"cron2"},"date":"2026-10-31 18:21:41.000000000","message":"Change has been successfully pushed.","accounts_in_message":[],"_revision_number":3}],"current_revision_number":3,"current_revision":"b0b574c229bb0f4e68b909abda4ce63bf4ce293b","revisions":{"f332dfdec52be14670fd45c63c66ea0d9f1e19c0":{"kind":"REWORK","_number":1,"created":"2026-10-28 16:12:11.000000000","uploader":{"_account_id":1000003,"name":"Arne Schwabe","display_name":"Arne Schwabe","email":"arne-openvpn@rfc2549.org","username":"plaisthos"},"ref":"refs/changes/64/2064/1","fetch":{"anonymous http":{"url":"https://gerrit.openvpn.net/openvpn","ref":"refs/changes/64/2064/1","commands":{"Branch":"git fetch https://gerrit.openvpn.net/openvpn refs/changes/64/2064/1 \u0026\u0026 git checkout -b change-2064 FETCH_HEAD","Checkout":"git fetch https://gerrit.openvpn.net/openvpn refs/changes/64/2064/1 \u0026\u0026 git checkout FETCH_HEAD","Cherry Pick":"git fetch https://gerrit.openvpn.net/openvpn refs/changes/64/2064/1 \u0026\u0026 git cherry-pick FETCH_HEAD","Format Patch":"git fetch https://gerrit.openvpn.net/openvpn refs/changes/64/2064/1 \u0026\u0026 git format-patch -1 --stdout FETCH_HEAD","Pull":"git pull https://gerrit.openvpn.net/openvpn refs/changes/64/2064/1","Reset To":"git fetch https://gerrit.openvpn.net/openvpn refs/changes/64/2064/1 \u0026\u0026 git reset --hard FETCH_HEAD"}}},"commit":{"parents":[{"commit":"54a66f355ace8e89b25ed9e85c659d290eb700d2","subject":"run-cppcheck.sh: Make CPPCHECK_CHECK_LEVEL\u003dnormal the default"}],"author":{"name":"Arne Schwabe","email":"arne@rfc2549.org","date":"2026-10-28 16:06:55.000000000","tz":60},"committer":{"name":"Arne Schwabe","email":"arne@rfc2549.org","date":"2026-10-28 16:11:45.000000000","tz":60},"subject":"Track number of assigned peer ids and use it for max-clients check","message":"Track number of assigned peer ids and use it for max-clients check\n\nIn the past we used the real address hash as proxy for the number\nof connected clients. TCP connections do not really need\nthis and we might remove adding them to this hash in the future and\nUDP connections only really this later in the connection establishment\nand then only for peers that are of capable of DATA_V2.\n\nInstead have a simple counter that is kept up to date when a peer id\nis assigned and freed. This also allows this to be decoupled from\nthe real addresses hash.\n\nReported-by: Ar-maan05 https://github.com/OpenVPN/openvpn/issues/1127\nGithub: Closes OpenVPN/openvpn#1127\nChange-Id: Iad51b2f31e4215c58e160cc6239836015ea4d3cf\nSigned-off-by: Arne Schwabe \u003carne@rfc2549.org\u003e\n"},"branch":"refs/heads/master"},"77f133502273c61ab3be90774f23d3ab9f03b754":{"kind":"NO_CODE_CHANGE","_number":2,"created":"2026-10-28 18:30:15.000000000","uploader":{"_account_id":1000003,"name":"Arne Schwabe","display_name":"Arne Schwabe","email":"arne-openvpn@rfc2549.org","username":"plaisthos"},"ref":"refs/changes/64/2064/2","fetch":{"anonymous http":{"url":"https://gerrit.openvpn.net/openvpn","ref":"refs/changes/64/2064/2","commands":{"Branch":"git fetch https://gerrit.openvpn.net/openvpn refs/changes/64/2064/2 \u0026\u0026 git checkout -b change-2064 FETCH_HEAD","Checkout":"git fetch https://gerrit.openvpn.net/openvpn refs/changes/64/2064/2 \u0026\u0026 git checkout FETCH_HEAD","Cherry Pick":"git fetch https://gerrit.openvpn.net/openvpn refs/changes/64/2064/2 \u0026\u0026 git cherry-pick FETCH_HEAD","Format Patch":"git fetch https://gerrit.openvpn.net/openvpn refs/changes/64/2064/2 \u0026\u0026 git format-patch -1 --stdout FETCH_HEAD","Pull":"git pull https://gerrit.openvpn.net/openvpn refs/changes/64/2064/2","Reset To":"git fetch https://gerrit.openvpn.net/openvpn refs/changes/64/2064/2 \u0026\u0026 git reset --hard FETCH_HEAD"}}},"commit":{"parents":[{"commit":"54a66f355ace8e89b25ed9e85c659d290eb700d2","subject":"run-cppcheck.sh: Make CPPCHECK_CHECK_LEVEL\u003dnormal the default"}],"author":{"name":"Arne Schwabe","email":"arne@rfc2549.org","date":"2026-10-28 16:06:55.000000000","tz":60},"committer":{"name":"Arne Schwabe","email":"arne@rfc2549.org","date":"2026-10-28 18:28:08.000000000","tz":60},"subject":"Track number of assigned peer ids and use it for max-clients check","message":"Track number of assigned peer ids and use it for max-clients check\n\nIn the past we used the real address hash as proxy for the number\nof connected clients. TCP connections do not really need\nthis and we might remove adding them to this hash map in the future.\nUDP connections only need to be added to this hash map in a later stage\nof the connection process and then only for peers that do not support\nDATA_V2.\n\nInstead have a simple counter that is kept up to date when a peer id\nis assigned and freed. This also allows this to be decoupled from\nthe real addresses hash.\n\nReported-by: Ar-maan05 https://github.com/OpenVPN/openvpn/issues/1127\nGithub: Closes OpenVPN/openvpn#1127\nChange-Id: Iad51b2f31e4215c58e160cc6239836015ea4d3cf\nSigned-off-by: Arne Schwabe \u003carne@rfc2549.org\u003e\n"},"branch":"refs/heads/master"},"b0b574c229bb0f4e68b909abda4ce63bf4ce293b":{"kind":"TRIVIAL_REBASE_WITH_MESSAGE_UPDATE","_number":3,"created":"2026-10-31 18:21:41.000000000","uploader":{"_account_id":1000002,"name":"Gert Doering","display_name":"Gert Doering","email":"gert@greenie.muc.de","username":"cron2"},"ref":"refs/changes/64/2064/3","fetch":{"anonymous http":{"url":"https://gerrit.openvpn.net/openvpn","ref":"refs/changes/64/2064/3","commands":{"Branch":"git fetch https://gerrit.openvpn.net/openvpn refs/changes/64/2064/3 \u0026\u0026 git checkout -b change-2064 FETCH_HEAD","Checkout":"git fetch https://gerrit.openvpn.net/openvpn refs/changes/64/2064/3 \u0026\u0026 git checkout FETCH_HEAD","Cherry Pick":"git fetch https://gerrit.openvpn.net/openvpn refs/changes/64/2064/3 \u0026\u0026 git cherry-pick FETCH_HEAD","Format Patch":"git fetch https://gerrit.openvpn.net/openvpn refs/changes/64/2064/3 \u0026\u0026 git format-patch -1 --stdout FETCH_HEAD","Pull":"git pull https://gerrit.openvpn.net/openvpn refs/changes/64/2064/3","Reset To":"git fetch https://gerrit.openvpn.net/openvpn refs/changes/64/2064/3 \u0026\u0026 git reset --hard FETCH_HEAD"}}},"commit":{"parents":[{"commit":"0975c6e707fe742aaddf02049d70942bb04676a0","subject":"Fix numbering of examples in management-notes.txt"}],"author":{"name":"Arne Schwabe","email":"arne@rfc2549.org","date":"2026-10-28 20:28:32.000000000","tz":60},"committer":{"name":"Gert Doering","email":"gert@greenie.muc.de","date":"2026-10-31 16:28:07.000000000","tz":60},"subject":"Track number of assigned peer ids and use it for max-clients check","message":"Track number of assigned peer ids and use it for max-clients check\n\nIn the past we used the real address hash as proxy for the number\nof connected clients. TCP connections do not really need\nthis and we might remove adding them to this hash map in the future.\nUDP connections only need to be added to this hash map in a later stage\nof the connection process and then only for peers that do not support\nDATA_V2.\n\nInstead have a simple counter that is kept up to date when a peer id\nis assigned and freed. This also allows this to be decoupled from\nthe real addresses hash.\n\nReported-by: Ar-maan05 https://github.com/OpenVPN/openvpn/issues/1127\nGithub: Closes OpenVPN/openvpn#1127\nChange-Id: Iad51b2f31e4215c58e160cc6239836015ea4d3cf\nSigned-off-by: Arne Schwabe \u003carne@rfc2549.org\u003e\nAcked-by: Razvan Cojocaru \u003crazvanc@mailbox.org\u003e\nGerrit URL: https://gerrit.openvpn.net/c/openvpn/+/2064\nMessage-Id: \u003c20261028202838.14796-1-gert@greenie.muc.de\u003e\nURL: https://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg40261.html\nSigned-off-by: Gert Doering \u003cgert@greenie.muc.de\u003e\n"},"branch":"refs/heads/master"}},"requirements":[],"submit_records":[]}
