Skip to content

Commit 614dd0f

Browse files
authored
Use mark-closed instead of close-X. (#137)
1 parent c88c48e commit 614dd0f

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,9 @@ jobs:
1212
os: [ ubuntu-latest, windows-latest, macos-latest ]
1313
# The versions should contain (at least) the lowest requirement
1414
# and a version that is more up to date.
15-
toit-version: [ v2.0.0-alpha.144, latest ]
15+
toit-version: [ v2.0.0-alpha.145, latest ]
1616
include:
17-
- toit-version: v2.0.0-alpha.144
17+
- toit-version: v2.0.0-alpha.145
1818
version-name: old
1919
- toit-version: latest
2020
version-name: new

package.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
name: http
22
description: An HTTP server and client.
33
environment:
4-
sdk: ^2.0.0-alpha.144
4+
sdk: ^2.0.0-alpha.145

src/server.toit

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -262,7 +262,7 @@ class ResponseWriter extends Object with io.OutMixin:
262262
user's router did not call it.
263263
*/
264264
close -> none:
265-
close_writer_
265+
mark_writer-closed_
266266
if body_writer_:
267267
too_little := content_length_ ? (body_writer_.processed < content_length_) : false
268268
body_writer_.close

0 commit comments

Comments
 (0)