IBM Support

PH59612: DFHPI0002 EXCEPTION HTTP HEADER_TOO_LONG

A fix is available

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • The following message occurred:
    DFHPI0002 xxxxxxxx A severe error (code X'0507') has occurred in
    module DFHPITH.
                                                                   .
    CICS internal trace indicated an exception 'HEADER_TOO_LONG'.
    The container to hold the header is x'1000' bytes and the header
    was longer than this and got truncated.
                                                                   .
    xxxxx QR    AP 4820 CV64  ENTRY CONVERT_DATA..
    xxxxx QR    AP 4821 CV64  EXIT  CONVERT_DATA/EXCEPTION
                                    TARGET_BUFFER_EXHAUSTED,..
    xxxxx QR    PG 1901 PGCR  EXIT  GET_CONTAINER_INTO/EXCEPTION
                                    MORE_DATA,..
                                                                   .
    xxxxx QR    WB 0701 WBCL  EXIT  READ_RESPONSE/EXCEPTION
                                    HEADER_TOO_LONG..
    xxxxx QR    PI 0507 PITH  *EXC* WB_CLIENT_SUPPORT_FAILURE
                                                                   .
    Additional keywords: http request header limit 4k, x'1000'.
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED: All CICS users.                              *
    ****************************************************************
    * PROBLEM DESCRIPTION: HTTP response with header length larger *
    *                      than 4k returns HEADER_TOO_LONG         *
    *                      exception.                              *
    ****************************************************************
    The limit of 4K was enforced to avoid any rogue 4K HTTP header
    response to consume lots of storage. If a HTTP response with
    header length larger than 4k was to be received then EIBRESP=16
    and EIBRESP2=157 was returned indicating an exception
    HEADER_TOO_LONG.
    However, it may cause the truncation of header response and
    further processing may produce message DFHPI0002 xxxxxxxx A
    severe error (code X'0507') in module DFHPITH.
    

Problem conclusion

  • The HTTP response length has been increased from 4K to 16K. Now,
    if more than 16k of headers is received then it fails with the
    existing EIBRESP=16 and EIBRESP2=157.
    
    Document for EXEC CICS WEB RECEIVE (Client) and EXEC CICS WEB
    CONVERSE will be changed to indicate 16k limit.
    
    The new description for RESP16, RESP2 157 will be
    
    The HTTP headers in the response are longer than 16k, and CICS
    is unable to process this HTTP response. The session is
    unusable, and a WEB CLOSE command is required.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PH59612

  • Reported component name

    CICS TS Z/OS V6

  • Reported component ID

    5655YA100

  • Reported release

    400

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2024-02-05

  • Closed date

    2024-12-20

  • Last modified date

    2025-01-02

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

    PH59083

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

    UI99501 UI99502

Modules/Macros

  • DFHWBCL
    

Fix information

  • Fixed component name

    CICS TS Z/OS V6

  • Fixed component ID

    5655YA100

Applicable component levels

  • R400 PSY UI99502

       UP25/01/02 P F412

  • R500 PSY UI99501

       UP25/01/02 P F412

Fix is available

  • Select the PTF appropriate for your component level. You will be required to sign in. Distribution on physical media is not available in all countries.

[{"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"SSGMGV","label":"CICS Transaction Server"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"6.1","Line of Business":{"code":"LOB70","label":"Z TPS"}}]

Document Information

Modified date:
02 January 2025