Uploaded image for project: 'Qpid Proton'
  1. Qpid Proton
  2. PROTON-852

Implement pn_getaddrinfo,pn_getprotobyname for platforms that not support getaddrinfo(),getprotobyname()

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Open
    • Major
    • Resolution: Unresolved
    • proton-0.9, proton-0.9.1, proton-0.10
    • None
    • proton-c
    • uclinux m68k
    • Patch

    Description

      We are using proton-c on a small ebedded system based on uclinux/uclibc.c On this platform several required functions ex getaddrinfo(), getprotobyname() are not implemented.We added support for this type of platform by wraping with pn_getaddrinfo,pn_getprotobyname. Relevant pn_freeaddrinfo is also introduced. If GETADDRINFO_NOT_IMPL flag is not present, native implementation is called. Changes apply for posix versions that use old lib.c Specifically in some embedded versions "get host" is not present(ip address is used instead).

      Attachments

        1. proton-c-GETADDRINFO.patch
          11 kB
          Tomasz Nowicki

        Activity

          People

            astitcher Andrew Stitcher
            tnowicki Tomasz Nowicki
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated: