diff options
author | Loïc Hoguin <[email protected]> | 2025-06-25 11:47:25 +0200 |
---|---|---|
committer | Loïc Hoguin <[email protected]> | 2025-06-25 11:47:25 +0200 |
commit | a8c717718a3f4dd7b4bc67fe7bebe3a4e7a7ed74 (patch) | |
tree | 0d5dc7317c2913881444c5f1a2d2a1a2eb78b792 /src/cowboy_webtransport.erl | |
parent | 5ec0eeb4d43b83f5cfbc20081644116e44f9eaad (diff) | |
download | cowboy-master.tar.gz cowboy-master.tar.bz2 cowboy-master.zip |
WEBTRANSPORT -> WT in most places. Only ENABLE_WEBTRANSPORT
remains (since it is a draft-02 setting that was later removed)
as well as internal functions and atoms about stream headers,
for greater clarity.
The draft also clarified that WT_SESSION_GONE can be sent on
the session stream and since it's what is already done a
related todo was removed.
Diffstat (limited to 'src/cowboy_webtransport.erl')
-rw-r--r-- | src/cowboy_webtransport.erl | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/cowboy_webtransport.erl b/src/cowboy_webtransport.erl index fa1837c..8c8ca39 100644 --- a/src/cowboy_webtransport.erl +++ b/src/cowboy_webtransport.erl @@ -20,7 +20,7 @@ %% HTTP/3: %% - SETTINGS_H3_DATAGRAM = 1 %% - SETTINGS_ENABLE_CONNECT_PROTOCOL = 1 -%% - SETTINGS_WEBTRANSPORT_MAX_SESSIONS >= 1 +%% - SETTINGS_WT_MAX_SESSIONS >= 1 %% Cowboy supports versions 07 through 13 of the WebTransport drafts. %% Cowboy also has some compatibility with version 02. @@ -239,10 +239,10 @@ commands([Command={send, _, _}|Tail], State, Res, Acc) -> %% {send, StreamID, IsFin, Data}. commands([Command={send, _, _, _}|Tail], State, Res, Acc) -> commands(Tail, State, Res, [Command|Acc]); -%% initiate_close - DRAIN_WEBTRANSPORT_SESSION +%% initiate_close - DRAIN_WT_SESSION commands([Command=initiate_close|Tail], State, Res, Acc) -> commands(Tail, State, Res, [Command|Acc]); -%% close | {close, Code} | {close, Code, Msg} - CLOSE_WEBTRANSPORT_SESSION +%% close | {close, Code} | {close, Code, Msg} - CLOSE_WT_SESSION %% @todo At this point the handler must not issue stream or send commands. commands([Command=close|Tail], State, _, Acc) -> commands(Tail, State, stop, [Command|Acc]); |