view mod_pubsub_forgejo/webhook-examples/pull_request_comment/headers @ 6514:668b1f0a4dc6

mod_c2s_limit_sessions: Fix check when it's the first connection Creation of the sessions[username] entry happens after the "pre-resource-bind" event, before the "resource-bind" event. Thus, for a users first connection, it may not exist. This led to an 'attempt to index a nil value' error, fixed here.
author Kim Alvefur <zash@zash.se>
date Wed, 08 Apr 2026 15:56:38 +0200
parents 131b8bfbefb4
children
line wrap: on
line source

Content-Type: application/json
X-Forgejo-Delivery: 99fb308a-ed68-46d7-a8b5-4bf935ae294f
X-Forgejo-Event: issue_comment
X-Forgejo-Event-Type: pull_request_comment
X-Forgejo-Signature: 5fc374c851a20a0e18b65d32d9901c5f962cce950452cebc81bb5d6b0c023123
X-GitHub-Delivery: 99fb308a-ed68-46d7-a8b5-4bf935ae294f
X-GitHub-Event: issue_comment
X-GitHub-Event-Type: pull_request_comment
X-Gitea-Delivery: 99fb308a-ed68-46d7-a8b5-4bf935ae294f
X-Gitea-Event: issue_comment
X-Gitea-Event-Type: pull_request_comment
X-Gitea-Signature: 5fc374c851a20a0e18b65d32d9901c5f962cce950452cebc81bb5d6b0c023123
X-Gogs-Delivery: 99fb308a-ed68-46d7-a8b5-4bf935ae294f
X-Gogs-Event: issue_comment
X-Gogs-Event-Type: pull_request_comment
X-Gogs-Signature: 5fc374c851a20a0e18b65d32d9901c5f962cce950452cebc81bb5d6b0c023123
X-Hub-Signature: sha1=ea62c579c31ae99001c1e9b769d4a71e4dbc4b7f
X-Hub-Signature-256: sha256=5fc374c851a20a0e18b65d32d9901c5f962cce950452cebc81bb5d6b0c023123