Am Montag 16 Oktober 2006 19:44 schrieb Hendrik Sattler: > Am Montag 16 Oktober 2006 17:33 schrieb Christian W. Zuckschwerdt: > > I did some more research with this issue and came to this conclusion: > > When an OBEX request is split into a number of packets headers are not > > to be repeated. Headers are defined on the level of requests. > > > > Section 3.6.1 reads "This type of multiplexing only requires one OBEX > > parser because the multiplexing occurs above the parser." That way the > > state information inside the openobex parser should not include any > > connection id. > > Also section 2.1 reads "The behavior by the recipient of multiple > > non-Body headers is not defined by the protocol." And then 2.2.11 > > explicitly says "Only the first packet in the request needs to contain > > the Connection Id header. As a result, only one request can be processed > > at a time." > > I am afraid that you are wrong here. Take a look at chapter 4.6 for > directed connections. The state > "Once a directed connection is established, the client can direct > operations to the same service by simply including the Connection Id header > in each request." > > "request" is the thing to think about here. In the examples in chapter 7, a > request is also each body part and the end-of-body part.
The examples in the spec are just not useful enough, lazy writers: one request seems to be all packets associated with a specific command, e.g. a put. So I revert my opinion but I can understand developers that get confused by this wording :-/ HS ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Openobex-users mailing list [email protected] http://lists.sourceforge.net/lists/listinfo/openobex-users
