Uploaded image for project: 'Bitbucket Data Center'
  1. Bitbucket Data Center
  2. BSERV-8851

Post-receive hooks should support IPv6 environment

XMLWordPrintable

    • Icon: Suggestion Suggestion
    • Resolution: Duplicate
    • None
    • None
    • None
    • We collect Bitbucket feedback from various sources, and we evaluate what we've collected when planning our product roadmap. To understand how this piece of feedback will be reviewed, see our Implementation of New Features Policy.

      Please allow to specify STASH_HOOK_ADDRESS via bitbucket.properties file or via environment variable. How it call ServerSocket to get local host address. And if it return IPv6 address Perl hook fail on line:

      my $socket = new IO::Socket::INET
      

      It should be replaced to:

      my $socket = new IO::Socket::INET6
      

      (also added use IO::Socket::INET6; at top of hook-callback.pl)

      The trouble is in that this file autogenerated on each bitbucket restart, and you should make changed after each restart.

            Unassigned Unassigned
            3652ed9ede2e Alexey Efimov
            Votes:
            1 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: