Skip to content
Snippets Groups Projects
  1. Oct 27, 2022
  2. Sep 25, 2022
  3. Sep 08, 2022
  4. Sep 07, 2022
  5. Sep 06, 2022
  6. Sep 03, 2022
    • Andrew Johnson's avatar
      Oops: Fix to RULES_MODULES · 098ee6c0
      Andrew Johnson authored
      098ee6c0
    • Andrew Johnson's avatar
      Fix for GitHub issue #293 · 54c02e2c
      Andrew Johnson authored
      Ensure local build targets are up to date before running tests.
      54c02e2c
    • Andrew Johnson's avatar
      Build system fixes related to INSTALL_LOCATION · efc7cbaf
      Andrew Johnson authored
      * The build can't descend into external submodules when there is no
      configure/RULES_TOP file present in $(INSTALL_LOCATION).
      * Recreate modules/RELEASE.<host>.local if configure/CONFIG_SITE or
      configure/CONFIG_SITE.local have changed.
      * Move the distclean of modules/RELEASE.<host>.local to RULES_TOP
      * Several comment and white-space changes
      efc7cbaf
    • Andrew Johnson's avatar
    • Torsten Bögershausen's avatar
      iocinf.cpp: Hostnames may be longer than 32 bytes · a8e8d22c
      Torsten Bögershausen authored
      Found here at ESS:
      
      (all in one line)
      EPICS_CA_ADDR_LIST=averylonghostname.mylabnetwork.technicalnetwork.example.com
      EPICS_CA_AUTO_ADDR_LIST=NO
      caget somePVnam
      
      leads to something like this:
      CA.Client.Exception...............................................
          Warning: "Empty PV search address list"
          Source File: ../udpiiu.cpp line 403
          Current Time: Thu Jun 09 2022 10:10:47.804161447
      
      Problem desription:
      addAddrToChannelAccessAddressList() will collect what ever we specify in
      EPICS_CA_ADDR_LIST for channel access.
      That function will add IP-addresses to the search list.
      hostnames are possible, but are ignored if longer than 32 bytes,
      because buf is too short.
      
      If a hostname can be resolved into an IP, that is fine,
      if not that is "fine as well" (better say: silently ignored):
      If, and only if, EPICS_CA_AUTO_ADDR_LIST=NO is given then the one
      and only too long hostname will be ignored and lead to an
      "Empty PV search address list".
      
      If EPICS_CA_AUTO_ADDR_LIST=YES (or nothing) is specified, the search list
      is not empty, and EPICS will search all broadcast addresses.
      This will eventually lead into a timout.
      
      Solution:
      Increase the buf size in addAddrToChannelAccessAddressList() from 32 to 256
      
      The maximum length for a hostname is 255:
      https://www.ietf.org/rfc/rfc1034.txt
      
      If we add one byte for the string terminating '\0', we need 256 bytes.
      
      And yes, this patch neglets the fact that a user can specify HOSTNAME:PORT,
      which may need another 6 bytes. To put it the other way around:
      In this case the hostname length is limited to 250 bytes,
      which is still long enough in practice.
      a8e8d22c
  7. Sep 02, 2022
  8. Aug 30, 2022
  9. Aug 26, 2022
  10. Aug 23, 2022
Loading