W3C home > Mailing lists > Public > ietf-http-wg@w3.org > April to June 2009

HTTP over SCTP without chunked encoding

From: <leighton@mail.eecis.udel.edu>
Date: Thu, 02 Apr 2009 00:58:11 +0000
Message-ID: <54271.173.75.209.15.1238633853.squirrel@webmail.eecis.udel.edu>
To: ietf-http-wg@w3.org
Cc: fred@cisco.com, amer@cis.udel.edu, prenatar@cisco.com
At the recent HTTP WG meeting the subject of HTTP over SCTP was discussed,
and in particular the question was raised as to whether or not SCTP could
be used to avoid chunked encoding.  There are two ways to do this, but one
of them (EXPLICIT_EOR socket option) conflicts with current thinking about
how best to send HTTP over multiple SCTP streams.  The other approach is
to use the payload protocol identified or PPID.

The PPID is an optional value that is set by the sender and read by the
receiver.  The approach would be to define two PPID values (allocated by
IANA), say HTTP_MESSAGE_PIECE and HTTP_MESSAGE_END.  The sender would set
the PPID to HTTP_MESSAGE_END for the last sctp_sendmsg() call for the
current HTTP object, thereby allowing the receiver to identify the end of
the current HTTP object.

I'm far from being an expert in HTTP, and I would be grateful for feedback
on the suitability of this mechanism.  Thanks very much.

- Jon Leighton
Received on Thursday, 2 April 2009 07:48:34 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 27 April 2012 06:51:02 GMT