Treat trailers as end of incoming messages

This commit is contained in:
murgatroid99 2019-11-15 12:51:43 -08:00
parent 2d73ed263d
commit 90ce40f91c
1 changed files with 1 additions and 0 deletions

View File

@ -315,6 +315,7 @@ export class Http2CallStream implements Call {
}
private handleTrailers(headers: http2.IncomingHttpHeaders) {
this.readsClosed = true;
const code: Status = this.mappedStatusCode;
const details = '';
let metadata: Metadata;