Bug 70112 - REGRESSION (r94242): EventSource should not try to reconnect if connection establishment fails
Summary: REGRESSION (r94242): EventSource should not try to reconnect if connection es...
Status: RESOLVED WONTFIX
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebCore Misc. (show other bugs)
Version: 528+ (Nightly build)
Hardware: All All
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on: 61862
Blocks:
  Show dependency treegraph
 
Reported: 2011-10-14 09:33 PDT by Per-Erik Brodin
Modified: 2012-12-18 14:24 PST (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Per-Erik Brodin 2011-10-14 09:33:42 PDT
According to the specification, EventSource should not try to reconnect if it fails to establish the connection in the first place.
"any network error that prevents the HTTP connection from being established in the first place (e.g. DNS errors), must cause the user agent to fail the connection"
Comment 1 Ian 'Hixie' Hickson 2011-10-14 12:15:57 PDT
(The idea being to avoid hammering an already suffering network.)
Comment 2 Per-Erik Brodin 2011-10-17 12:24:22 PDT
More easily tested with CORS support.
Comment 3 Per-Erik Brodin 2012-12-18 14:04:32 PST
Since the spec changed, this regression is now compliant!
Comment 4 Alexey Proskuryakov 2012-12-18 14:24:43 PST
I'm confused. Is it now OK to keep hitting the server indefinitely, wasting bandwidth? This seems like horrible behavior if so.