2.0.0-alpha.18
This commit is contained in:
parent
1f83c4acb2
commit
f1d3808828
3 changed files with 10 additions and 4 deletions
|
@ -1,3 +1,8 @@
|
||||||
|
# 2.0.0-alpha.18
|
||||||
|
* Upgrade `http2` dependency.
|
||||||
|
* Upgrade `uuid` dependency.
|
||||||
|
* Fixed a bug that prevented body parsing from ever completing with `http2`.
|
||||||
|
|
||||||
# 2.0.0-alpha.17
|
# 2.0.0-alpha.17
|
||||||
* Revert the migration to `lumberjack` for now. In the future, when it's more
|
* Revert the migration to `lumberjack` for now. In the future, when it's more
|
||||||
stable, there'll be a conversion, perhaps.
|
stable, there'll be a conversion, perhaps.
|
||||||
|
|
|
@ -112,6 +112,7 @@ class Http2RequestContext extends RequestContext<ServerTransportStream> {
|
||||||
}
|
}
|
||||||
}, onDone: () {
|
}, onDone: () {
|
||||||
finalize();
|
finalize();
|
||||||
|
req._body.close();
|
||||||
}, cancelOnError: true, onError: c.completeError);
|
}, cancelOnError: true, onError: c.completeError);
|
||||||
|
|
||||||
// Apply session
|
// Apply session
|
||||||
|
@ -119,7 +120,7 @@ class Http2RequestContext extends RequestContext<ServerTransportStream> {
|
||||||
cookies.firstWhere((c) => c.name == 'DARTSESSID', orElse: () => null);
|
cookies.firstWhere((c) => c.name == 'DARTSESSID', orElse: () => null);
|
||||||
|
|
||||||
if (dartSessId == null) {
|
if (dartSessId == null) {
|
||||||
dartSessId = new Cookie('DARTSESSID', uuid.v4() as String);
|
dartSessId = new Cookie('DARTSESSID', uuid.v4());
|
||||||
}
|
}
|
||||||
|
|
||||||
req._session = sessions.putIfAbsent(
|
req._session = sessions.putIfAbsent(
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
name: angel_framework
|
name: angel_framework
|
||||||
version: 2.0.0-alpha.17
|
version: 2.0.0-alpha.18
|
||||||
description: A high-powered HTTP server with dependency injection, routing and much more.
|
description: A high-powered HTTP server with dependency injection, routing and much more.
|
||||||
author: Tobe O <thosakwe@gmail.com>
|
author: Tobe O <thosakwe@gmail.com>
|
||||||
homepage: https://github.com/angel-dart/angel_framework
|
homepage: https://github.com/angel-dart/angel_framework
|
||||||
|
@ -15,7 +15,7 @@ dependencies:
|
||||||
file: ^5.0.0
|
file: ^5.0.0
|
||||||
http_parser: ^3.0.0
|
http_parser: ^3.0.0
|
||||||
http_server: ^0.9.0
|
http_server: ^0.9.0
|
||||||
http2: ">=0.1.7 <2.0.0"
|
http2: "^1.0.0"
|
||||||
logging: ">=0.11.3 <1.0.0"
|
logging: ">=0.11.3 <1.0.0"
|
||||||
matcher: ^0.12.0
|
matcher: ^0.12.0
|
||||||
merge_map: ^1.0.0
|
merge_map: ^1.0.0
|
||||||
|
@ -25,7 +25,7 @@ dependencies:
|
||||||
path: ^1.0.0
|
path: ^1.0.0
|
||||||
stack_trace: ^1.0.0
|
stack_trace: ^1.0.0
|
||||||
tuple: ^1.0.0
|
tuple: ^1.0.0
|
||||||
uuid: ^1.0.0
|
uuid: ^2.0.0-rc.1
|
||||||
dev_dependencies:
|
dev_dependencies:
|
||||||
http: ^0.11.3
|
http: ^0.11.3
|
||||||
io: ^0.3.0
|
io: ^0.3.0
|
||||||
|
|
Loading…
Reference in a new issue