Uploaded image for project: 'Traffic Server'
  1. Traffic Server
  2. TS-3766

Ignore unknown frame in debugging

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 6.0.0
    • HTTP/2

    Description

      When ATS with --enable-debug recieve a frame which has unknown frame type in HTTP/2 stream, ATS aborts.
      ATS should just discard unknown frame.

      FATAL: Http2ConnectionState.cc:643: failed assert `frame->header().type < HTTP2_FRAME_TYPE_MAX`
      traffic_server: Aborted (Signal sent by tkill() 1 99)traffic_server - STACK TRACE:
      /opt/ats/bin/traffic_server(_Z19crash_logger_invokeiP7siginfoPv+0xc3)[0x4fc831]
      /lib64/libpthread.so.0(+0xf710)[0x7f00d1762710]
      /lib64/libc.so.6(gsignal+0x35)[0x7f00cfe79625]
      /lib64/libc.so.6(abort+0x175)[0x7f00cfe7ae05]
      /opt/ats/lib/libtsutil.so.6(_Z12ink_fatal_vaPKcP13__va_list_tag+0x0)[0x7f00d253e839]
      /opt/ats/lib/libtsutil.so.6(_Z9ink_fatalPKcz+0x0)[0x7f00d253e8f0]
      /opt/ats/lib/libtsutil.so.6(_Z10ink_pfatalPKcz+0x0)[0x7f00d253e9b5]
      /opt/ats/lib/libtsutil.so.6(+0x3a54a)[0x7f00d253c54a]
      /opt/ats/bin/traffic_server(_ZN20Http2ConnectionState18main_event_handlerEiPv+0x2f2)[0x5d8a18]
      /opt/ats/bin/traffic_server(_ZN12Continuation11handleEventEiPv+0x6c)[0x4ffaae]
      

      Attachments

        1. ts-3766.patch
          0.9 kB
          Masaori Koshiba

        Activity

          People

            zwoop Leif Hedstrom
            masaori Masaori Koshiba
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: