Closed
Bug 1790401
Opened 3 years ago
Closed 3 years ago
Outgoing WebTransportStream management
Categories
(Core :: Networking, task, P2)
Core
Networking
Tracking
()
RESOLVED
FIXED
108 Branch
| Tracking | Status | |
|---|---|---|
| firefox108 | --- | fixed |
People
(Reporter: kershaw, Assigned: kershaw)
References
(Blocks 1 open bug)
Details
(Whiteboard: [necko-triaged])
Attachments
(1 file)
We will implement the function CreateOutgoingBidirectionalStream and CreateOutgoingUnidirectionalStream in nsIWebTransport interface below.
interface nsIWebTransport {
// When called, perform steps in "Initialization WebTransport over HTTP".
void AsyncConnect(in nsIURI aURI,
in OriginAttributes aOriginAttributes,
in WebTransportSessionEventListener aListener);
// Asynchronously get states.
void GetStats();
// Close the session.
void CloseSession(in uint32_t aErrorCode,
in ACString aReason);
// Create and open a new WebTransport stream. The function requires
// the nsIWebTransportStreamCallback parameter. The result will be
// delivered via the callback.
void CreateOutgoingBidirectionalStream(in nsIWebTransportStreamCallback aCallback);
void CreateOutgoingUnidirectionalStream(in nsIWebTransportStreamCallback aCallback);
bool SendDatagram(in AUTF8String aDatagram);
};
// This interface is used as a callback when creating an outgoing
// unidirectional or bidirectional stream.
interface nsIWebTransportStreamCallback {
void OnStreamReady(in nsIWebTransportSendStream aStream);
void OnError(in uint8_t aError);
};
| Assignee | ||
Updated•3 years ago
|
Assignee: nobody → kershaw
| Assignee | ||
Comment 1•3 years ago
|
||
Pushed by kjang@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/ce2291439b81
Implement the creation of outgoing WebTransport stream, r=necko-reviewers,valentin
Comment 3•3 years ago
|
||
Backed out 2 changesets (Bug 1790401, Bug 1790402) for causing bustages on WebTransportStreamProxy.h.
Backout link
Push with failures <--> Bp-hybrid
Failure Log
Also Bb Failure Log
Flags: needinfo?(kershaw)
| Assignee | ||
Comment 4•3 years ago
|
||
Flags: needinfo?(kershaw)
Pushed by kjang@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/1c84926b18f8
Implement the creation of outgoing WebTransport stream, r=necko-reviewers,valentin
Pushed by ctuns@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/022dc09c27b1
static_cast<uint32_t> an nsresult formated to hex with PRIx32 to fix build bustage with gcc -Werror=format=
Comment 7•3 years ago
|
||
| bugherder | ||
https://hg.mozilla.org/mozilla-central/rev/1c84926b18f8
https://hg.mozilla.org/mozilla-central/rev/022dc09c27b1
Status: NEW → RESOLVED
Closed: 3 years ago
status-firefox108:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 108 Branch
You need to log in
before you can comment on or make changes to this bug.
Description
•