W3C home > Mailing lists > Public > www-svg@w3.org > May 2006

Re: [SVGMobile12] Connection::send error handling

From: Robin Berjon <robin.berjon@expway.fr>
Date: Tue, 9 May 2006 18:24:20 +0200
Message-Id: <DBDD9317-0F22-4A82-8AA0-C4CD1A77C3B5@expway.fr>
Cc: www-svg <www-svg@w3.org>
To: T Rowley <tor@cs.brown.edu>

Hi Tim,

> Section A.6.3 defines the Connection object, and only gives one error
> condition for send() - attempting to send over an unopened or closed
> connection.  For all other calls to send() it says that the data  
> must be
> queued.  To prevent a possible denial of service attack an
> implementation must be able to refuse queueing if necessary.  The
> expected behavior for this should be specified (must the entire  
> message
> be dropped, or just a portion; and how should this be communicated to
> the caller?).

This section has been reworked such that send may limit its queue  
size, and if exceeded that will cause the queue to be discarded, the  
connection to be closed, and a GlobalException with code DENIED_ERR  
to be raised.

Thank you for your comments, please let us know shortly if this does  
not address your comments,

-- 
Robin Berjon
    Senior Research Scientist
    Expway, http://expway.com/
Received on Tuesday, 9 May 2006 16:24:14 GMT

This archive was generated by hypermail 2.3.1 : Friday, 8 March 2013 15:54:34 GMT