Skip to content

Too large webhook's response (>65K response) causes the webhook to be sent indefinitely #3561

Closed
@juanpablo-santos

Description

@juanpablo-santos
  • Gitea version (or commit ref): 1.3.2
  • Git version: 2.14
  • Operating system: Gitea Docker image
  • Database (use [x]):
    • PostgreSQL
    • MySQL
    • MSSQL
    • SQLite
  • Can you reproduce the bug at https://try.gitea.io:
    • Yes (provide example URL)
    • No
    • Not relevant (don't know if it is using mysql)
  • Log gist:

Description

For background see jenkinsci/generic-webhook-trigger-plugin#42, but basically when a webhook's response is too big to not fit into hook_task.response_content (>65K response for MySQL), the webhook is fired, but it doesn't get updated (is_released, is_succeed and released remain at 0. Haven't tried to see what happens when there is too much information too on the request_content or the payload_content (e.g. a push webhook with way too many commits)

Metadata

Metadata

Assignees

No one assigned

    Labels

    issue/confirmedIssue has been reviewed and confirmed to be present or accepted to be implementedtype/enhancementAn improvement of existing functionality

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions