Uploaded image for project: 'RESTEasy'
  1. RESTEasy
  2. RESTEASY-2733

SseEventInputImpl wrongly split the event from stream

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • 3.14.0.Final, 4.6.0.Final
    • 4.5.8.Final
    • jaxrs
    • None
    • Undefined

    Description

      SseEventInputImpl reads the stream below to one event instead of 3 events:
      --------------------------------------------------------------
      HTTP/1.1 200 OK
      Date: Tue, 13 Oct 2020 09:36:12 GMT
      Content-Type: text/event-stream; charset=UTF-8
      Connection: close
      Server: Jetty(9.2.28.v20190418)

      data: foo

      data: bar

      data: baz
       
      ----------------------------------------------------------------

      Attachments

        Issue Links

          Activity

            People

              rhn-engineering-ema Jim Ma
              rhn-engineering-ema Jim Ma
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: