mirror of https://github.com/grpc/grpc-dart.git
Avoid sending headers as trailers twice (#244)
This commit is contained in:
parent
e70ea6f2d0
commit
588c21e542
|
@ -1,3 +1,7 @@
|
||||||
|
## 2.1.3
|
||||||
|
|
||||||
|
* Fix a state bug in the server.
|
||||||
|
|
||||||
## 2.1.2
|
## 2.1.2
|
||||||
|
|
||||||
* Fix bug introduced in 2.1.1 where the port would be added to the default authority when making a
|
* Fix bug introduced in 2.1.1 where the port would be added to the default authority when making a
|
||||||
|
@ -5,7 +9,7 @@
|
||||||
|
|
||||||
## 2.1.1
|
## 2.1.1
|
||||||
|
|
||||||
* Fix bug introduced in 2.1.0 where an explicit `authority` would not be used when making a secure
|
* Fix bug introduced in 2.1.0 where an explicit `authority` would not be used when making a secure
|
||||||
connection.
|
connection.
|
||||||
|
|
||||||
## 2.1.0
|
## 2.1.0
|
||||||
|
|
|
@ -283,6 +283,7 @@ class ServerHandler_ extends ServiceCall {
|
||||||
_customHeaders..remove(':status')..remove('content-type');
|
_customHeaders..remove(':status')..remove('content-type');
|
||||||
outgoingTrailersMap.addAll(_customHeaders);
|
outgoingTrailersMap.addAll(_customHeaders);
|
||||||
_customHeaders = null;
|
_customHeaders = null;
|
||||||
|
_headersSent = true;
|
||||||
}
|
}
|
||||||
_customTrailers..remove(':status')..remove('content-type');
|
_customTrailers..remove(':status')..remove('content-type');
|
||||||
outgoingTrailersMap.addAll(_customTrailers);
|
outgoingTrailersMap.addAll(_customTrailers);
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
name: grpc
|
name: grpc
|
||||||
description: Dart implementation of gRPC, a high performance, open-source universal RPC framework.
|
description: Dart implementation of gRPC, a high performance, open-source universal RPC framework.
|
||||||
|
|
||||||
version: 2.1.2
|
version: 2.1.3
|
||||||
|
|
||||||
author: Dart Team <misc@dartlang.org>
|
author: Dart Team <misc@dartlang.org>
|
||||||
homepage: https://github.com/dart-lang/grpc-dart
|
homepage: https://github.com/dart-lang/grpc-dart
|
||||||
|
|
Loading…
Reference in New Issue