Hello,
In my opinion, it is a mistake to add STCP stream numbers to input
stream interfaces. Why not store the stream ID somewhere near socket
transports? That way, a socket transport (or a new class SCTPTransport
perhaps?) would belong to a single stream in a SCTP stream. Multiple
SCTP transports could belong to the same underlying socket.
Does that make sense?
Another possibility might be to provide the stream ID to
open{In,Out}putStream.
Hmm... Since I have limited knowledge on the relationship between
nsHttpTransaction and nsITransport/ns{In/Out}putStream, I would like to
make sure the following: Will each nsHttpTransaction end up having a
separate SCTPTransport (case 1) or separate {In,Out}putStream (case 2)?
If yes, which of the above 2 possibilities will be easier to implement?
Thanks,
Preethi
_______________________________________________
dev-tech-network mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-tech-network