зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1734198 - Close transactions with NS_ERROR_NET_RESET if a stateless reset is received on a HTTP/3 connection. r=necko-reviewers,valentin
This is an appropriate error to set and it may cause transactions to be restarted if possible (e.g. no data has been received already and the method is safe). Differential Revision: https://phabricator.services.mozilla.com/D127877
This commit is contained in:
Родитель
fede2312c1
Коммит
4aff9977b4
|
@ -254,6 +254,8 @@ void Http3Session::Shutdown() {
|
|||
stream->Close(NS_ERROR_NET_PARTIAL_TRANSFER);
|
||||
} else if (mError == NS_ERROR_NET_HTTP3_PROTOCOL_ERROR) {
|
||||
stream->Close(NS_ERROR_NET_HTTP3_PROTOCOL_ERROR);
|
||||
} else if (mError == NS_ERROR_NET_RESET) {
|
||||
stream->Close(NS_ERROR_NET_RESET);
|
||||
} else {
|
||||
stream->Close(NS_ERROR_ABORT);
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче