W3C home > Mailing lists > Public > whatwg@whatwg.org > October 2008

[whatwg] HTML5 - Server-Sent Events Implementation for Mozilla

From: Ian Hickson <ian@hixie.ch>
Date: Fri, 10 Oct 2008 19:03:12 +0000 (UTC)
Message-ID: <Pine.LNX.4.62.0810101902030.1041@hixie.dreamhostps.com>
On Fri, 10 Oct 2008, Wellington Fernando de Macedo wrote:
> 
> Some questions has been raised since the comment #75 
> (https://bugzilla.mozilla.org/show_bug.cgi?id=338583#c75). We would like 
> to know what exactly mean "cause the user agent to stop trying to 
> process this event source". The current patch, as it is, stop fetching 
> the eventsources' URI until the browser is closed when it gets DNS 
> errors, wrong content type and invalid http response codes.  However 
> Boris Zbarsky thinks there is no reason to prohibit all future 2xx 
> codes. Also, he thinks that preventing all future requests makes no 
> sense, because transient errors can occur. Can you help us, please?

It just means "do nothing" (including not automatically retrying). If the 
event source is reregistered, then it should go through the same process 
again; the error response doesn't block that URL for all time.

I'll clarify the spec.

-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'
Received on Friday, 10 October 2008 12:03:12 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:59:06 UTC