IBM Support

IT28900: ADD CODE TO PUT A MAX LIMIT ON HOW MANY WSAEWOULDBLOCK ERROR

Subscribe to this APAR

By subscribing, you receive periodic emails alerting you to the status of the APAR, along with a link to the fix after it becomes available. You can track this item individually or track all items by product.

Notify me when this APAR changes.

Notify me when an APAR for this component changes.

 

APAR status

  • Closed as program error.

Error description

  • Add code to put a max limit on how many WSAEWOULDBLOCK
    errors are allowed before exiting the POP3 comm session
    

Local fix

  •      Add code to put a max limit on how many WSAEWOULDBLOCK
    errors are allowed before exiting the POP3 comm session
    

Problem summary

  • PROBLEM DESCRIPTION:  A comm receive session intermittently
    hangs when opening a POP3 session due to the recv socket API
    call returning a
    WSAEWOULDBLOCK error every time its retried in this session.
    Need to add a max limit on the number of retries allowed before
    aborting the
    POP3 session.
    
    USERS AFFECTED: Any user doing a POP3 comm receive session.
    

Problem conclusion

  • FIX DESCRIPTION:  Added code to limit how many times recv can
    return a WSAEWOULDBLOCK error before having ReadString function
    return a
    WSAETIMEDOUT error which errors the comm session.  This retry
    limit value is read in at the start of each comm receive session
    from this
    new registry setting:
    
    Key: HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Sterling
    Commerce\Commerce:Connection
    Value Name: RecvSocketRetryLimit
    Value: any number greater than 0 (0 = no retry limit)
    
    If this registry setting is not found, it will create this
    registry value and set it to 0 (off).  Users can change this
    value in between comm
    sessions.
    

Temporary fix

Comments

APAR Information

  • APAR number

    IT28900

  • Reported component name

    STR GENTRAN DIR

  • Reported component ID

    5725D0800

  • Reported release

    550

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2019-04-26

  • Closed date

    2019-07-13

  • Last modified date

    2019-07-13

  • APAR is sysrouted FROM one or more of the following:

  • APAR is sysrouted TO one or more of the following:

Fix information

  • Fixed component name

    STR GENTRAN DIR

  • Fixed component ID

    5725D0800

Applicable component levels

[{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SS6UP7","label":"Sterling Gentran:Director"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"5.5","Edition":"","Line of Business":{"code":"LOB02","label":"AI Applications"}}]

Document Information

Modified date:
13 July 2019