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

SseEventSource doens't take retry-after from 503 response and reconnectDelay from inboundEvent as one time setting value

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 3.5.1.Final, 4.0.0.Beta3
    • 4.0.0.Beta2, 3.5.0.Final
    • jaxrs
    • None

      jaxrs api says:

      • In addition to handling the standard connection loss failures, SseEventSource automatically deals with any HTTP 503 Service Unavailable responses from an SSE endpoint, that contains retry-after HTTP header with a valid value. SSE event source will automatically schedule a new reconnect attempt and use the received RETRY_AFTER HTTP header value as a one-time override of the reconnect delay.

      When receive gets an inbound sse event with a valid reconnectDelay value, it should be used as one time override of the SseEventSource reconnect delay too.

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

              Created:
              Updated:
              Resolved: